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

warning C4702: unreachable code

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