summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-12-05 12:12:34 +0100
committerMichael Stahl <mstahl@redhat.com>2013-12-05 13:00:26 +0100
commitde45a49273542c9046e0cfc2b75c863573eb6c38 (patch)
tree91a2ffe0d00ee08f3a50b6f598cf6d6d46514e3e /sdext
parentab27cf774edc3c27c2be181e1cb1a67a4551536f (diff)
sdext: clean up some pointless #ifdefs
Change-Id: Ic23c0ccc45d7a98b3581feab43fc4c8c8aef9013
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfiadaptor.cxx14
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;
}