WaE: Unreachable code
This time noticed by the linker when doing link-time code generation (!). Change-Id: I9600571bef2a8cc30b2e28dd52b01633bab55f32
This commit is contained in:
@@ -1049,9 +1049,11 @@ sal_Bool Content::isFolder()
|
|||||||
get() ) ),
|
get() ) ),
|
||||||
m_xImpl->getEnvironment() );
|
m_xImpl->getEnvironment() );
|
||||||
|
|
||||||
|
#if !(defined(_MSC_VER) && defined(ENABLE_LTO))
|
||||||
// Unreachable - cancelCommandExecution always throws an exception.
|
// Unreachable - cancelCommandExecution always throws an exception.
|
||||||
// But some compilers complain...
|
// But some compilers complain...
|
||||||
return sal_False;
|
return sal_False;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
@@ -1070,9 +1072,11 @@ sal_Bool Content::isDocument()
|
|||||||
get() ) ),
|
get() ) ),
|
||||||
m_xImpl->getEnvironment() );
|
m_xImpl->getEnvironment() );
|
||||||
|
|
||||||
|
#if !(defined(_MSC_VER) && defined(ENABLE_LTO))
|
||||||
// Unreachable - cancelCommandExecution always throws an exception,
|
// Unreachable - cancelCommandExecution always throws an exception,
|
||||||
// But some compilers complain...
|
// But some compilers complain...
|
||||||
return sal_False;
|
return sal_False;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
Reference in New Issue
Block a user