[Libreoffice-commits] core.git: sd/source

Stephan Bergmann sbergman at redhat.com
Wed Dec 21 14:05:53 UTC 2016


 sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx |    6 ---
 sd/source/ui/framework/configuration/UpdateRequest.hxx                     |    6 ---
 sd/source/ui/framework/factories/BasicPaneFactory.hxx                      |   16 +++-------
 sd/source/ui/framework/factories/BasicToolBarFactory.hxx                   |   14 +++-----
 sd/source/ui/framework/factories/BasicViewFactory.hxx                      |    6 ---
 sd/source/ui/framework/factories/ChildWindowPane.hxx                       |   10 +-----
 sd/source/ui/framework/module/CenterViewFocusModule.hxx                    |   12 ++-----
 sd/source/ui/framework/module/ResourceManager.hxx                          |    6 ---
 sd/source/ui/framework/module/ShellStackGuard.hxx                          |   12 ++-----
 sd/source/ui/framework/module/ToolBarModule.hxx                            |    8 +----
 sd/source/ui/framework/module/ViewTabBarModule.hxx                         |    6 ---
 sd/source/ui/inc/DocumentRenderer.hxx                                      |    8 +----
 sd/source/ui/inc/ViewTabBar.hxx                                            |   16 ++++------
 sd/source/ui/inc/framework/Configuration.hxx                               |    6 ---
 sd/source/ui/inc/framework/ConfigurationController.hxx                     |   10 +-----
 sd/source/ui/inc/framework/ModuleController.hxx                            |    6 ---
 sd/source/ui/inc/framework/Pane.hxx                                        |    7 ----
 sd/source/ui/inc/framework/PresentationFactory.hxx                         |    6 ---
 sd/source/ui/inc/framework/ResourceId.hxx                                  |    6 ---
 sd/source/ui/inc/framework/ViewShellWrapper.hxx                            |   12 ++-----
 sd/source/ui/inc/tools/PropertySet.hxx                                     |    8 +----
 sd/source/ui/presenter/PresenterCanvas.hxx                                 |   12 +++----
 sd/source/ui/presenter/PresenterHelper.hxx                                 |   10 ++----
 sd/source/ui/presenter/PresenterPreviewCache.hxx                           |   10 ++----
 sd/source/ui/presenter/PresenterTextView.hxx                               |   10 ++----
 sd/source/ui/presenter/SlideRenderer.hxx                                   |   12 +++----
 sd/source/ui/sidebar/PanelFactory.hxx                                      |    9 +----
 sd/source/ui/slidesorter/shell/SlideSorterService.hxx                      |   12 +++----
 28 files changed, 85 insertions(+), 177 deletions(-)

New commits:
commit abfc2c749336e0ca8cfcc4d8358e9f49a105ae90
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Dec 21 15:05:10 2016 +0100

    ODR violation (base class must be the same across compilation units)
    
    Change-Id: I3693e543fcca3796e3a3dfccabb8dce3f029531d

diff --git a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
index 53d6a04..03e7a56 100644
--- a/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
+++ b/sd/source/ui/framework/configuration/GenericConfigurationChangeRequest.hxx
@@ -29,17 +29,13 @@
 #include <com/sun/star/beans/PropertyValues.hpp>
 #include <cppuhelper/compbase.hxx>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
       css::drawing::framework::XConfigurationChangeRequest,
       css::container::XNamed
     > GenericConfigurationChangeRequestInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** This implementation of the XConfigurationChangeRequest interface
     represents a single explicit request for a configuration change.  On its
     execution it may result in other, implicit, configuration changes.  For
diff --git a/sd/source/ui/framework/configuration/UpdateRequest.hxx b/sd/source/ui/framework/configuration/UpdateRequest.hxx
index d92d679..54c11b2 100644
--- a/sd/source/ui/framework/configuration/UpdateRequest.hxx
+++ b/sd/source/ui/framework/configuration/UpdateRequest.hxx
@@ -26,17 +26,13 @@
 #include <com/sun/star/drawing/framework/XConfiguration.hpp>
 #include <cppuhelper/compbase.hxx>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
       css::drawing::framework::XConfigurationChangeRequest,
       css::container::XNamed
     > UpdateRequestInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** This update request is used to request configuration updates
     asynchronous when no other requests are being processed.  When there are
     other requests then we can simply wait until the last one is executed:
diff --git a/sd/source/ui/framework/factories/BasicPaneFactory.hxx b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
index fcac6c0..5b8caf8 100644
--- a/sd/source/ui/framework/factories/BasicPaneFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicPaneFactory.hxx
@@ -34,16 +34,6 @@
 
 #include <memory>
 
-namespace {
-
-typedef ::cppu::WeakComponentImplHelper <
-    css::lang::XInitialization,
-    css::drawing::framework::XResourceFactory,
-    css::drawing::framework::XConfigurationChangeListener
-    > BasicPaneFactoryInterfaceBase;
-
-} // end of anonymous namespace.
-
 namespace sd {
 
 class ViewShellBase;
@@ -51,6 +41,12 @@ class ViewShellBase;
 
 namespace sd { namespace framework {
 
+typedef ::cppu::WeakComponentImplHelper <
+    css::lang::XInitialization,
+    css::drawing::framework::XResourceFactory,
+    css::drawing::framework::XConfigurationChangeListener
+    > BasicPaneFactoryInterfaceBase;
+
 /** This factory provides the frequently used standard panes
         private:resource/pane/CenterPane
         private:resource/pane/FullScreenPane
diff --git a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
index 55b4496..cb471e2 100644
--- a/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicToolBarFactory.hxx
@@ -32,7 +32,11 @@
 #include <cppuhelper/compbase.hxx>
 #include <cppuhelper/basemutex.hxx>
 
-namespace {
+namespace sd {
+class ViewShellBase;
+}
+
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XResourceFactory,
@@ -40,14 +44,6 @@ typedef ::cppu::WeakComponentImplHelper <
     css::lang::XEventListener
     > BasicToolBarFactoryInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd {
-class ViewShellBase;
-}
-
-namespace sd { namespace framework {
-
 /** This factory provides some of the frequently used tool bars:
         private:resource/toolbar/ViewTabBar
 */
diff --git a/sd/source/ui/framework/factories/BasicViewFactory.hxx b/sd/source/ui/framework/factories/BasicViewFactory.hxx
index eb1a491..373b1f7 100644
--- a/sd/source/ui/framework/factories/BasicViewFactory.hxx
+++ b/sd/source/ui/framework/factories/BasicViewFactory.hxx
@@ -43,17 +43,13 @@ class FrameView;
 class SfxViewFrame;
 namespace vcl { class Window; }
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XResourceFactory,
     css::lang::XInitialization
     > BasicViewFactoryInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** Factory for the frequently used standard views of the drawing framework:
         private:resource/view/
         private:resource/view/ImpressView
diff --git a/sd/source/ui/framework/factories/ChildWindowPane.hxx b/sd/source/ui/framework/factories/ChildWindowPane.hxx
index e072d77..db85c02 100644
--- a/sd/source/ui/framework/factories/ChildWindowPane.hxx
+++ b/sd/source/ui/framework/factories/ChildWindowPane.hxx
@@ -30,19 +30,15 @@
 #include <comphelper/uno3.hxx>
 #include <memory>
 
-namespace {
+namespace sd { class ViewShellBase; }
+
+namespace sd { namespace framework {
 
 typedef ::cppu::ImplInheritanceHelper <
     ::sd::framework::Pane,
     css::lang::XEventListener
     > ChildWindowPaneInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { class ViewShellBase; }
-
-namespace sd { namespace framework {
-
 /** The ChildWindowPane listens to the child window and disposes itself when
     the child window becomes inaccessible.  This happens for instance when a
     document is made read-only and the task pane is turned off.
diff --git a/sd/source/ui/framework/module/CenterViewFocusModule.hxx b/sd/source/ui/framework/module/CenterViewFocusModule.hxx
index e8a8ebe..c86452e 100644
--- a/sd/source/ui/framework/module/CenterViewFocusModule.hxx
+++ b/sd/source/ui/framework/module/CenterViewFocusModule.hxx
@@ -28,14 +28,6 @@
 #include <osl/mutex.hxx>
 #include <cppuhelper/compbase.hxx>
 
-namespace {
-
-typedef ::cppu::WeakComponentImplHelper <
-    css::drawing::framework::XConfigurationChangeListener
-    > CenterViewFocusModuleInterfaceBase;
-
-} // end of anonymous namespace.
-
 namespace sd {
 
 class ViewShellBase;
@@ -44,6 +36,10 @@ class ViewShellBase;
 
 namespace sd { namespace framework {
 
+typedef ::cppu::WeakComponentImplHelper <
+    css::drawing::framework::XConfigurationChangeListener
+    > CenterViewFocusModuleInterfaceBase;
+
 /** This module waits for new views to be created for the center pane and
     then moves the center view to the top most place on the shell stack.  As
     we are moving away from the shell stack this module may become obsolete
diff --git a/sd/source/ui/framework/module/ResourceManager.hxx b/sd/source/ui/framework/module/ResourceManager.hxx
index 10bf23b..ae88b74 100644
--- a/sd/source/ui/framework/module/ResourceManager.hxx
+++ b/sd/source/ui/framework/module/ResourceManager.hxx
@@ -27,16 +27,12 @@
 #include <cppuhelper/compbase.hxx>
 #include <memory>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XConfigurationChangeListener
     > ResourceManagerInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** Manage the activation state of one resource depending on the view in the
     center pane.  The ResourceManager remembers in which configuration to
     activate and in which to deactivate the resource.  When the resource is
diff --git a/sd/source/ui/framework/module/ShellStackGuard.hxx b/sd/source/ui/framework/module/ShellStackGuard.hxx
index 3dc138a..c228125 100644
--- a/sd/source/ui/framework/module/ShellStackGuard.hxx
+++ b/sd/source/ui/framework/module/ShellStackGuard.hxx
@@ -33,14 +33,6 @@
 #include <cppuhelper/compbase.hxx>
 #include <memory>
 
-namespace {
-
-typedef ::cppu::WeakComponentImplHelper <
-    css::drawing::framework::XConfigurationChangeListener
-    > ShellStackGuardInterfaceBase;
-
-} // end of anonymous namespace.
-
 namespace sd {
 
 class ViewShellBase;
@@ -49,6 +41,10 @@ class ViewShellBase;
 
 namespace sd { namespace framework {
 
+typedef ::cppu::WeakComponentImplHelper <
+    css::drawing::framework::XConfigurationChangeListener
+    > ShellStackGuardInterfaceBase;
+
 /** This module locks updates of the current configuration in situations
     when the shell stack must not be modified.
 
diff --git a/sd/source/ui/framework/module/ToolBarModule.hxx b/sd/source/ui/framework/module/ToolBarModule.hxx
index 4ffdc33..b8e9c6f 100644
--- a/sd/source/ui/framework/module/ToolBarModule.hxx
+++ b/sd/source/ui/framework/module/ToolBarModule.hxx
@@ -36,11 +36,9 @@ class ViewShellBase;
 
 namespace sd { namespace framework {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper <
-        css::drawing::framework::XConfigurationChangeListener
-        > ToolBarModuleInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper <
+    css::drawing::framework::XConfigurationChangeListener
+    > ToolBarModuleInterfaceBase;
 
 /** This module is responsible for locking the ToolBarManager during
     configuration updates and for triggering ToolBarManager updates.
diff --git a/sd/source/ui/framework/module/ViewTabBarModule.hxx b/sd/source/ui/framework/module/ViewTabBarModule.hxx
index 87962f5..fb6ba51 100644
--- a/sd/source/ui/framework/module/ViewTabBarModule.hxx
+++ b/sd/source/ui/framework/module/ViewTabBarModule.hxx
@@ -29,16 +29,12 @@
 #include <osl/mutex.hxx>
 #include <cppuhelper/compbase.hxx>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XConfigurationChangeListener
     > ViewTabBarModuleInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** This module is responsible for showing the ViewTabBar above the view in
     the center pane.
 */
diff --git a/sd/source/ui/inc/DocumentRenderer.hxx b/sd/source/ui/inc/DocumentRenderer.hxx
index 146ef5d..ddc0421 100644
--- a/sd/source/ui/inc/DocumentRenderer.hxx
+++ b/sd/source/ui/inc/DocumentRenderer.hxx
@@ -29,11 +29,9 @@
 
 namespace sd {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper <
-        css::view::XRenderable
-        > DocumentRendererInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper <
+    css::view::XRenderable
+    > DocumentRendererInterfaceBase;
 
 class DocumentRenderer
     : protected ::cppu::BaseMutex,
diff --git a/sd/source/ui/inc/ViewTabBar.hxx b/sd/source/ui/inc/ViewTabBar.hxx
index a15e849..f13eede 100644
--- a/sd/source/ui/inc/ViewTabBar.hxx
+++ b/sd/source/ui/inc/ViewTabBar.hxx
@@ -39,17 +39,15 @@ namespace sd {
     class ViewShellBase;
 }
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper <
-        css::drawing::framework::XToolBar,
-        css::drawing::framework::XTabBar,
-        css::drawing::framework::XConfigurationChangeListener,
-        css::lang::XUnoTunnel
-        > ViewTabBarInterfaceBase;
-}
-
 namespace sd {
 
+typedef ::cppu::WeakComponentImplHelper <
+    css::drawing::framework::XToolBar,
+    css::drawing::framework::XTabBar,
+    css::drawing::framework::XConfigurationChangeListener,
+    css::lang::XUnoTunnel
+    > ViewTabBarInterfaceBase;
+
 /** Tab control for switching between views in the center pane.
 */
 class ViewTabBar
diff --git a/sd/source/ui/inc/framework/Configuration.hxx b/sd/source/ui/inc/framework/Configuration.hxx
index 03b1272..cf09438 100644
--- a/sd/source/ui/inc/framework/Configuration.hxx
+++ b/sd/source/ui/inc/framework/Configuration.hxx
@@ -30,7 +30,7 @@
 
 #include <memory>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XConfiguration,
@@ -38,10 +38,6 @@ typedef ::cppu::WeakComponentImplHelper <
     css::lang::XServiceInfo
     > ConfigurationInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** A configuration describes the resources of an application like panes,
     views, and tool bars and their relationships that are currently active
     or are requested to be activated. Resources are specified by URLs rather
diff --git a/sd/source/ui/inc/framework/ConfigurationController.hxx b/sd/source/ui/inc/framework/ConfigurationController.hxx
index 1552c29..ee63880b1 100644
--- a/sd/source/ui/inc/framework/ConfigurationController.hxx
+++ b/sd/source/ui/inc/framework/ConfigurationController.hxx
@@ -37,19 +37,15 @@
 
 #include <memory>
 
-namespace {
+namespace sd { class ViewShellBase; }
+
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XConfigurationController,
     css::lang::XInitialization
     > ConfigurationControllerInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { class ViewShellBase; }
-
-namespace sd { namespace framework {
-
 /** The configuration controller is responsible for maintaining the current
     configuration.
 
diff --git a/sd/source/ui/inc/framework/ModuleController.hxx b/sd/source/ui/inc/framework/ModuleController.hxx
index f29450f..35bff5e 100644
--- a/sd/source/ui/inc/framework/ModuleController.hxx
+++ b/sd/source/ui/inc/framework/ModuleController.hxx
@@ -32,17 +32,13 @@
 #include <memory>
 #include <set>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XModuleController,
     css::lang::XInitialization
     > ModuleControllerInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** The ModuleController has to tasks:
 
     1. It reads the
diff --git a/sd/source/ui/inc/framework/Pane.hxx b/sd/source/ui/inc/framework/Pane.hxx
index d2d1233..9a71c4d 100644
--- a/sd/source/ui/inc/framework/Pane.hxx
+++ b/sd/source/ui/inc/framework/Pane.hxx
@@ -32,8 +32,7 @@
 
 namespace vcl { class Window; }
 
-
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
       css::drawing::framework::XPane,
@@ -41,10 +40,6 @@ typedef ::cppu::WeakComponentImplHelper <
       css::lang::XUnoTunnel
     > PaneInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** A pane is a wrapper for a window and possibly for a tab bar (for view
     switching).  Panes are unique resources.
 
diff --git a/sd/source/ui/inc/framework/PresentationFactory.hxx b/sd/source/ui/inc/framework/PresentationFactory.hxx
index 32675d1..2e8bed5 100644
--- a/sd/source/ui/inc/framework/PresentationFactory.hxx
+++ b/sd/source/ui/inc/framework/PresentationFactory.hxx
@@ -33,17 +33,13 @@
 
 #include <memory>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper <
     css::drawing::framework::XResourceFactory,
     css::drawing::framework::XConfigurationChangeListener
     > PresentationFactoryInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** This factory creates a marker view whose existence in a configuration
     indicates that a slideshow is running (in another but associated
     application window).
diff --git a/sd/source/ui/inc/framework/ResourceId.hxx b/sd/source/ui/inc/framework/ResourceId.hxx
index fea9aa3..0558cdf 100644
--- a/sd/source/ui/inc/framework/ResourceId.hxx
+++ b/sd/source/ui/inc/framework/ResourceId.hxx
@@ -31,7 +31,7 @@
 #include <cppuhelper/implbase.hxx>
 #include <memory>
 
-namespace {
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakImplHelper <
     css::drawing::framework::XResourceId,
@@ -39,10 +39,6 @@ typedef ::cppu::WeakImplHelper <
     css::lang::XServiceInfo
     > ResourceIdInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { namespace framework {
-
 /** Implementation of the css::drawing::framework::ResourceId
     service and the css::drawing::framework::XResourceId
     interface.
diff --git a/sd/source/ui/inc/framework/ViewShellWrapper.hxx b/sd/source/ui/inc/framework/ViewShellWrapper.hxx
index 909f6fd..061d185 100644
--- a/sd/source/ui/inc/framework/ViewShellWrapper.hxx
+++ b/sd/source/ui/inc/framework/ViewShellWrapper.hxx
@@ -32,7 +32,10 @@
 
 #include <memory>
 
-namespace {
+namespace sd { class ViewShell; }
+namespace sd { namespace slidesorter { class SlideSorterViewShell; } }
+
+namespace sd { namespace framework {
 
 typedef ::cppu::WeakComponentImplHelper    <   css::lang::XUnoTunnel
                                             ,   css::awt::XWindowListener
@@ -41,13 +44,6 @@ typedef ::cppu::WeakComponentImplHelper    <   css::lang::XUnoTunnel
                                             ,   css::drawing::framework::XView
                                             >   ViewShellWrapperInterfaceBase;
 
-} // end of anonymous namespace.
-
-namespace sd { class ViewShell; }
-namespace sd { namespace slidesorter { class SlideSorterViewShell; } }
-
-namespace sd { namespace framework {
-
 /** This class wraps ViewShell objects and makes them look like an XView.
     Most importantly it provides a tunnel to the ViewShell implementation.
     Then it forwards size changes of the pane window to the view shell.
diff --git a/sd/source/ui/inc/tools/PropertySet.hxx b/sd/source/ui/inc/tools/PropertySet.hxx
index 912e263..7ec5a66 100644
--- a/sd/source/ui/inc/tools/PropertySet.hxx
+++ b/sd/source/ui/inc/tools/PropertySet.hxx
@@ -28,11 +28,9 @@
 
 namespace sd { namespace tools {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper <
-        css::beans::XPropertySet
-    > PropertySetInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper <
+    css::beans::XPropertySet
+> PropertySetInterfaceBase;
 
 /** A very simple implementation of the XPropertySet interface.  It does not
     support constrained properties and thus does not support vetoable
diff --git a/sd/source/ui/presenter/PresenterCanvas.hxx b/sd/source/ui/presenter/PresenterCanvas.hxx
index a31e899..0199037 100644
--- a/sd/source/ui/presenter/PresenterCanvas.hxx
+++ b/sd/source/ui/presenter/PresenterCanvas.hxx
@@ -38,13 +38,11 @@
 
 namespace sd { namespace presenter {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper <
-        css::rendering::XSpriteCanvas,
-        css::rendering::XBitmap,
-        css::awt::XWindowListener
-    > PresenterCanvasInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper <
+    css::rendering::XSpriteCanvas,
+    css::rendering::XBitmap,
+    css::awt::XWindowListener
+> PresenterCanvasInterfaceBase;
 
 /** Wrapper around a shared canvas that forwards most of its methods to the
     shared canvas.  Most notable differences are:
diff --git a/sd/source/ui/presenter/PresenterHelper.hxx b/sd/source/ui/presenter/PresenterHelper.hxx
index be955fc..e5f0113 100644
--- a/sd/source/ui/presenter/PresenterHelper.hxx
+++ b/sd/source/ui/presenter/PresenterHelper.hxx
@@ -28,12 +28,10 @@
 
 namespace sd { namespace presenter {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper<
-        css::lang::XInitialization,
-        css::drawing::XPresenterHelper
-    > PresenterHelperInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper<
+    css::lang::XInitialization,
+    css::drawing::XPresenterHelper
+> PresenterHelperInterfaceBase;
 
 /** Implementation of the XPresenterHelper interface: functionality that can
     not be implemented in an extension.
diff --git a/sd/source/ui/presenter/PresenterPreviewCache.hxx b/sd/source/ui/presenter/PresenterPreviewCache.hxx
index 2e13d97..958f5b5 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.hxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.hxx
@@ -30,12 +30,10 @@
 
 namespace sd { namespace presenter {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper<
-        css::lang::XInitialization,
-        css::drawing::XSlidePreviewCache
-    > PresenterPreviewCacheInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper<
+    css::lang::XInitialization,
+    css::drawing::XSlidePreviewCache
+> PresenterPreviewCacheInterfaceBase;
 
 /** Uno API wrapper around the slide preview cache.
 */
diff --git a/sd/source/ui/presenter/PresenterTextView.hxx b/sd/source/ui/presenter/PresenterTextView.hxx
index f49ef4f..1649648 100644
--- a/sd/source/ui/presenter/PresenterTextView.hxx
+++ b/sd/source/ui/presenter/PresenterTextView.hxx
@@ -33,12 +33,10 @@ namespace com { namespace sun { namespace star { namespace uno {
 
 namespace sd { namespace presenter {
 
-namespace {
-    typedef ::cppu::ImplInheritanceHelper <
-        tools::PropertySet,
-        css::lang::XInitialization
-    > PresenterTextViewInterfaceBase;
-}
+typedef ::cppu::ImplInheritanceHelper <
+    tools::PropertySet,
+    css::lang::XInitialization
+> PresenterTextViewInterfaceBase;
 
 /** Render text into bitmaps.  An edit engine is used to render the text.
     This service is used by the presenter screen to render the notes view.
diff --git a/sd/source/ui/presenter/SlideRenderer.hxx b/sd/source/ui/presenter/SlideRenderer.hxx
index 128bc46..6a13668 100644
--- a/sd/source/ui/presenter/SlideRenderer.hxx
+++ b/sd/source/ui/presenter/SlideRenderer.hxx
@@ -33,13 +33,11 @@
 
 namespace sd { namespace presenter {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper <
-        css::drawing::XSlideRenderer,
-        css::lang::XInitialization,
-        css::lang::XServiceInfo
-    > SlideRendererInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper <
+    css::drawing::XSlideRenderer,
+    css::lang::XInitialization,
+    css::lang::XServiceInfo
+> SlideRendererInterfaceBase;
 
 /** Render single slides into bitmaps.
 */
diff --git a/sd/source/ui/sidebar/PanelFactory.hxx b/sd/source/ui/sidebar/PanelFactory.hxx
index a2bcf78..de4a6ec 100644
--- a/sd/source/ui/sidebar/PanelFactory.hxx
+++ b/sd/source/ui/sidebar/PanelFactory.hxx
@@ -37,12 +37,9 @@ namespace sd {
 
 namespace sd { namespace sidebar {
 
-namespace
-{
-    typedef ::cppu::WeakComponentImplHelper <
-        css::ui::XUIElementFactory
-        > PanelFactoryInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper <
+    css::ui::XUIElementFactory
+    > PanelFactoryInterfaceBase;
 
 class PanelFactory
     : private ::cppu::BaseMutex,
diff --git a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
index 1ae3304..f6e4b1a 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorterService.hxx
@@ -35,13 +35,11 @@
 
 namespace sd { namespace slidesorter {
 
-namespace {
-    typedef ::cppu::WeakComponentImplHelper <
-        css::drawing::XSlideSorterBase,
-        css::lang::XInitialization,
-        css::awt::XWindowListener
-    > SlideSorterServiceInterfaceBase;
-}
+typedef ::cppu::WeakComponentImplHelper <
+    css::drawing::XSlideSorterBase,
+    css::lang::XInitialization,
+    css::awt::XWindowListener
+> SlideSorterServiceInterfaceBase;
 
 /** Implementation of the com.sun.star.drawing.SlideSorter service.
 */


More information about the Libreoffice-commits mailing list