diff options
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/source/client/content.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ucbhelper/source/client/content.cxx b/ucbhelper/source/client/content.cxx index 8d01366d3ffc..887658755be8 100644 --- a/ucbhelper/source/client/content.cxx +++ b/ucbhelper/source/client/content.cxx @@ -21,6 +21,7 @@ #include <cassert> +#include <o3tl/unreachable.hxx> #include <osl/diagnose.h> #include <osl/mutex.hxx> #include <sal/log.hxx> @@ -1013,11 +1014,7 @@ bool Content::isFolder() get() ) ), m_xImpl->getEnvironment() ); -#if !(defined(_MSC_VER) && defined(ENABLE_LTO)) - // Unreachable - cancelCommandExecution always throws an exception. - // But some compilers complain... - return false; -#endif + O3TL_UNREACHABLE; } |