summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-26 14:35:17 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-26 14:36:27 +0100
commit976bcec5839bf78268cfc335007529be441ff739 (patch)
treeb5a689d9b0a14b7e652736d36bee50f20720befc /sdext
parentf47a542835233341b17b9bad015fe6da3c47ab3f (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfentries.cxx6
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx4
-rw-r--r--sdext/source/pdfimport/test/pdfunzip.cxx6
-rw-r--r--sdext/source/pdfimport/tree/style.cxx4
4 files changed, 16 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfentries.cxx b/sdext/source/pdfimport/pdfparse/pdfentries.cxx
index 2f2ab9c..a207ba7 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 00bfcc5..f72f132 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 743e2c5..be5065c 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 823c202..7ec096b 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() :