If it does not understand namespace, it has no business building LibreOffice.
Two patches attached for two repositories (libs-core and filters).
--
Seo Sanghyeon
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..a4b71f7 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.
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)
diff --git a/binfilter/bf_basic/source/sbx/sbxbool.cxx b/binfilter/bf_basic/source/sbx/sbxbool.cxx
index 949d5c7..a3a7751 100644
--- a/binfilter/bf_basic/source/sbx/sbxbool.cxx
+++ b/binfilter/bf_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
-
namespace binfilter {
enum SbxBOOL ImpGetBool( const SbxValues* p )
diff --git a/binfilter/bf_basic/source/sbx/sbxchar.cxx b/binfilter/bf_basic/source/sbx/sbxchar.cxx
index 3037ee0..b330c71 100644
--- a/binfilter/bf_basic/source/sbx/sbxchar.cxx
+++ b/binfilter/bf_basic/source/sbx/sbxchar.cxx
@@ -31,11 +31,6 @@
#include "sbx.hxx"
#include "sbxconv.hxx"
-// AB 29.10.99 Unicode
-#ifndef _USE_NO_NAMESPACE
-using namespace rtl;
-#endif
-
namespace binfilter {
xub_Unicode ImpGetChar( const SbxValues* p )
diff --git a/binfilter/bf_basic/source/sbx/sbxstr.cxx b/binfilter/bf_basic/source/sbx/sbxstr.cxx
index ef8e835..7e1a9f1 100644
--- a/binfilter/bf_basic/source/sbx/sbxstr.cxx
+++ b/binfilter/bf_basic/source/sbx/sbxstr.cxx
@@ -34,12 +34,6 @@
namespace binfilter {
-// 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.
diff --git a/binfilter/bf_basic/source/sbx/sbxvalue.cxx b/binfilter/bf_basic/source/sbx/sbxvalue.cxx
index 719a8d3..39d0502 100644
--- a/binfilter/bf_basic/source/sbx/sbxvalue.cxx
+++ b/binfilter/bf_basic/source/sbx/sbxvalue.cxx
@@ -37,11 +37,6 @@
#include "sbxconv.hxx"
#include <math.h>
-// AB 29.10.99 Unicode
-#ifndef _USE_NO_NAMESPACE
-using namespace rtl;
-#endif
-
namespace binfilter {
TYPEINIT1(SbxValue,SbxBase)
Context
- [Libreoffice] Get rid of USE_NO_NAMESPACE · Seo Sanghyeon
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.