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/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/framework')
16 files changed, 0 insertions, 33 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx index 8329543bf4ee..288ad97f392b 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerBroadcaster.hxx @@ -28,8 +28,6 @@ #include <vector> #include <boost/unordered_map.hpp> -namespace css = ::com::sun::star; - namespace sd { namespace framework { /** This class manages the set of XConfigurationChangeListeners and diff --git a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx index d154e1ccf21b..f9945892f872 100644 --- a/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx +++ b/sd/source/ui/framework/configuration/ConfigurationControllerResourceManager.hxx @@ -28,8 +28,6 @@ #include <map> #include <vector> -namespace css = ::com::sun::star; - namespace sd { namespace framework { class ConfigurationControllerBroadcaster; diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx index 7723ad1951ca..5149b23544d2 100644 --- a/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx +++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.hxx @@ -28,8 +28,6 @@ #include <vector> #include <boost/shared_ptr.hpp> -namespace css = ::com::sun::star; - namespace sd { namespace framework { class ConfigurationClassifier; diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx index cc6a97c885a8..28b56736bfd0 100644 --- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx +++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx @@ -29,8 +29,6 @@ #include <com/sun/star/beans/PropertyValues.hpp> #include <cppuhelper/compbase2.hxx> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper2 < diff --git a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx index 267aa0505196..81b1efd01d22 100644 --- a/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx +++ b/sd/source/ui/framework/configuration/ResourceFactoryManager.hxx @@ -28,8 +28,6 @@ #include <comphelper/stl_types.hxx> #include <boost/unordered_map.hpp> -namespace css = ::com::sun::star; - namespace sd { namespace framework { /** Container of resource factories of the drawing framework. diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx index b1d5c8b3449b..472609a17677 100644 --- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx +++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx @@ -35,8 +35,6 @@ #include <boost/scoped_ptr.hpp> #include <boost/shared_ptr.hpp> -namespace css = ::com::sun::star; - namespace { diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx index fd59a1eba450..377619c2ec57 100644 --- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx +++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx @@ -33,8 +33,6 @@ #include <cppuhelper/basemutex.hxx> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper3 < diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx index 486970d8a822..88d33a4dc1ce 100644 --- a/sd/source/ui/framework/factories/BasicViewFactory.hxx +++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx @@ -35,8 +35,6 @@ #include <boost/shared_ptr.hpp> #include <boost/scoped_ptr.hpp> -namespace css = ::com::sun::star; - namespace sd { class ViewShell; class ViewShellBase; diff --git a/sd/source/ui/framework/factories/FullScreenPane.hxx b/sd/source/ui/framework/factories/FullScreenPane.hxx index b880d1f199a9..4cef40a3c4bd 100644 --- a/sd/source/ui/framework/factories/FullScreenPane.hxx +++ b/sd/source/ui/framework/factories/FullScreenPane.hxx @@ -26,8 +26,6 @@ #include <vcl/vclevent.hxx> #include <boost/scoped_ptr.hpp> -namespace css = ::com::sun::star; - class WorkWindow; namespace sd { class ViewShellBase; } diff --git a/sd/source/ui/framework/factories/TaskPanelFactory.hxx b/sd/source/ui/framework/factories/TaskPanelFactory.hxx index 787eb0090da0..d23a0378fca0 100644 --- a/sd/source/ui/framework/factories/TaskPanelFactory.hxx +++ b/sd/source/ui/framework/factories/TaskPanelFactory.hxx @@ -29,8 +29,6 @@ #include <boost/scoped_ptr.hpp> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper2 < diff --git a/sd/source/ui/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx index 60da4dd1609d..71e440840899 100644 --- a/sd/source/ui/framework/module/ResourceManager.hxx +++ b/sd/source/ui/framework/module/ResourceManager.hxx @@ -27,8 +27,6 @@ #include <cppuhelper/compbase1.hxx> #include <boost/scoped_ptr.hpp> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper1 < diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx index 83d908a0e074..021e62c4fc56 100644 --- a/sd/source/ui/framework/module/ShellStackGuard.hxx +++ b/sd/source/ui/framework/module/ShellStackGuard.hxx @@ -33,9 +33,6 @@ #include <boost/scoped_ptr.hpp> -namespace css = ::com::sun::star; - - namespace { typedef ::cppu::WeakComponentImplHelper1 < diff --git a/sd/source/ui/framework/module/SlideSorterModule.hxx b/sd/source/ui/framework/module/SlideSorterModule.hxx index c183954d00cb..64897c09d5c9 100644 --- a/sd/source/ui/framework/module/SlideSorterModule.hxx +++ b/sd/source/ui/framework/module/SlideSorterModule.hxx @@ -25,8 +25,6 @@ #include <com/sun/star/drawing/framework/XControllerManager.hpp> #include <com/sun/star/drawing/framework/XTabBar.hpp> -namespace css = ::com::sun::star; - namespace sd { namespace framework { /** This module is responsible for showing the slide sorter bar and the the diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx index d88b0960f4e9..8ba51892ae26 100644 --- a/sd/source/ui/framework/module/ToolBarModule.hxx +++ b/sd/source/ui/framework/module/ToolBarModule.hxx @@ -30,8 +30,6 @@ #include <cppuhelper/compbase1.hxx> #include <boost/scoped_ptr.hpp> -namespace css = ::com::sun::star; - namespace sd { class ViewShellBase; } diff --git a/sd/source/ui/framework/module/ToolPanelModule.hxx b/sd/source/ui/framework/module/ToolPanelModule.hxx index cfc1f7c32b97..d02404fa9a14 100644 --- a/sd/source/ui/framework/module/ToolPanelModule.hxx +++ b/sd/source/ui/framework/module/ToolPanelModule.hxx @@ -25,8 +25,6 @@ #include <com/sun/star/drawing/framework/XControllerManager.hpp> #include <com/sun/star/drawing/framework/XTabBar.hpp> -namespace css = ::com::sun::star; - namespace sd { namespace framework { /** This module is responsible for showing the toolpanel bar. diff --git a/sd/source/ui/framework/module/ViewTabBarModule.hxx b/sd/source/ui/framework/module/ViewTabBarModule.hxx index 91716f6c4757..f06870ff29bf 100644 --- a/sd/source/ui/framework/module/ViewTabBarModule.hxx +++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx @@ -29,8 +29,6 @@ #include <osl/mutex.hxx> #include <cppuhelper/compbase1.hxx> -namespace css = ::com::sun::star; - namespace { typedef ::cppu::WeakComponentImplHelper1 < |