diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-02-26 14:35:17 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-02-26 14:36:27 +0100 |
commit | 490d076d1650cb8db6677b7a60ea02ffb332c117 (patch) | |
tree | b415320695cbf784a82f8e06e7dbc1898e875b00 /sdext | |
parent | 621e92d1a990b11b3b96fe513566658feaaa3e65 (diff) |
Remove "using namespace ::rtl"
Diffstat (limited to 'sdext')
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfentries.cxx | 6 | ||||
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfparse.cxx | 4 | ||||
-rw-r--r-- | sdext/source/pdfimport/test/pdfunzip.cxx | 6 | ||||
-rw-r--r-- | sdext/source/pdfimport/tree/style.cxx | 4 |
4 files changed, 16 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx index d0d4bb787d90..a763fcb1e079 100644 --- a/sdext/source/pdfimport/pdfparse/pdfentries.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfentries.cxx @@ -48,7 +48,11 @@ #include <stdio.h> -using namespace rtl; +using ::rtl::OUString; +using ::rtl::OString; +using ::rtl::OStringHash; +using ::rtl::OStringBuffer; + namespace pdfparse { diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index 0c5216596e0c..6baf0d953fce 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -57,9 +57,11 @@ #endif using namespace boost::spirit; -using namespace rtl; using namespace pdfparse; +using ::rtl::OString; +using ::rtl::OStringBuffer; + class StringEmitContext : public EmitContext { OStringBuffer m_aBuf; diff --git a/sdext/source/pdfimport/test/pdfunzip.cxx b/sdext/source/pdfimport/test/pdfunzip.cxx index ccef94d382f5..e14ca69b6381 100644 --- a/sdext/source/pdfimport/test/pdfunzip.cxx +++ b/sdext/source/pdfimport/test/pdfunzip.cxx @@ -39,9 +39,13 @@ #include "pdfparse.hxx" -using namespace rtl; using namespace pdfparse; +using ::rtl::OUString; +using ::rtl::OString; +using ::rtl::OStringBuffer; +using ::rtl::OStringToOUString; + void printHelp( const char* pExe ) { fprintf( stdout, diff --git a/sdext/source/pdfimport/tree/style.cxx b/sdext/source/pdfimport/tree/style.cxx index 9f73a468d57a..6fc191c72ab8 100644 --- a/sdext/source/pdfimport/tree/style.cxx +++ b/sdext/source/pdfimport/tree/style.cxx @@ -37,9 +37,11 @@ #include <algorithm> -using namespace rtl; using namespace pdfi; +using ::rtl::OUString; +using ::rtl::OUStringBuffer; + #define USTR(x) rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( x ) ) StyleContainer::StyleContainer() : |