diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-12-05 12:12:34 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-12-05 13:00:26 +0100 |
commit | de45a49273542c9046e0cfc2b75c863573eb6c38 (patch) | |
tree | 91a2ffe0d00ee08f3a50b6f598cf6d6d46514e3e /sdext | |
parent | Fix fallout from 461e0f9eaf9895ecd0eba67b35a4d2cec8a5e5c5 (diff) | |
download | core-de45a49273542c9046e0cfc2b75c863573eb6c38.tar.gz core-de45a49273542c9046e0cfc2b75c863573eb6c38.zip |
sdext: clean up some pointless #ifdefs
Change-Id: Ic23c0ccc45d7a98b3581feab43fc4c8c8aef9013
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/pdfiadaptor.cxx | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx index b1419af68639..3ac732c318cb 100644 --- a/sdext/source/pdfimport/pdfiadaptor.cxx +++ b/sdext/source/pdfimport/pdfiadaptor.cxx @@ -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; } |