summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2012-11-29 21:26:09 +0100
committerThorsten Behrens <tbehrens@suse.com>2012-11-30 14:36:36 +0100
commit66a175834c39ccde9475eac3adb72a843110d01f (patch)
treeef925daaf84a85731525c2b14f0cd4a2ed84e2de /cppu
parent90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (diff)
c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
Diffstat (limited to 'cppu')
-rw-r--r--cppu/qa/test_any.cxx2
-rw-r--r--cppu/qa/test_unotype.cxx2
-rw-r--r--cppu/source/threadpool/thread.cxx6
3 files changed, 0 insertions, 10 deletions
diff --git a/cppu/qa/test_any.cxx b/cppu/qa/test_any.cxx
index 05a07b85c7a2..d53f0e2aa7e7 100644
--- a/cppu/qa/test_any.cxx
+++ b/cppu/qa/test_any.cxx
@@ -59,8 +59,6 @@
namespace {
-namespace css = com::sun::star;
-
class Base {
public:
Base(): m_count(0) {}
diff --git a/cppu/qa/test_unotype.cxx b/cppu/qa/test_unotype.cxx
index 60921c899d3b..527cac596205 100644
--- a/cppu/qa/test_unotype.cxx
+++ b/cppu/qa/test_unotype.cxx
@@ -47,8 +47,6 @@ namespace com { namespace sun { namespace star { namespace uno {
namespace {
-namespace css = com::sun::star;
-
struct DerivedStruct1: css::lang::EventObject {};
struct DerivedStruct2: css::beans::PropertyChangeEvent {};
diff --git a/cppu/source/threadpool/thread.cxx b/cppu/source/threadpool/thread.cxx
index 70961ccd10e2..f0dc4d6b67eb 100644
--- a/cppu/source/threadpool/thread.cxx
+++ b/cppu/source/threadpool/thread.cxx
@@ -31,12 +31,6 @@
#include "jobqueue.hxx"
#include "threadpool.hxx"
-namespace {
-
-namespace css = com::sun::star;
-
-}
-
using namespace osl;
namespace cppu_threadpool {