diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-01-11 23:16:58 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2026-01-11 23:16:58 +0900 |
| commit | ce818c16a5aebe334dfb50ae6c81f5cdb4b97fd9 (patch) | |
| tree | 11b97dcdc0f296cba584eca0a52abab1664e66c7 /kviewshell/plugins/djvu/libdjvu/GThreads.cpp | |
| parent | 53e9d20219775c682bddafbffb2a3e25580eee08 (diff) | |
| download | tdegraphics-remove/no-exception.tar.gz tdegraphics-remove/no-exception.zip | |
Replace __EXCEPTIONS usage with equivalent one using Q_NO_EXCEPTIONSremove/no-exception
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/GThreads.cpp')
| -rw-r--r-- | kviewshell/plugins/djvu/libdjvu/GThreads.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/GThreads.cpp b/kviewshell/plugins/djvu/libdjvu/GThreads.cpp index 2e96d887..3bbe6fb8 100644 --- a/kviewshell/plugins/djvu/libdjvu/GThreads.cpp +++ b/kviewshell/plugins/djvu/libdjvu/GThreads.cpp @@ -661,7 +661,7 @@ GThread::start(void *arg) #endif #endif // Catch exceptions -#ifdef __EXCEPTIONS +#ifndef Q_NO_EXCEPTIONS try { #endif @@ -678,7 +678,7 @@ GThread::start(void *arg) #endif } G_ENDCATCH; -#ifdef __EXCEPTIONS +#ifndef Q_NO_EXCEPTIONS } catch(...) { @@ -1568,7 +1568,7 @@ starttwo(GThread *thr) // an exception context pointer. Therefore // we can register the exception handlers. // It is placed after ``startone'' to avoid inlining. -#ifdef __EXCEPTIONS +#ifndef Q_NO_EXCEPTIONS try { #endif @@ -1585,7 +1585,7 @@ starttwo(GThread *thr) #endif } G_ENDCATCH; -#ifdef __EXCEPTIONS +#ifndef Q_NO_EXCEPTIONS } catch(...) { |
