diff options
author | Thorsten Behrens <tbehrens@suse.com> | 2012-11-29 21:26:09 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-11-30 14:36:36 +0100 |
commit | 66a175834c39ccde9475eac3adb72a843110d01f (patch) | |
tree | ef925daaf84a85731525c2b14f0cd4a2ed84e2de /svtools/source/config | |
parent | 90eac3e69749a9227c4b6902b1f3cef1e338c6d1 (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 'svtools/source/config')
-rw-r--r-- | svtools/source/config/accessibilityoptions.cxx | 2 | ||||
-rw-r--r-- | svtools/source/config/itemholder2.cxx | 6 | ||||
-rw-r--r-- | svtools/source/config/itemholder2.hxx | 5 | ||||
-rw-r--r-- | svtools/source/config/printoptions.cxx | 1 |
4 files changed, 0 insertions, 14 deletions
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx index 2b1911ddcbfe..92ed2bd0f72b 100644 --- a/svtools/source/config/accessibilityoptions.cxx +++ b/svtools/source/config/accessibilityoptions.cxx @@ -40,8 +40,6 @@ using namespace utl; using namespace com::sun::star::uno; -namespace css = com::sun::star; - #define HELP_TIP_TIMEOUT 0xffff // max. timeout setting to pretend a non-timeout namespace diff --git a/svtools/source/config/itemholder2.cxx b/svtools/source/config/itemholder2.cxx index 8248758c411c..beb5e478c585 100644 --- a/svtools/source/config/itemholder2.cxx +++ b/svtools/source/config/itemholder2.cxx @@ -37,12 +37,6 @@ #include <tools/debug.hxx> -//----------------------------------------------- -// namespaces - -namespace css = ::com::sun::star; - - namespace svtools { //----------------------------------------------- ItemHolder2::ItemHolder2() diff --git a/svtools/source/config/itemholder2.hxx b/svtools/source/config/itemholder2.hxx index 141b57250444..9d39e189e308 100644 --- a/svtools/source/config/itemholder2.hxx +++ b/svtools/source/config/itemholder2.hxx @@ -24,11 +24,6 @@ #include <cppuhelper/implbase1.hxx> #include <com/sun/star/lang/XEventListener.hpp> -//----------------------------------------------- -// namespaces - -namespace css = ::com::sun::star; - namespace svtools { diff --git a/svtools/source/config/printoptions.cxx b/svtools/source/config/printoptions.cxx index 3d0c0c0d07bd..84ba19d6b0ff 100644 --- a/svtools/source/config/printoptions.cxx +++ b/svtools/source/config/printoptions.cxx @@ -74,7 +74,6 @@ using namespace ::utl; using namespace ::rtl; using namespace ::osl; using namespace ::com::sun::star::uno; -namespace css = com::sun::star; // ----------- // - statics - |