sdext: clean up some pointless #ifdefs

Change-Id: Ic23c0ccc45d7a98b3581feab43fc4c8c8aef9013
This commit is contained in:
Michael Stahl 2013-12-05 12:12:34 +01:00
parent ab27cf774e
commit de45a49273

View file

@ -68,11 +68,11 @@ sal_Bool SAL_CALL PDFIHybridAdaptor::filter( const uno::Sequence< beans::Propert
sal_Int32 nPwPos = -1;
for( sal_Int32 i = 0; i < nAttribs; i++ )
{
#if OSL_DEBUG_LEVEL > 1
OUString aVal( "<no string>" );
pAttribs[i].Value >>= aVal;
SAL_INFO("sdext.pdfimport", "filter: Attrib: " << pAttribs[i].Name << " = " << aVal << "\n");
#endif
SAL_INFO("sdext.pdfimport", "filter: Attrib: " << pAttribs[i].Name
<< " = " << (pAttribs[i].Value.has<OUString>()
? pAttribs[i].Value.get<OUString>()
: OUString("<no string>"))
<< "\n");
if ( pAttribs[i].Name == "EmbeddedSubstream" )
pAttribs[i].Value >>= xSubStream;
else if ( pAttribs[i].Name == "Password" )
@ -178,15 +178,11 @@ sal_Bool SAL_CALL PDFIHybridAdaptor::filter( const uno::Sequence< beans::Propert
bRet = xSubFilter->filter( rFilterData );
}
}
#if OSL_DEBUG_LEVEL > 1
else
SAL_INFO("sdext.pdfimport", "PDFIAdaptor::filter: no embedded substream set" );
#endif
}
#if OSL_DEBUG_LEVEL > 1
else
SAL_INFO("sdext.pdfimport", "PDFIAdaptor::filter: no model set" );
#endif
return bRet;
}