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 /sd/source/ui/inc/framework | |
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 'sd/source/ui/inc/framework')
-rw-r--r-- | sd/source/ui/inc/framework/ConfigurationController.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/FrameworkHelper.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ModuleController.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/Pane.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/PresentationFactory.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/ResourceId.hxx | 3 |
6 files changed, 0 insertions, 12 deletions
diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx index 93c73fcc8e7a..1d07e178922b 100644 --- a/sd/source/ui/inc/framework/ConfigurationController.hxx +++ b/sd/source/ui/inc/framework/ConfigurationController.hxx @@ -39,8 +39,6 @@ #include <boost/shared_ptr.hpp> #include <boost/noncopyable.hpp> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper2 < diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index 2056b9cdeaa0..2024b3ba6ffb 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -43,8 +43,6 @@ namespace rtl { class OUString; } -namespace css = ::com::sun::star; - namespace sd { namespace framework { /** The FrameworkHelper is a convenience class that simplifies the diff --git a/sd/source/ui/inc/framework/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx index 10cc2ed4e0a1..bf83930ba8ba 100644 --- a/sd/source/ui/inc/framework/ModuleController.hxx +++ b/sd/source/ui/inc/framework/ModuleController.hxx @@ -32,8 +32,6 @@ #include <boost/scoped_ptr.hpp> #include <set> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper2 < diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx index b602711ddb90..49a99ce1e38d 100644 --- a/sd/source/ui/inc/framework/Pane.hxx +++ b/sd/source/ui/inc/framework/Pane.hxx @@ -32,7 +32,6 @@ class Window; -namespace css = ::com::sun::star; namespace cssu = ::com::sun::star::uno; namespace { diff --git a/sd/source/ui/inc/framework/PresentationFactory.hxx b/sd/source/ui/inc/framework/PresentationFactory.hxx index 86493dc585a7..4634bed147af 100644 --- a/sd/source/ui/inc/framework/PresentationFactory.hxx +++ b/sd/source/ui/inc/framework/PresentationFactory.hxx @@ -35,8 +35,6 @@ #include <boost/scoped_ptr.hpp> #include <boost/shared_ptr.hpp> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper2 < diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx index 77427608aa74..460db6db2bd6 100644 --- a/sd/source/ui/inc/framework/ResourceId.hxx +++ b/sd/source/ui/inc/framework/ResourceId.hxx @@ -26,9 +26,6 @@ #include <cppuhelper/compbase2.hxx> #include <boost/scoped_ptr.hpp> -namespace css = ::com::sun::star; - - namespace { typedef ::cppu::WeakImplHelper2 < |