[Libreoffice-commits] .: basic/source
Julien Nabet
serval2412 at kemper.freedesktop.org
Sat Feb 26 06:11:20 PST 2011
basic/source/app/app.cxx | 4 +++-
basic/source/uno/dlgcont.cxx | 3 ++-
basic/source/uno/modsizeexceeded.cxx | 3 ++-
basic/source/uno/namecont.cxx | 6 +++++-
basic/source/uno/scriptcont.cxx | 3 ++-
5 files changed, 14 insertions(+), 5 deletions(-)
New commits:
commit c4b26be8ec5c3539540ace11f80a73e75e9ebd97
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Feb 26 15:10:54 2011 +0100
Remove "using namespace ::rtl"
diff --git a/basic/source/app/app.cxx b/basic/source/app/app.cxx
index 3ff9441..8b00002 100644
--- a/basic/source/app/app.cxx
+++ b/basic/source/app/app.cxx
@@ -74,13 +74,15 @@
using namespace comphelper;
using namespace cppu;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::ucb;
using namespace com::sun::star::beans;
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+
#endif /* _USE_UNO */
IMPL_GEN_RES_STR;
diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx
index 105f180..a2c8752 100644
--- a/basic/source/uno/dlgcont.cxx
+++ b/basic/source/uno/dlgcont.cxx
@@ -70,9 +70,10 @@ using namespace com::sun::star::script;
using namespace com::sun::star::xml::sax;
using namespace com::sun::star;
using namespace cppu;
-using namespace rtl;
using namespace osl;
+using ::rtl::OUString;
+
using com::sun::star::uno::Reference;
#define GRAPHOBJ_URLPREFIX "vnd.sun.star.GraphicObject:"
diff --git a/basic/source/uno/modsizeexceeded.cxx b/basic/source/uno/modsizeexceeded.cxx
index cec2875..2f61374 100644
--- a/basic/source/uno/modsizeexceeded.cxx
+++ b/basic/source/uno/modsizeexceeded.cxx
@@ -35,9 +35,10 @@
using namespace com::sun::star;
using namespace cppu;
-using namespace rtl;
using namespace osl;
+using ::rtl::OUString;
+
ModuleSizeExceeded::ModuleSizeExceeded( const uno::Sequence< ::rtl::OUString >& sModules )
{
script::ModuleSizeExceededRequest aReq;
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index a6f271c..a8182c0 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -90,11 +90,15 @@ using namespace com::sun::star::frame;
using namespace com::sun::star::deployment;
using namespace com::sun::star;
using namespace cppu;
-using namespace rtl;
using namespace osl;
using com::sun::star::uno::Reference;
+using ::rtl::OUString;
+using ::rtl::OStringBuffer;
+using ::rtl::OUStringToOString;
+using ::rtl::Uri;
+
// #i34411: Flag for error handling during migration
static bool GbMigrationSuppressErrors = false;
diff --git a/basic/source/uno/scriptcont.cxx b/basic/source/uno/scriptcont.cxx
index 53f7c76..797bb7a 100644
--- a/basic/source/uno/scriptcont.cxx
+++ b/basic/source/uno/scriptcont.cxx
@@ -80,11 +80,12 @@ using namespace com::sun::star::script;
using namespace com::sun::star::xml::sax;
using namespace com::sun::star;
using namespace cppu;
-using namespace rtl;
using namespace osl;
using com::sun::star::uno::Reference;
+using ::rtl::OUString;
+
//============================================================================
// Implementation class SfxScriptLibraryContainer
More information about the Libreoffice-commits
mailing list