Kaydet (Commit) 1a0dbb9f authored tarafından Michael Meeks's avatar Michael Meeks

Get rid of USE_NO_NAMESPACE

Nice cleanup from Seo Sanghyeon <sanxiyn@gmail.com>
üst cf544e37
...@@ -32,11 +32,6 @@ ...@@ -32,11 +32,6 @@
#include "sbxconv.hxx" #include "sbxconv.hxx"
#include "sbxres.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 ImpGetBool( const SbxValues* p )
{ {
enum SbxBOOL nRes; enum SbxBOOL nRes;
......
...@@ -31,11 +31,6 @@ ...@@ -31,11 +31,6 @@
#include <basic/sbx.hxx> #include <basic/sbx.hxx>
#include "sbxconv.hxx" #include "sbxconv.hxx"
// AB 29.10.99 Unicode
#ifndef _USE_NO_NAMESPACE
using namespace rtl;
#endif
xub_Unicode ImpGetChar( const SbxValues* p ) xub_Unicode ImpGetChar( const SbxValues* p )
{ {
SbxValues aTmp; SbxValues aTmp;
......
...@@ -35,11 +35,6 @@ ...@@ -35,11 +35,6 @@
#ifndef _RTL_USTRBUF_HXX_ #ifndef _RTL_USTRBUF_HXX_
#include <rtl/ustrbuf.hxx> #include <rtl/ustrbuf.hxx>
#endif #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 // Die Konversion eines Items auf String wird ueber die Put-Methoden
// der einzelnen Datentypen abgewickelt, um doppelten Code zu vermeiden. // der einzelnen Datentypen abgewickelt, um doppelten Code zu vermeiden.
...@@ -293,7 +288,7 @@ SbxArray* StringToByteArray(const ::rtl::OUString& rStr) ...@@ -293,7 +288,7 @@ SbxArray* StringToByteArray(const ::rtl::OUString& rStr)
::rtl::OUString ByteArrayToString(SbxArray* pArr) ::rtl::OUString ByteArrayToString(SbxArray* pArr)
{ {
USHORT nCount = pArr->Count(); USHORT nCount = pArr->Count();
OUStringBuffer aStrBuf; ::rtl::OUStringBuffer aStrBuf;
sal_Unicode aChar = 0; sal_Unicode aChar = 0;
for( USHORT i = 0 ; i < nCount ; i++ ) for( USHORT i = 0 ; i < nCount ; i++ )
{ {
......
...@@ -36,11 +36,6 @@ ...@@ -36,11 +36,6 @@
#include "sbxconv.hxx" #include "sbxconv.hxx"
#include <math.h> #include <math.h>
#include "runtime.hxx" #include "runtime.hxx"
// AB 29.10.99 Unicode
#ifndef _USE_NO_NAMESPACE
using namespace rtl;
#endif
TYPEINIT1(SbxValue,SbxBase) TYPEINIT1(SbxValue,SbxBase)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment