From 66a175834c39ccde9475eac3adb72a843110d01f Mon Sep 17 00:00:00 2001 From: Thorsten Behrens Date: Thu, 29 Nov 2012 21:26:09 +0100 Subject: 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 --- ure/source/uretest/cppmain.cc | 2 -- ure/source/uretest/cppserver.cc | 2 -- ure/source/uretest/cpptest.cc | 2 -- 3 files changed, 6 deletions(-) (limited to 'ure/source') diff --git a/ure/source/uretest/cppmain.cc b/ure/source/uretest/cppmain.cc index 54e6c6890018..92aa1257ea4d 100644 --- a/ure/source/uretest/cppmain.cc +++ b/ure/source/uretest/cppmain.cc @@ -56,8 +56,6 @@ #include "test/types/TestException.hpp" #include "test/types/XTest.hpp" -namespace css = ::com::sun::star; - namespace { class Service: public ::cppu::WeakImplHelper1< ::css::lang::XMain > { diff --git a/ure/source/uretest/cppserver.cc b/ure/source/uretest/cppserver.cc index 8d6e9a9fe4be..70dfa142bef7 100644 --- a/ure/source/uretest/cppserver.cc +++ b/ure/source/uretest/cppserver.cc @@ -39,8 +39,6 @@ #include "test/types/Data.hpp" #include "test/types/XServer.hpp" -namespace css = ::com::sun::star; - namespace { class Service: public ::cppu::WeakImplHelper1< ::test::types::XServer > { diff --git a/ure/source/uretest/cpptest.cc b/ure/source/uretest/cpptest.cc index d8fc62408eff..d1d641582b96 100644 --- a/ure/source/uretest/cpptest.cc +++ b/ure/source/uretest/cpptest.cc @@ -37,8 +37,6 @@ #include "test/types/TestException.hpp" #include "test/types/XTest.hpp" -namespace css = com::sun::star; - namespace { class Service: public cppu::WeakImplHelper1< test::types::XTest > { -- cgit