Kaydet (Commit) 9c0ba0ba authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: Unreachable code

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

Change-Id: I9600571bef2a8cc30b2e28dd52b01633bab55f32
üst 4775a2b0
......@@ -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
}
//=========================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment