[ooo-build-commit] .: basic/source

Michael Meeks mmeeks at kemper.freedesktop.org
Thu Sep 30 05:33:41 PDT 2010


 basic/source/sbx/sbxbool.cxx  |    5 -----
 basic/source/sbx/sbxchar.cxx  |    5 -----
 basic/source/sbx/sbxstr.cxx   |    7 +------
 basic/source/sbx/sbxvalue.cxx |    5 -----
 4 files changed, 1 insertion(+), 21 deletions(-)

New commits:
commit 230a02aee647d1137dffbd3e8d02f7a62d634f9f
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Thu Sep 30 13:32:39 2010 +0100

    Get rid of USE_NO_NAMESPACE
    
    Nice cleanup from Seo Sanghyeon <sanxiyn at gmail.com>

diff --git a/basic/source/sbx/sbxbool.cxx b/basic/source/sbx/sbxbool.cxx
index 8abfbea..6d0cea0 100644
--- a/basic/source/sbx/sbxbool.cxx
+++ b/basic/source/sbx/sbxbool.cxx
@@ -32,11 +32,6 @@
 #include "sbxconv.hxx"
 #include "sbxres.hxx"
 
-// AB 29.10.99 Unicode
-#ifndef _USE_NO_NAMESPACE
-using namespace rtl;
-#endif
-
 enum SbxBOOL ImpGetBool( const SbxValues* p )
 {
     enum SbxBOOL nRes;
diff --git a/basic/source/sbx/sbxchar.cxx b/basic/source/sbx/sbxchar.cxx
index ca52057..4f3e871 100644
--- a/basic/source/sbx/sbxchar.cxx
+++ b/basic/source/sbx/sbxchar.cxx
@@ -31,11 +31,6 @@
 #include <basic/sbx.hxx>
 #include "sbxconv.hxx"
 
-// AB 29.10.99 Unicode
-#ifndef _USE_NO_NAMESPACE
-using namespace rtl;
-#endif
-
 xub_Unicode ImpGetChar( const SbxValues* p )
 {
     SbxValues aTmp;
diff --git a/basic/source/sbx/sbxstr.cxx b/basic/source/sbx/sbxstr.cxx
index b4d1c40..2be96d9 100644
--- a/basic/source/sbx/sbxstr.cxx
+++ b/basic/source/sbx/sbxstr.cxx
@@ -35,11 +35,6 @@
 #ifndef _RTL_USTRBUF_HXX_
 #include <rtl/ustrbuf.hxx>
 #endif
-// AB 29.10.99 Unicode
-#ifndef _USE_NO_NAMESPACE
-using namespace rtl;
-#endif
-
 
 // Die Konversion eines Items auf String wird ueber die Put-Methoden
 // der einzelnen Datentypen abgewickelt, um doppelten Code zu vermeiden.
@@ -293,7 +288,7 @@ SbxArray* StringToByteArray(const ::rtl::OUString& rStr)
 ::rtl::OUString ByteArrayToString(SbxArray* pArr)
 {
     USHORT nCount = pArr->Count();
-    OUStringBuffer aStrBuf;
+    ::rtl::OUStringBuffer aStrBuf;
     sal_Unicode aChar = 0;
     for( USHORT i = 0 ; i < nCount ; i++ )
     {
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx
index 9cbdeaf..2200aaa 100644
--- a/basic/source/sbx/sbxvalue.cxx
+++ b/basic/source/sbx/sbxvalue.cxx
@@ -36,11 +36,6 @@
 #include "sbxconv.hxx"
 #include <math.h>
 #include "runtime.hxx"
-// AB 29.10.99 Unicode
-#ifndef _USE_NO_NAMESPACE
-using namespace rtl;
-#endif
-
 
 TYPEINIT1(SbxValue,SbxBase)
 


More information about the ooo-build-commit mailing list