Kaydet (Commit) cecd77cb authored tarafından Michael Stahl's avatar Michael Stahl

warning C4702: unreachable code

Change-Id: Ie5fe1348ed325b9de4af9e17846470fdc31067d7
üst e69615cc
......@@ -343,10 +343,9 @@ sal_Bool SAL_CALL SdStyleFamily::hasElements() throw(RuntimeException, std::exce
else
{
SfxStyleSheetIteratorPtr aSSSIterator = boost::make_shared<SfxStyleSheetIterator>(mxPool.get(), mnFamily);
for ( SfxStyleSheetBase* pStyle = aSSSIterator->First(); pStyle;
pStyle = aSSSIterator->Next() )
if (aSSSIterator->First())
{
return sal_True;
return sal_True;
}
}
......
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