summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-29 12:03:33 +0200
committerNoel Grandin <noelgrandin@gmail.com>2014-10-29 11:28:54 +0000
commit0371a6336582aea9574d1f8e6ae152ef3f95ac62 (patch)
tree06cc3b234b45ee5a5cb72387068adae84226ce9b /svx
parentb9f080e012d0e4f5343da940079c20d3f9c63513 (diff)
remove unnecessary 'using namespace rtl' declarations
It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/AccessibleGraphicShape.cxx1
-rw-r--r--svx/source/accessibility/DescriptionGenerator.cxx1
-rw-r--r--svx/source/accessibility/ShapeTypeHandler.cxx1
-rw-r--r--svx/source/accessibility/svxpixelctlaccessiblecontext.cxx1
-rw-r--r--svx/source/dialog/docrecovery.cxx1
-rw-r--r--svx/source/dialog/pfiledlg.cxx1
-rw-r--r--svx/source/engine3d/svx3ditems.cxx1
-rw-r--r--svx/source/gallery2/galbrws1.cxx1
-rw-r--r--svx/source/gallery2/gallery1.cxx1
-rw-r--r--svx/source/gallery2/galmisc.cxx1
-rw-r--r--svx/source/gallery2/galtheme.cxx1
-rw-r--r--svx/source/items/algitem.cxx1
-rw-r--r--svx/source/items/chrtitem.cxx1
-rw-r--r--svx/source/items/e3ditem.cxx1
-rw-r--r--svx/source/items/pageitem.cxx1
-rw-r--r--svx/source/items/rotmodit.cxx1
-rw-r--r--svx/source/svdraw/sdrpagewindow.cxx1
-rw-r--r--svx/source/svdraw/svdattr.cxx1
-rw-r--r--svx/source/svdraw/svdoole2.cxx1
-rw-r--r--svx/source/svdraw/svdpagv.cxx3
-rw-r--r--svx/source/svdraw/svdpntv.cxx1
-rw-r--r--svx/source/toolbars/extrusionbar.cxx1
-rw-r--r--svx/source/unodraw/UnoNameItemTable.cxx1
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx1
-rw-r--r--svx/source/unodraw/gluepts.cxx1
-rw-r--r--svx/source/unodraw/unobtabl.cxx1
-rw-r--r--svx/source/unodraw/unodtabl.cxx1
-rw-r--r--svx/source/unodraw/unogtabl.cxx1
-rw-r--r--svx/source/unodraw/unohtabl.cxx1
-rw-r--r--svx/source/unodraw/unomod.cxx1
-rw-r--r--svx/source/unodraw/unomtabl.cxx1
-rw-r--r--svx/source/unodraw/unopool.cxx1
-rw-r--r--svx/source/unodraw/unoprov.cxx1
-rw-r--r--svx/source/unodraw/unoshap4.cxx1
-rw-r--r--svx/source/unodraw/unoshtxt.cxx1
-rw-r--r--svx/source/unodraw/unottabl.cxx1
-rw-r--r--svx/source/xml/xmlxtexp.cxx1
-rw-r--r--svx/source/xml/xmlxtimp.cxx1
-rw-r--r--svx/source/xoutdev/xattr.cxx1
-rw-r--r--svx/source/xoutdev/xtabhtch.cxx1
40 files changed, 1 insertions, 41 deletions
diff --git a/svx/source/accessibility/AccessibleGraphicShape.cxx b/svx/source/accessibility/AccessibleGraphicShape.cxx
index 1b0e04e091f9..49f65837068b 100644
--- a/svx/source/accessibility/AccessibleGraphicShape.cxx
+++ b/svx/source/accessibility/AccessibleGraphicShape.cxx
@@ -25,7 +25,6 @@
#include <svx/svdmodel.hxx>
using namespace ::accessibility;
-using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
diff --git a/svx/source/accessibility/DescriptionGenerator.cxx b/svx/source/accessibility/DescriptionGenerator.cxx
index 4b2aaf43d311..9b19877512b0 100644
--- a/svx/source/accessibility/DescriptionGenerator.cxx
+++ b/svx/source/accessibility/DescriptionGenerator.cxx
@@ -47,7 +47,6 @@
#include "svx/unoapi.hxx"
#include "lookupcolorname.hxx"
-using namespace ::rtl;
using namespace ::com::sun::star;
diff --git a/svx/source/accessibility/ShapeTypeHandler.cxx b/svx/source/accessibility/ShapeTypeHandler.cxx
index 8aba3a48ad1e..44fa312551d5 100644
--- a/svx/source/accessibility/ShapeTypeHandler.cxx
+++ b/svx/source/accessibility/ShapeTypeHandler.cxx
@@ -32,7 +32,6 @@
#include "svx/svdstr.hrc"
-using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::accessibility;
diff --git a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
index f7f49f043ed4..60d0bae1bb0c 100644
--- a/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxpixelctlaccessiblecontext.cxx
@@ -48,7 +48,6 @@
using namespace ::cppu;
using namespace ::osl;
-using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::accessibility;
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index 0cb7d9a1f157..c4180770a73f 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -63,7 +63,6 @@
namespace svx{
namespace DocRecovery{
-using namespace ::rtl;
using namespace ::osl;
RecoveryCore::RecoveryCore(const css::uno::Reference< css::uno::XComponentContext >& rxContext,
diff --git a/svx/source/dialog/pfiledlg.cxx b/svx/source/dialog/pfiledlg.cxx
index f7cc2d0cee7f..6a0d6364e844 100644
--- a/svx/source/dialog/pfiledlg.cxx
+++ b/svx/source/dialog/pfiledlg.cxx
@@ -31,7 +31,6 @@
#include <svx/dialmgr.hxx>
#include <list>
-using namespace ::rtl;
using namespace ::com::sun::star;
sal_Char const sAudio[] = "audio";
diff --git a/svx/source/engine3d/svx3ditems.cxx b/svx/source/engine3d/svx3ditems.cxx
index 82042652c3bf..26ea71f7e73d 100644
--- a/svx/source/engine3d/svx3ditems.cxx
+++ b/svx/source/engine3d/svx3ditems.cxx
@@ -28,7 +28,6 @@
-using namespace ::rtl;
using namespace ::com::sun::star;
// #i28528#
diff --git a/svx/source/gallery2/galbrws1.cxx b/svx/source/gallery2/galbrws1.cxx
index 5846b9c902ea..91309f5b4541 100644
--- a/svx/source/gallery2/galbrws1.cxx
+++ b/svx/source/gallery2/galbrws1.cxx
@@ -42,7 +42,6 @@
// - Namespaces -
-using namespace ::rtl;
using namespace ::com::sun::star;
// - GalleryButton -
diff --git a/svx/source/gallery2/gallery1.cxx b/svx/source/gallery2/gallery1.cxx
index ba7c761d9ca3..c1a1ef9fd11f 100644
--- a/svx/source/gallery2/gallery1.cxx
+++ b/svx/source/gallery2/gallery1.cxx
@@ -47,7 +47,6 @@
// - Namespaces -
-using namespace ::rtl;
using namespace ::com::sun::star;
// - GalleryThemeEntry -
diff --git a/svx/source/gallery2/galmisc.cxx b/svx/source/gallery2/galmisc.cxx
index 9ab7278ff6da..6822194fd5f4 100644
--- a/svx/source/gallery2/galmisc.cxx
+++ b/svx/source/gallery2/galmisc.cxx
@@ -49,7 +49,6 @@
#include <com/sun/star/ucb/NameClash.hpp>
#include <boost/scoped_ptr.hpp>
-using namespace ::rtl;
using namespace ::com::sun::star;
ResMgr* GetGalleryResMgr()
diff --git a/svx/source/gallery2/galtheme.cxx b/svx/source/gallery2/galtheme.cxx
index 38b4db45def1..cf644489752f 100644
--- a/svx/source/gallery2/galtheme.cxx
+++ b/svx/source/gallery2/galtheme.cxx
@@ -58,7 +58,6 @@
#include <boost/scoped_array.hpp>
#include <boost/scoped_ptr.hpp>
-using namespace ::rtl;
using namespace ::com::sun::star;
// - SgaTheme -
diff --git a/svx/source/items/algitem.cxx b/svx/source/items/algitem.cxx
index a9de3e273a0d..ed3e67748d4a 100644
--- a/svx/source/items/algitem.cxx
+++ b/svx/source/items/algitem.cxx
@@ -38,7 +38,6 @@
#include <editeng/itemtype.hxx>
#include <svx/unomid.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
TYPEINIT1_FACTORY( SvxOrientationItem, SfxEnumItem, new SvxOrientationItem(SVX_ORIENTATION_STANDARD, 0) );
diff --git a/svx/source/items/chrtitem.cxx b/svx/source/items/chrtitem.cxx
index bd74e54cf351..69927c65a1ed 100644
--- a/svx/source/items/chrtitem.cxx
+++ b/svx/source/items/chrtitem.cxx
@@ -28,7 +28,6 @@
#include "svx/chrtitem.hxx"
-using namespace ::rtl;
using namespace ::com::sun::star;
diff --git a/svx/source/items/e3ditem.cxx b/svx/source/items/e3ditem.cxx
index fd6635ab38f4..80ecad61aab2 100644
--- a/svx/source/items/e3ditem.cxx
+++ b/svx/source/items/e3ditem.cxx
@@ -22,7 +22,6 @@
#include <svx/e3ditem.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
TYPEINIT1_FACTORY(SvxB3DVectorItem, SfxPoolItem, new SvxB3DVectorItem);
diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index f44e9e1ebd25..c051c0a61bc9 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -29,7 +29,6 @@
#include <svx/svxitems.hrc>
#include <svx/dialmgr.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
TYPEINIT1_FACTORY( SvxPageItem, SfxPoolItem , new SvxPageItem(0));
diff --git a/svx/source/items/rotmodit.cxx b/svx/source/items/rotmodit.cxx
index c80589ae4dea..059bdff530b2 100644
--- a/svx/source/items/rotmodit.cxx
+++ b/svx/source/items/rotmodit.cxx
@@ -33,7 +33,6 @@
#include "svx/rotmodit.hxx"
-using namespace ::rtl;
using namespace ::com::sun::star;
TYPEINIT1_FACTORY(SvxRotateModeItem, SfxEnumItem, new SvxRotateModeItem(SVX_ROTATE_MODE_STANDARD, 0));
diff --git a/svx/source/svdraw/sdrpagewindow.cxx b/svx/source/svdraw/sdrpagewindow.cxx
index bdd163d3c08c..87594bac3beb 100644
--- a/svx/source/svdraw/sdrpagewindow.cxx
+++ b/svx/source/svdraw/sdrpagewindow.cxx
@@ -39,7 +39,6 @@
-using namespace ::rtl;
using namespace ::com::sun::star;
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index d183230d0db3..12793c18bff2 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -103,7 +103,6 @@
#include <svx/xlineit0.hxx>
#include <svx/xtable.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
SdrItemPool::SdrItemPool(
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index df431560a8d2..d97e4cba65a4 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -86,7 +86,6 @@
#include <editeng/outlobj.hxx>
#include <svx/svdpage.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
static uno::Reference < beans::XPropertySet > lcl_getFrame_throw(const SdrOle2Obj* _pObject)
diff --git a/svx/source/svdraw/svdpagv.cxx b/svx/source/svdraw/svdpagv.cxx
index 513fa617d838..08bf1a80e038 100644
--- a/svx/source/svdraw/svdpagv.cxx
+++ b/svx/source/svdraw/svdpagv.cxx
@@ -42,12 +42,11 @@
#include <algorithm>
-using namespace ::rtl;
-using namespace ::com::sun::star;
#include <svx/sdrpagewindow.hxx>
#include <svx/sdrpaintwindow.hxx>
+using namespace ::com::sun::star;
// interface to SdrPageWindow
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index 9d829797abe9..09dcd311d3cc 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -59,7 +59,6 @@
#include <drawinglayer/primitive2d/metafileprimitive2d.hxx>
#include <basegfx/matrix/b2dhommatrixtools.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
diff --git a/svx/source/toolbars/extrusionbar.cxx b/svx/source/toolbars/extrusionbar.cxx
index 70d6539a9263..ca940763b05c 100644
--- a/svx/source/toolbars/extrusionbar.cxx
+++ b/svx/source/toolbars/extrusionbar.cxx
@@ -42,7 +42,6 @@
#include "extrusiondepthdialog.hxx"
using namespace ::svx;
-using namespace ::rtl;
using namespace ::cppu;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::drawing;
diff --git a/svx/source/unodraw/UnoNameItemTable.cxx b/svx/source/unodraw/UnoNameItemTable.cxx
index 5cb402d6ad0f..406c685c4fca 100644
--- a/svx/source/unodraw/UnoNameItemTable.cxx
+++ b/svx/source/unodraw/UnoNameItemTable.cxx
@@ -33,7 +33,6 @@
#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
SvxUnoNameItemTable::SvxUnoNameItemTable( SdrModel* pModel, sal_uInt16 nWhich, sal_uInt8 nMemberId ) throw()
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 4e4bc7eec63f..417e4737efd8 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -39,7 +39,6 @@
using namespace com::sun::star;
using namespace ::cppu;
-using namespace ::rtl;
class SvxUnoXPropertyTable : public WeakImplHelper2< container::XNameContainer, lang::XServiceInfo >
{
diff --git a/svx/source/unodraw/gluepts.cxx b/svx/source/unodraw/gluepts.cxx
index 09601a0579ec..30a303e414d8 100644
--- a/svx/source/unodraw/gluepts.cxx
+++ b/svx/source/unodraw/gluepts.cxx
@@ -31,7 +31,6 @@
#include <gluepts.hxx>
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
const sal_uInt16 NON_USER_DEFINED_GLUE_POINTS = 4;
diff --git a/svx/source/unodraw/unobtabl.cxx b/svx/source/unodraw/unobtabl.cxx
index 938d3cc79d28..038f6d2166f8 100644
--- a/svx/source/unodraw/unobtabl.cxx
+++ b/svx/source/unodraw/unobtabl.cxx
@@ -33,7 +33,6 @@
#include <editeng/memberids.hrc>
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
class SvxUnoBitmapTable : public SvxUnoNameItemTable
diff --git a/svx/source/unodraw/unodtabl.cxx b/svx/source/unodraw/unodtabl.cxx
index 8f9e3161395c..875aac4d696f 100644
--- a/svx/source/unodraw/unodtabl.cxx
+++ b/svx/source/unodraw/unodtabl.cxx
@@ -31,7 +31,6 @@
#include "svx/unofill.hxx"
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
class SvxUnoDashTable : public SvxUnoNameItemTable
diff --git a/svx/source/unodraw/unogtabl.cxx b/svx/source/unodraw/unogtabl.cxx
index dc72188e8b1a..58e8ff63b382 100644
--- a/svx/source/unodraw/unogtabl.cxx
+++ b/svx/source/unodraw/unogtabl.cxx
@@ -30,7 +30,6 @@
#include <svx/unomid.hxx>
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
class SvxUnoGradientTable : public SvxUnoNameItemTable
diff --git a/svx/source/unodraw/unohtabl.cxx b/svx/source/unodraw/unohtabl.cxx
index 1b0adc19dd42..545397caee92 100644
--- a/svx/source/unodraw/unohtabl.cxx
+++ b/svx/source/unodraw/unohtabl.cxx
@@ -30,7 +30,6 @@
#include "svx/unofill.hxx"
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
class SvxUnoHatchTable : public SvxUnoNameItemTable
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 892af997ab0b..94f0fb060833 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -55,7 +55,6 @@
//-
-using namespace ::rtl;
using namespace ::osl;
using namespace ::com::sun::star;
diff --git a/svx/source/unodraw/unomtabl.cxx b/svx/source/unodraw/unomtabl.cxx
index 99e6296e63a0..5ce33fa114fc 100644
--- a/svx/source/unodraw/unomtabl.cxx
+++ b/svx/source/unodraw/unomtabl.cxx
@@ -45,7 +45,6 @@
#include "svx/unoapi.hxx"
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
typedef std::vector< SfxItemSet* > ItemPoolVector;
diff --git a/svx/source/unodraw/unopool.cxx b/svx/source/unodraw/unopool.cxx
index 3fa5535e97ce..6d4320cc3380 100644
--- a/svx/source/unodraw/unopool.cxx
+++ b/svx/source/unodraw/unopool.cxx
@@ -41,7 +41,6 @@
#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
SvxUnoDrawPool::SvxUnoDrawPool(SdrModel* pModel, sal_Int32 nServiceId)
diff --git a/svx/source/unodraw/unoprov.cxx b/svx/source/unodraw/unoprov.cxx
index 92460cd80beb..4bd415154f34 100644
--- a/svx/source/unodraw/unoprov.cxx
+++ b/svx/source/unodraw/unoprov.cxx
@@ -44,7 +44,6 @@
#include <shapeimpl.hxx>
-using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::beans::PropertyAttribute;
using ::com::sun::star::drawing::TextVerticalAdjust;
diff --git a/svx/source/unodraw/unoshap4.cxx b/svx/source/unodraw/unoshap4.cxx
index 4060401a6a2f..d3b96039e9f7 100644
--- a/svx/source/unodraw/unoshap4.cxx
+++ b/svx/source/unodraw/unoshap4.cxx
@@ -57,7 +57,6 @@
using namespace ::osl;
-using namespace ::rtl;
using namespace ::cppu;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
diff --git a/svx/source/unodraw/unoshtxt.cxx b/svx/source/unodraw/unoshtxt.cxx
index 4155cda76830..0c164abe9eba 100644
--- a/svx/source/unodraw/unoshtxt.cxx
+++ b/svx/source/unodraw/unoshtxt.cxx
@@ -53,7 +53,6 @@
#include <svx/sdrpaintwindow.hxx>
using namespace ::osl;
-using namespace ::rtl;
using ::com::sun::star::uno::XInterface;
diff --git a/svx/source/unodraw/unottabl.cxx b/svx/source/unodraw/unottabl.cxx
index 57fc0db4e336..725f2e88875d 100644
--- a/svx/source/unodraw/unottabl.cxx
+++ b/svx/source/unodraw/unottabl.cxx
@@ -30,7 +30,6 @@
#include "UnoNameItemTable.hxx"
using namespace ::com::sun::star;
-using namespace ::rtl;
using namespace ::cppu;
class SvxUnoTransGradientTable : public SvxUnoNameItemTable
diff --git a/svx/source/xml/xmlxtexp.cxx b/svx/source/xml/xmlxtexp.cxx
index 3c5bb5c836cd..c035adc13c22 100644
--- a/svx/source/xml/xmlxtexp.cxx
+++ b/svx/source/xml/xmlxtexp.cxx
@@ -59,7 +59,6 @@ using namespace com::sun::star::awt;
using namespace com::sun::star::lang;
using namespace com::sun::star::xml::sax;
using namespace ::xmloff::token;
-using namespace ::rtl;
using namespace cppu;
using com::sun::star::embed::XTransactedObject;
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index 1709271cd721..f6d0216dfb8d 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -63,7 +63,6 @@ using namespace com::sun::star::uno;
using namespace com::sun::star::awt;
using namespace com::sun::star::lang;
using namespace com::sun::star::xml::sax;
-using namespace ::rtl;
using namespace ::xmloff::token;
using namespace cppu;
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 510d98e95cee..b5586b3378d1 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -55,7 +55,6 @@
#include <stdio.h>
-using namespace ::rtl;
using namespace ::com::sun::star;
#define VCLTOSVCOL( rCol ) (sal_uInt16)((((sal_uInt16)(rCol))<<8)|(rCol))
diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx
index 26df8fe25ac2..2f59801d37fd 100644
--- a/svx/source/xoutdev/xtabhtch.cxx
+++ b/svx/source/xoutdev/xtabhtch.cxx
@@ -34,7 +34,6 @@
#include <boost/scoped_ptr.hpp>
using namespace ::com::sun::star;
-using namespace ::rtl;
XHatchList::XHatchList(const OUString& rPath, const OUString& rReferer)
: XPropertyList( XHATCH_LIST, rPath, rReferer )