diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /sdext/source/pdfimport/pdfparse | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'sdext/source/pdfimport/pdfparse')
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfentries.cxx | 12 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfparse.cxx | 8 |
2 files changed, 7 insertions, 13 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index 4ce780455f45..b9120ed4a077 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -38,10 +38,6 @@ #include <stdio.h> #include <string.h> -using ::rtl::OUString; -using ::rtl::OString; -using ::rtl::OStringHash; -using ::rtl::OStringBuffer; namespace pdfparse @@ -350,7 +346,7 @@ PDFNumber::~PDFNumber() bool PDFNumber::emit( EmitContext& rWriteContext ) const { - rtl::OStringBuffer aBuf( 32 ); + OStringBuffer aBuf( 32 ); aBuf.append( ' ' ); double fValue = m_fValue; @@ -998,7 +994,7 @@ bool PDFTrailer::emit( EmitContext& rWriteContext ) const return false; if( ! rWriteContext.write( "startxref\n", 10 ) ) return false; - rtl::OString aOffset( rtl::OString::valueOf( sal_Int32(nXRefPos) ) ); + OString aOffset( OString::valueOf( sal_Int32(nXRefPos) ) ); if( ! rWriteContext.write( aOffset.getStr(), aOffset.getLength() ) ) return false; return rWriteContext.write( "\n%%EOF\n", 7 ); @@ -1277,9 +1273,9 @@ bool PDFFile::setupDecryptionData( const OString& rPwd ) const return bValid; } -rtl::OUString PDFFile::getDecryptionKey() const +OUString PDFFile::getDecryptionKey() const { - rtl::OUStringBuffer aBuf( ENCRYPTION_KEY_LEN * 2 ); + OUStringBuffer aBuf( ENCRYPTION_KEY_LEN * 2 ); if( impl_getData()->m_bIsEncrypted ) { for( sal_uInt32 i = 0; i < m_pData->m_nKeyLength; i++ ) diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index 9d68e43be524..b50e60e10303 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -47,8 +47,6 @@ using namespace boost::spirit; using namespace pdfparse; -using ::rtl::OString; -using ::rtl::OStringBuffer; class StringEmitContext : public EmitContext { @@ -94,7 +92,7 @@ public: double m_fDouble; std::vector< unsigned int > m_aUIntStack; std::vector< PDFEntry* > m_aObjectStack; - rtl::OString m_aErrorString; + OString m_aErrorString; iteratorT m_aGlobalBegin; public: @@ -279,9 +277,9 @@ public: throw_( pLocation, pMessage ); } - rtl::OString iteratorToString( iteratorT first, iteratorT last ) const + OString iteratorToString( iteratorT first, iteratorT last ) const { - rtl::OStringBuffer aStr( 32 ); + OStringBuffer aStr( 32 ); while( first != last ) { aStr.append( *first ); |