[Libreoffice-commits] .: sdext/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Feb 26 05:37:48 PST 2011


 sdext/source/pdfimport/pdfparse/pdfentries.cxx |    6 +++++-
 sdext/source/pdfimport/pdfparse/pdfparse.cxx   |    4 +++-
 sdext/source/pdfimport/test/pdfunzip.cxx       |    6 +++++-
 sdext/source/pdfimport/tree/style.cxx          |    4 +++-
 4 files changed, 16 insertions(+), 4 deletions(-)

New commits:
commit 976bcec5839bf78268cfc335007529be441ff739
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Feb 26 14:35:17 2011 +0100

    Remove "using namespace ::rtl"

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() :


More information about the Libreoffice-commits mailing list