WaE: Unreachable code

This time noticed by the linker when doing link-time code generation (!).

Change-Id: I9600571bef2a8cc30b2e28dd52b01633bab55f32
This commit is contained in:
Tor Lillqvist
2013-09-03 23:51:32 +03:00
parent 4775a2b0fb
commit 9c0ba0ba41

View File

@@ -1049,9 +1049,11 @@ sal_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 sal_False;
#endif
}
//=========================================================================
@@ -1070,9 +1072,11 @@ 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
}
//=========================================================================