diff options
-rw-r--r-- | ucbhelper/source/client/content.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index 850f56eef7b1..e36207b1c25b 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -1057,6 +1057,9 @@ sal_Bool Content::isFolder() } //========================================================================= + +SAL_WNOUNREACHABLE_CODE_PUSH + sal_Bool Content::isDocument() throw( CommandAbortedException, RuntimeException, Exception ) { @@ -1072,13 +1075,13 @@ sal_Bool Content::isDocument() get() ) ), m_xImpl->getEnvironment() ); -#if !(defined(_MSC_VER) && defined(ENABLE_LTO)) // Unreachable - cancelCommandExecution always throws an exception, // But some compilers complain... return sal_False; -#endif } +SAL_WNOUNREACHABLE_CODE_POP + //========================================================================= //========================================================================= // |