diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 11:39:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 12:49:25 +0200 |
commit | 05144427303b2aa09108eeb03606fa66da275d2b (patch) | |
tree | e9ae881b44a84f352afdb51b755fb904415737ad /sdext | |
parent | 4930acb18bbd145fd995084cd95e3e9d631424ed (diff) |
no need to use OUStringToOString in SAL_INFO
Change-Id: I707e0d72aba89b7e644def6f4c251e14f6599ad2
Reviewed-on: https://gerrit.libreoffice.org/36451
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/pdfiadaptor.cxx | 2 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfentries.cxx | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sdext/source/pdfimport/pdfiadaptor.cxx b/sdext/source/pdfimport/pdfiadaptor.cxx index ec089db1936d..77a71c1927f9 100644 --- a/sdext/source/pdfimport/pdfiadaptor.cxx +++ b/sdext/source/pdfimport/pdfiadaptor.cxx @@ -294,7 +294,7 @@ sal_Bool SAL_CALL PDFIRawAdaptor::importer( const uno::Sequence< beans::Property sal_Int32 nAttribs = rSourceData.getLength(); for( sal_Int32 i = 0; i < nAttribs; i++, pAttribs++ ) { - SAL_INFO("sdext.pdfimport","importer Attrib: " << OUStringToOString( pAttribs->Name, RTL_TEXTENCODING_UTF8 ).getStr() ); + SAL_INFO("sdext.pdfimport", "importer Attrib: " << pAttribs->Name ); if ( pAttribs->Name == "InputStream" ) pAttribs->Value >>= xInput; else if ( pAttribs->Name == "URL" ) diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 956327c1a915..732484fa0eb1 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -1290,7 +1290,7 @@ PDFFileImplData* PDFFile::impl_getData() const OUString aTmp; for( int i = 0; i < m_pData->m_aDocID.getLength(); i++ ) aTmp += OUString::number((unsigned int)sal_uInt8(m_pData->m_aDocID[i]), 16); - SAL_INFO("sdext.pdfimport.pdfparse", "DocId is <" << OUStringToOString(aTmp, RTL_TEXTENCODING_UTF8).getStr() << ">"); + SAL_INFO("sdext.pdfimport.pdfparse", "DocId is <" << aTmp << ">"); #endif } } @@ -1355,7 +1355,7 @@ PDFFileImplData* PDFFile::impl_getData() const for( int i = 0; i < aEnt.getLength(); i++ ) aTmp += " " + OUString::number((unsigned int)sal_uInt8(aEnt[i]), 16); SAL_WARN("sdext.pdfimport.pdfparse", - "O entry has length " << (int)aEnt.getLength() << ", should be 32 <" << OUStringToOString(aTmp, RTL_TEXTENCODING_UTF8).getStr() << ">" ); + "O entry has length " << (int)aEnt.getLength() << ", should be 32 <" << aTmp << ">" ); } #endif } @@ -1375,7 +1375,7 @@ PDFFileImplData* PDFFile::impl_getData() const for( int i = 0; i < aEnt.getLength(); i++ ) aTmp += " " + OUString::number((unsigned int)sal_uInt8(aEnt[i]), 16); SAL_WARN("sdext.pdfimport.pdfparse", - "U entry has length " << (int)aEnt.getLength() << ", should be 32 <" << OUStringToOString(aTmp, RTL_TEXTENCODING_UTF8).getStr() << ">" ); + "U entry has length " << (int)aEnt.getLength() << ", should be 32 <" << aTmp << ">" ); } #endif } @@ -1394,7 +1394,7 @@ PDFFileImplData* PDFFile::impl_getData() const SAL_INFO("sdext.pdfimport.pdfparse", "p entry is " << m_pData->m_nPEntry ); } - SAL_INFO("sdext.pdfimport.pdfparse", "Encryption dict: sec handler: " << (pFilter ? OUStringToOString( pFilter->getFilteredName(), RTL_TEXTENCODING_UTF8 ).getStr() : "<unknown>") << ", version = " << (int)m_pData->m_nAlgoVersion << ", revision = " << (int)m_pData->m_nStandardRevision << ", key length = " << m_pData->m_nKeyLength ); + SAL_INFO("sdext.pdfimport.pdfparse", "Encryption dict: sec handler: " << (pFilter ? pFilter->getFilteredName() : OUString("<unknown>")) << ", version = " << (int)m_pData->m_nAlgoVersion << ", revision = " << (int)m_pData->m_nStandardRevision << ", key length = " << m_pData->m_nKeyLength ); break; } } |