summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-26 01:34:14 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-26 01:34:14 +0100
commit221b85ed297f7cc4d94f5483828a87c059dd6a14 (patch)
treedd859577770295ba5ed7ba8e3381cf7f16f8eba5 /package/source
parentf31b74fd2ba66c8eeb26369f4ad2f9f9cd3e197f (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'package/source')
-rw-r--r--package/source/manifest/Base64Codec.cxx3
-rw-r--r--package/source/manifest/ManifestExport.cxx4
-rw-r--r--package/source/manifest/ManifestImport.cxx3
-rw-r--r--package/source/zipapi/CRC32.cxx1
-rw-r--r--package/source/zipapi/EntryInputStream.cxx3
-rw-r--r--package/source/zippackage/ZipPackage.cxx4
6 files changed, 12 insertions, 6 deletions
diff --git a/package/source/manifest/Base64Codec.cxx b/package/source/manifest/Base64Codec.cxx
index f3c8152a3fad..cf539d0790c4 100644
--- a/package/source/manifest/Base64Codec.cxx
+++ b/package/source/manifest/Base64Codec.cxx
@@ -31,10 +31,11 @@
#include "Base64Codec.hxx"
#include <rtl/ustrbuf.hxx>
#include <osl/diagnose.h>
-using namespace rtl;
using namespace osl;
using namespace com::sun::star;
+using ::rtl::OUStringBuffer;
+
const
sal_Char aBase64EncodeTable[] =
{ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
diff --git a/package/source/manifest/ManifestExport.cxx b/package/source/manifest/ManifestExport.cxx
index 04316e784c77..edbd0692c4c2 100644
--- a/package/source/manifest/ManifestExport.cxx
+++ b/package/source/manifest/ManifestExport.cxx
@@ -40,11 +40,13 @@
#include <comphelper/documentconstants.hxx>
#include <comphelper/attributelist.hxx>
-using namespace rtl;
using namespace com::sun::star::beans;
using namespace com::sun::star::uno;
using namespace com::sun::star::xml::sax;
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
+
ManifestExport::ManifestExport(Reference < XDocumentHandler > xHandler, const Sequence < Sequence < PropertyValue > > &rManList )
{
const OUString sFileEntryElement ( RTL_CONSTASCII_USTRINGPARAM ( ELEMENT_FILE_ENTRY ) );
diff --git a/package/source/manifest/ManifestImport.cxx b/package/source/manifest/ManifestImport.cxx
index 543a290b5857..58310e5ed116 100644
--- a/package/source/manifest/ManifestImport.cxx
+++ b/package/source/manifest/ManifestImport.cxx
@@ -37,9 +37,10 @@
using namespace com::sun::star::uno;
using namespace com::sun::star::beans;
using namespace com::sun::star;
-using namespace rtl;
using namespace std;
+using ::rtl::OUString;
+
// ---------------------------------------------------
ManifestImport::ManifestImport( vector < Sequence < PropertyValue > > & rNewManVector )
: nNumProperty ( 0 )
diff --git a/package/source/zipapi/CRC32.cxx b/package/source/zipapi/CRC32.cxx
index 9334831ea30c..bea1a3382ccd 100644
--- a/package/source/zipapi/CRC32.cxx
+++ b/package/source/zipapi/CRC32.cxx
@@ -39,7 +39,6 @@
#include <PackageConstants.hxx>
#include <com/sun/star/io/XInputStream.hpp>
-using namespace rtl;
using namespace com::sun::star::uno;
using namespace com::sun::star::io;
diff --git a/package/source/zipapi/EntryInputStream.cxx b/package/source/zipapi/EntryInputStream.cxx
index 99df55c921a1..047f1716e0f5 100644
--- a/package/source/zipapi/EntryInputStream.cxx
+++ b/package/source/zipapi/EntryInputStream.cxx
@@ -34,12 +34,13 @@
#include <rtl/digest.h>
#include <memory.h> // for memcpy
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::uno;
using namespace com::sun::star::packages::zip;
using namespace com::sun::star::packages::zip::ZipConstants;
+using ::rtl::OUString;
+
/** Provides access to the compressed data in a zipfile.
*
* uncompresses the stream into memory and seeks on it 'in memory'
diff --git a/package/source/zippackage/ZipPackage.cxx b/package/source/zippackage/ZipPackage.cxx
index 0b38ff60eaf9..e156150fb9f8 100644
--- a/package/source/zippackage/ZipPackage.cxx
+++ b/package/source/zippackage/ZipPackage.cxx
@@ -84,7 +84,6 @@
#include <comphelper/ofopxmlhelper.hxx>
#include <comphelper/documentconstants.hxx>
-using namespace rtl;
using namespace std;
using namespace osl;
using namespace cppu;
@@ -103,6 +102,9 @@ using namespace com::sun::star::packages::zip;
using namespace com::sun::star::packages::manifest;
using namespace com::sun::star::packages::zip::ZipConstants;
+using ::rtl::OUString;
+using ::rtl::OString;
+
#define LOGFILE_AUTHOR "mg115289"