diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-03-01 22:59:41 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-03-01 22:59:41 +0100 |
commit | 7935ca27998d60cd72e2ac5e90fc1e123711a98a (patch) | |
tree | 7ce5f66f2db8cdc3577995fa7a29e09664255494 | |
parent | bb53243922fe50598412d5d459f9ad7569370e51 (diff) |
Remove "using namespace ::rtl"
-rw-r--r-- | filter/source/flash/impswfdialog.cxx | 3 | ||||
-rw-r--r-- | filter/source/placeware/Base64Codec.cxx | 4 | ||||
-rw-r--r-- | filter/source/placeware/tempfile.cxx | 3 | ||||
-rw-r--r-- | filter/source/placeware/zip.cxx | 3 | ||||
-rw-r--r-- | filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltdialog/typedetectionexport.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltdialog/typedetectionimport.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfileview.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfilterjar.cxx | 4 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltersettingsdialog.cxx | 4 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertabdialog.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertabpagebasic.cxx | 3 | ||||
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertestdialog.cxx | 3 |
13 files changed, 25 insertions, 17 deletions
diff --git a/filter/source/flash/impswfdialog.cxx b/filter/source/flash/impswfdialog.cxx index 66e652347402..86ed934acf3f 100644 --- a/filter/source/flash/impswfdialog.cxx +++ b/filter/source/flash/impswfdialog.cxx @@ -32,10 +32,11 @@ #include "impswfdialog.hxx" #include "impswfdialog.hrc" -using namespace rtl; using namespace com::sun::star::uno; using namespace com::sun::star::beans; +using ::rtl::OUString; + // ---------------- // - ImpPDFDialog - // ---------------- diff --git a/filter/source/placeware/Base64Codec.cxx b/filter/source/placeware/Base64Codec.cxx index 4fef9df67517..435b36cb9b7b 100644 --- a/filter/source/placeware/Base64Codec.cxx +++ b/filter/source/placeware/Base64Codec.cxx @@ -31,10 +31,10 @@ #include "Base64Codec.hxx" #include <rtl/ustrbuf.hxx> #include <osl/diagnose.h> -using namespace rtl; using namespace osl; using namespace com::sun::star; - +using ::rtl::OUString; +using ::rtl::OUStringBuffer; const sal_Char aBase64EncodeTable[] = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', diff --git a/filter/source/placeware/tempfile.cxx b/filter/source/placeware/tempfile.cxx index 6c85817d1da1..f7abd18eebc0 100644 --- a/filter/source/placeware/tempfile.cxx +++ b/filter/source/placeware/tempfile.cxx @@ -131,8 +131,7 @@ oslFileError SAL_CALL my_getTempDirURL( rtl_uString** pustrTempDir ) #include "tempfile.hxx" -using namespace rtl; - +using ::rtl::OUString; TempFile::TempFile( const OUString& rTempFileURL ) :osl::File( rTempFileURL ), maURL( rTempFileURL ) { diff --git a/filter/source/placeware/zip.cxx b/filter/source/placeware/zip.cxx index ca9863e0d61f..8a852c6fc16f 100644 --- a/filter/source/placeware/zip.cxx +++ b/filter/source/placeware/zip.cxx @@ -38,8 +38,7 @@ #include "zip.hxx" #include "zipfile.hxx" -using namespace rtl; - +using ::rtl::OString; /** this struct describes one entry in a zip file */ struct ZipEntry { diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx index b82ec15a9bd3..be367005d217 100644 --- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx +++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx @@ -61,7 +61,6 @@ #include <comphelper/genericpropertyset.hxx> #include <comphelper/propertysetinfo.hxx> -using namespace rtl; using namespace comphelper; using namespace com::sun::star::uno; using namespace com::sun::star::lang; @@ -75,6 +74,8 @@ using namespace com::sun::star::xml::sax; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::task; +using ::rtl::OUString; + #define MAP_LEN(x) x, sizeof(x) - 1 Reference< com::sun::star::frame::XModel > xModel; diff --git a/filter/source/xsltdialog/typedetectionexport.cxx b/filter/source/xsltdialog/typedetectionexport.cxx index a8a0704ff898..4cba0fdc18ab 100644 --- a/filter/source/xsltdialog/typedetectionexport.cxx +++ b/filter/source/xsltdialog/typedetectionexport.cxx @@ -39,13 +39,14 @@ #include <comphelper/attributelist.hxx> -using namespace rtl; using namespace com::sun::star::beans; using namespace com::sun::star::uno; using namespace com::sun::star::io; using namespace com::sun::star::lang; using namespace com::sun::star::xml::sax; +using ::rtl::OUString; + TypeDetectionExporter::TypeDetectionExporter( Reference< XMultiServiceFactory >& xMSF ) : mxMSF( xMSF ) { diff --git a/filter/source/xsltdialog/typedetectionimport.cxx b/filter/source/xsltdialog/typedetectionimport.cxx index d2ec25e7a222..996f72c187d3 100644 --- a/filter/source/xsltdialog/typedetectionimport.cxx +++ b/filter/source/xsltdialog/typedetectionimport.cxx @@ -43,9 +43,10 @@ using namespace com::sun::star::io; using namespace com::sun::star::beans; using namespace com::sun::star::xml::sax; using namespace com::sun::star; -using namespace rtl; using namespace std; +using ::rtl::OUString; + TypeDetectionImporter::TypeDetectionImporter( Reference< XMultiServiceFactory >& xMSF ) : mxMSF(xMSF), sRootNode( RTL_CONSTASCII_USTRINGPARAM( "oor:component-data" ) ), diff --git a/filter/source/xsltdialog/xmlfileview.cxx b/filter/source/xsltdialog/xmlfileview.cxx index f431357cdb27..1dfaf6295a05 100644 --- a/filter/source/xsltdialog/xmlfileview.cxx +++ b/filter/source/xsltdialog/xmlfileview.cxx @@ -54,7 +54,6 @@ #include "xmlfileview.hrc" #include "xmlfilterhelpids.hrc" -using namespace rtl; using namespace osl; using namespace com::sun::star::lang; using namespace com::sun::star::beans; @@ -63,6 +62,8 @@ using namespace com::sun::star::io; using namespace com::sun::star::xml; using namespace com::sun::star::xml::sax; +using ::rtl::OUString; + #define MAX_SYNTAX_HIGHLIGHT 20 #define MAX_HIGHLIGHTTIME 200 diff --git a/filter/source/xsltdialog/xmlfilterjar.cxx b/filter/source/xsltdialog/xmlfilterjar.cxx index 4b6c633ee663..1b168af6c3e0 100644 --- a/filter/source/xsltdialog/xmlfilterjar.cxx +++ b/filter/source/xsltdialog/xmlfilterjar.cxx @@ -57,7 +57,6 @@ #include "typedetectionexport.hxx" #include "typedetectionimport.hxx" -using namespace rtl; using namespace osl; using namespace comphelper; using namespace com::sun::star; @@ -69,6 +68,9 @@ using namespace com::sun::star::container; using namespace com::sun::star::beans; using namespace com::sun::star::io; +using ::rtl::OUString; +using ::rtl::Uri; + XMLFilterJarHelper::XMLFilterJarHelper( Reference< XMultiServiceFactory >& xMSF ) : mxMSF( xMSF ), sVndSunStarPackage( RTL_CONSTASCII_USTRINGPARAM( "vnd.sun.star.Package:" ) ), diff --git a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx index 5d39f4ef907b..3260312e384f 100644 --- a/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltersettingsdialog.cxx @@ -54,7 +54,6 @@ #include "xmlfilterjar.hxx" #include "xmlfilterhelpids.hrc" -using namespace rtl; using namespace osl; using namespace com::sun::star::lang; using namespace com::sun::star::uno; @@ -64,6 +63,9 @@ using namespace com::sun::star::container; using namespace com::sun::star::beans; using namespace com::sun::star::util; +using ::rtl::OUString; +using ::rtl::Uri; + ResMgr* XMLFilterSettingsDialog::mpResMgr = NULL; XMLFilterSettingsDialog::XMLFilterSettingsDialog( Window* pParent, ResMgr& rResMgr, const com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >& rxMSF ) : diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.cxx b/filter/source/xsltdialog/xmlfiltertabdialog.cxx index 32167288c449..ce3c966c83a4 100644 --- a/filter/source/xsltdialog/xmlfiltertabdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltertabdialog.cxx @@ -45,12 +45,13 @@ #include "xmlfiltersettingsdialog.hrc" #include "xmlfilterhelpids.hrc" -using namespace rtl; using namespace com::sun::star::uno; using namespace com::sun::star::container; using namespace com::sun::star::beans; using namespace com::sun::star::lang; +using ::rtl::OUString; + XMLFilterTabDialog::XMLFilterTabDialog( Window *pParent, ResMgr& rResMgr, const Reference< XMultiServiceFactory >& rxMSF, const filter_info_impl* pInfo ) : TabDialog( pParent, ResId( DLG_XML_FILTER_TABDIALOG, rResMgr ) ), mxMSF( rxMSF ), diff --git a/filter/source/xsltdialog/xmlfiltertabpagebasic.cxx b/filter/source/xsltdialog/xmlfiltertabpagebasic.cxx index 024a683d5b64..c9c8e2731096 100644 --- a/filter/source/xsltdialog/xmlfiltertabpagebasic.cxx +++ b/filter/source/xsltdialog/xmlfiltertabpagebasic.cxx @@ -36,8 +36,7 @@ #include "xmlfiltersettingsdialog.hxx" #include "xmlfilterhelpids.hrc" -using namespace rtl; - +using ::rtl::OUString; XMLFilterTabPageBasic::XMLFilterTabPageBasic( Window* pParent, ResMgr& rResMgr ) : TabPage( pParent, ResId( RID_XML_FILTER_TABPAGE_BASIC, rResMgr ) ), maFTFilterName( this, ResId( FT_XML_FILTER_NAME, rResMgr ) ), diff --git a/filter/source/xsltdialog/xmlfiltertestdialog.cxx b/filter/source/xsltdialog/xmlfiltertestdialog.cxx index 63db8e717236..5a4ae1133dad 100644 --- a/filter/source/xsltdialog/xmlfiltertestdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltertestdialog.cxx @@ -60,7 +60,6 @@ #include "xmlfileview.hxx" -using namespace rtl; using namespace utl; using namespace osl; using namespace comphelper; @@ -75,6 +74,8 @@ using namespace com::sun::star::io; using namespace com::sun::star::xml; using namespace com::sun::star::xml::sax; +using ::rtl::OUString; + class GlobalEventListenerImpl : public ::cppu::WeakImplHelper1< com::sun::star::document::XEventListener > { public: |