summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-26 15:44:27 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-26 15:44:27 +0100
commitbd5fa4c1c6b62557f3909b0bc11e5543b01cbb9d (patch)
tree70abbfe5a76a1d197dc17ce4b58a4b18daa05348 /framework
parent9a0ad1d7e8d5b95e7902a1c7d28ad18f95ae6fb3 (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'framework')
-rw-r--r--framework/source/helper/actiontriggerhelper.cxx3
-rw-r--r--framework/source/helper/propertysetcontainer.cxx2
-rw-r--r--framework/source/helper/uiconfigelementwrapperbase.cxx3
-rw-r--r--framework/source/helper/uielementwrapperbase.cxx2
-rw-r--r--framework/source/services/sessionlistener.cxx4
-rw-r--r--framework/source/tabwin/tabwindow.cxx2
-rw-r--r--framework/source/tabwin/tabwinfactory.cxx2
-rw-r--r--framework/source/uiconfiguration/globalsettings.cxx3
8 files changed, 11 insertions, 10 deletions
diff --git a/framework/source/helper/actiontriggerhelper.cxx b/framework/source/helper/actiontriggerhelper.cxx
index 74515b1eefa4..e75b2609d26a 100644
--- a/framework/source/helper/actiontriggerhelper.cxx
+++ b/framework/source/helper/actiontriggerhelper.cxx
@@ -45,13 +45,14 @@
const USHORT START_ITEMID = 1000;
-using namespace rtl;
using namespace com::sun::star::awt;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::container;
+using ::rtl::OUString;
+
namespace framework
{
diff --git a/framework/source/helper/propertysetcontainer.cxx b/framework/source/helper/propertysetcontainer.cxx
index a21a634a9106..7e05bbf03d38 100644
--- a/framework/source/helper/propertysetcontainer.cxx
+++ b/framework/source/helper/propertysetcontainer.cxx
@@ -35,7 +35,7 @@
#define WRONG_TYPE_EXCEPTION "Only XPropertSet allowed!"
-using namespace rtl;
+using ::rtl::OUString;
using namespace cppu;
using namespace com::sun::star::uno;
using namespace com::sun::star::container;
diff --git a/framework/source/helper/uiconfigelementwrapperbase.cxx b/framework/source/helper/uiconfigelementwrapperbase.cxx
index b4be597c21c3..534a2533d20d 100644
--- a/framework/source/helper/uiconfigelementwrapperbase.cxx
+++ b/framework/source/helper/uiconfigelementwrapperbase.cxx
@@ -70,8 +70,7 @@ const rtl::OUString UIELEMENT_PROPNAME_RESOURCEURL( RTL_CONSTASCII_USTRINGPARAM(
const rtl::OUString UIELEMENT_PROPNAME_TYPE( RTL_CONSTASCII_USTRINGPARAM( "Type" ));
const rtl::OUString UIELEMENT_PROPNAME_XMENUBAR( RTL_CONSTASCII_USTRINGPARAM( "XMenuBar" ));
const rtl::OUString UIELEMENT_PROPNAME_NOCLOSE( RTL_CONSTASCII_USTRINGPARAM( "NoClose" ));
-
-using namespace rtl;
+using ::rtl::OUString;
using namespace com::sun::star::beans;
using namespace com::sun::star::uno;
using namespace com::sun::star::frame;
diff --git a/framework/source/helper/uielementwrapperbase.cxx b/framework/source/helper/uielementwrapperbase.cxx
index 87c730b69eb3..bb8226e746af 100644
--- a/framework/source/helper/uielementwrapperbase.cxx
+++ b/framework/source/helper/uielementwrapperbase.cxx
@@ -58,10 +58,10 @@ const rtl::OUString UIELEMENT_PROPNAME_RESOURCEURL( RTL_CONSTASCII_USTRINGPARAM(
const rtl::OUString UIELEMENT_PROPNAME_TYPE( RTL_CONSTASCII_USTRINGPARAM( "Type" ));
const rtl::OUString UIELEMENT_PROPNAME_FRAME( RTL_CONSTASCII_USTRINGPARAM( "Frame" ));
-using namespace rtl;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::frame;
+using ::rtl::OUString;
namespace framework
{
diff --git a/framework/source/services/sessionlistener.cxx b/framework/source/services/sessionlistener.cxx
index 9a5d2a24a185..72a7e5bc2046 100644
--- a/framework/source/services/sessionlistener.cxx
+++ b/framework/source/services/sessionlistener.cxx
@@ -84,8 +84,8 @@ using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::container;
-using namespace rtl;
-
+using ::rtl::OUString;
+using ::rtl::OString;
namespace framework{
//_______________________________________________
diff --git a/framework/source/tabwin/tabwindow.cxx b/framework/source/tabwin/tabwindow.cxx
index 007608a06dcd..ae12fc18e340 100644
--- a/framework/source/tabwin/tabwindow.cxx
+++ b/framework/source/tabwin/tabwindow.cxx
@@ -60,7 +60,7 @@
//_________________________________________________________________________________________________________________
//
-using namespace rtl;
+using ::rtl::OUString;
using namespace com::sun::star;
namespace framework
diff --git a/framework/source/tabwin/tabwinfactory.cxx b/framework/source/tabwin/tabwinfactory.cxx
index 37f3dad23cb2..8be283d220b5 100644
--- a/framework/source/tabwin/tabwinfactory.cxx
+++ b/framework/source/tabwin/tabwinfactory.cxx
@@ -56,7 +56,7 @@
//_________________________________________________________________________________________________________________
//
-using namespace rtl;
+using ::rtl::OUString;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
diff --git a/framework/source/uiconfiguration/globalsettings.cxx b/framework/source/uiconfiguration/globalsettings.cxx
index 4b400b2f6fef..a7974f6ed082 100644
--- a/framework/source/uiconfiguration/globalsettings.cxx
+++ b/framework/source/uiconfiguration/globalsettings.cxx
@@ -60,9 +60,10 @@
//_________________________________________________________________________________________________________________
//
-using namespace rtl;
using namespace ::com::sun::star;
+using ::rtl::OUString;
+
//_________________________________________________________________________________________________________________
// Namespace
//_________________________________________________________________________________________________________________