[Libreoffice-commits] core.git: canvas/source dbaccess/source forms/source include/comphelper include/svtools include/svx include/toolkit svx/source toolkit/source

Stephan Bergmann sbergman at redhat.com
Mon Apr 7 08:28:14 PDT 2014


 canvas/source/cairo/cairo_canvas.hxx             |    2 
 canvas/source/cairo/cairo_canvasbitmap.hxx       |    2 
 canvas/source/cairo/cairo_canvascustomsprite.hxx |    2 
 canvas/source/cairo/cairo_spritecanvas.hxx       |    2 
 canvas/source/directx/dx_canvas.hxx              |    4 -
 canvas/source/directx/dx_canvascustomsprite.hxx  |    2 
 canvas/source/directx/dx_spritecanvas.hxx        |    2 
 canvas/source/opengl/ogl_spritecanvas.hxx        |    2 
 canvas/source/vcl/canvas.hxx                     |    2 
 canvas/source/vcl/canvascustomsprite.hxx         |    2 
 canvas/source/vcl/spritecanvas.hxx               |    2 
 dbaccess/source/ui/inc/exsrcbrw.hxx              |    2 
 dbaccess/source/ui/inc/formadapter.hxx           |    2 
 dbaccess/source/ui/inc/sbagrid.hxx               |    2 
 dbaccess/source/ui/inc/sbamultiplex.hxx          |    4 -
 dbaccess/source/ui/inc/unodatbr.hxx              |    2 
 forms/source/component/Button.hxx                |    4 -
 forms/source/component/Columns.hxx               |    2 
 forms/source/component/ComboBox.hxx              |    2 
 forms/source/component/DatabaseForm.hxx          |    2 
 forms/source/component/Date.hxx                  |    2 
 forms/source/component/Edit.hxx                  |    2 
 forms/source/component/EventThread.hxx           |    2 
 forms/source/component/File.hxx                  |    2 
 forms/source/component/Filter.hxx                |    2 
 forms/source/component/FormattedField.hxx        |    4 -
 forms/source/component/FormattedFieldWrapper.hxx |    2 
 forms/source/component/FormsCollection.hxx       |    2 
 forms/source/component/Grid.hxx                  |    2 
 forms/source/component/ImageButton.hxx           |    2 
 forms/source/component/ImageControl.hxx          |    4 -
 forms/source/component/ListBox.hxx               |    4 -
 forms/source/component/Time.hxx                  |    2 
 forms/source/component/clickableimage.hxx        |    4 -
 forms/source/component/navigationbar.hxx         |    2 
 forms/source/inc/FormComponent.hxx               |    8 +--
 forms/source/inc/InterfaceContainer.hxx          |    2 
 forms/source/richtext/richtextcontrol.hxx        |    2 
 forms/source/richtext/richtextmodel.hxx          |    2 
 forms/source/solar/component/navbarcontrol.hxx   |    2 
 include/comphelper/uno3.hxx                      |   53 +----------------------
 include/svtools/genericunodialog.hxx             |    2 
 include/svx/fmdpage.hxx                          |    2 
 include/svx/fmgridif.hxx                         |   14 +++---
 include/svx/fmsrcimp.hxx                         |    2 
 include/toolkit/controls/tkthrobber.hxx          |    2 
 svx/source/inc/fmshimp.hxx                       |    2 
 svx/source/inc/formdispatchinterceptor.hxx       |    2 
 svx/source/inc/gridcell.hxx                      |   12 ++---
 toolkit/source/controls/tkspinbutton.cxx         |    2 
 50 files changed, 73 insertions(+), 120 deletions(-)

New commits:
commit 6ac0e1399a2be344284f192fb3445489346b1fba
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Apr 7 17:26:06 2014 +0200

    Remove silly PUT_SEMICOLON_AT_THE_END
    
    ...and rather live with macro calls not terminated by semicolons until those
    macros are gone for good anyway.  Completely remove unused
    DECLARE_UNO3_XCOMPONENT_DEFAULTS.
    
    Change-Id: I0d4eb5a91736004b0da2b09fce860e57f6d1ddbd

diff --git a/canvas/source/cairo/cairo_canvas.hxx b/canvas/source/cairo/cairo_canvas.hxx
index 82f3e7d..932a54f 100644
--- a/canvas/source/cairo/cairo_canvas.hxx
+++ b/canvas/source/cairo/cairo_canvas.hxx
@@ -123,7 +123,7 @@ namespace cairocanvas
         //                          Classname     Base doing refcounting        Base implementing the XComponent interface
         //                            |                 |                            |
         //                            V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( Canvas, GraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( Canvas, GraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceName
         virtual OUString SAL_CALL getServiceName(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/canvas/source/cairo/cairo_canvasbitmap.hxx b/canvas/source/cairo/cairo_canvasbitmap.hxx
index 4e2aae9..e0aea49 100644
--- a/canvas/source/cairo/cairo_canvasbitmap.hxx
+++ b/canvas/source/cairo/cairo_canvasbitmap.hxx
@@ -87,7 +87,7 @@ namespace cairocanvas
         //                                    Classname     Base doing refcounting        Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasBitmap, CanvasBitmapBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasBitmap, CanvasBitmapBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceInfo
         virtual OUString SAL_CALL getImplementationName(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/canvas/source/cairo/cairo_canvascustomsprite.hxx b/canvas/source/cairo/cairo_canvascustomsprite.hxx
index 23ec45a..dada920 100644
--- a/canvas/source/cairo/cairo_canvascustomsprite.hxx
+++ b/canvas/source/cairo/cairo_canvascustomsprite.hxx
@@ -109,7 +109,7 @@ namespace cairocanvas
         //                                    Classname           Base doing refcount          Base implementing the XComponent interface
         //                                          |                    |                         |
         //                                          V                    V                         V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasCustomSprite, CanvasCustomSpriteBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasCustomSprite, CanvasCustomSpriteBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceInfo
         virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/canvas/source/cairo/cairo_spritecanvas.hxx b/canvas/source/cairo/cairo_spritecanvas.hxx
index 6737c38..f1f17c4 100644
--- a/canvas/source/cairo/cairo_spritecanvas.hxx
+++ b/canvas/source/cairo/cairo_spritecanvas.hxx
@@ -120,7 +120,7 @@ namespace cairocanvas
         //                                    Classname     Base doing refcounting        Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XBufferController (partial)
         virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/canvas/source/directx/dx_canvas.hxx b/canvas/source/directx/dx_canvas.hxx
index 5467c2d..9ee0195 100644
--- a/canvas/source/directx/dx_canvas.hxx
+++ b/canvas/source/directx/dx_canvas.hxx
@@ -90,7 +90,7 @@ namespace dxcanvas
         //                                    Classname   Base doing refcounting    Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( Canvas, GraphicDeviceBase1_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( Canvas, GraphicDeviceBase1_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceName
         virtual OUString SAL_CALL getServiceName(  ) throw (::com::sun::star::uno::RuntimeException);
@@ -149,7 +149,7 @@ namespace dxcanvas
         //                                    Classname   Base doing refcounting    Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( BitmapCanvas, GraphicDeviceBase2_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( BitmapCanvas, GraphicDeviceBase2_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceName
         virtual OUString SAL_CALL getServiceName(  ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/canvas/source/directx/dx_canvascustomsprite.hxx b/canvas/source/directx/dx_canvascustomsprite.hxx
index ad94a90..1f96957 100644
--- a/canvas/source/directx/dx_canvascustomsprite.hxx
+++ b/canvas/source/directx/dx_canvascustomsprite.hxx
@@ -109,7 +109,7 @@ namespace dxcanvas
         //                                    Classname           Base doing refcount          Base implementing the XComponent interface
         //                                          |                    |                         |
         //                                          V                    V                         V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasCustomSprite, CanvasCustomSpriteBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasCustomSprite, CanvasCustomSpriteBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceInfo
         virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException );
diff --git a/canvas/source/directx/dx_spritecanvas.hxx b/canvas/source/directx/dx_spritecanvas.hxx
index b6bc422..8a2f4fd 100644
--- a/canvas/source/directx/dx_spritecanvas.hxx
+++ b/canvas/source/directx/dx_spritecanvas.hxx
@@ -115,7 +115,7 @@ namespace dxcanvas
         //                                    Classname     Base doing refcounting        Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XBufferController (partial)
         virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException);
diff --git a/canvas/source/opengl/ogl_spritecanvas.hxx b/canvas/source/opengl/ogl_spritecanvas.hxx
index a026144..d65979b 100644
--- a/canvas/source/opengl/ogl_spritecanvas.hxx
+++ b/canvas/source/opengl/ogl_spritecanvas.hxx
@@ -82,7 +82,7 @@ namespace oglcanvas
         //                                    Classname     Base doing refcounting        Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XBufferController (partial)
         virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/canvas/source/vcl/canvas.hxx b/canvas/source/vcl/canvas.hxx
index a2ac127..18fc745 100644
--- a/canvas/source/vcl/canvas.hxx
+++ b/canvas/source/vcl/canvas.hxx
@@ -97,7 +97,7 @@ namespace vclcanvas
         //                                    Classname     Base doing refcounting        Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( Canvas,   GraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( Canvas,   GraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceName
         virtual OUString SAL_CALL getServiceName(  ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/canvas/source/vcl/canvascustomsprite.hxx b/canvas/source/vcl/canvascustomsprite.hxx
index f15ba63..0b5fb50 100644
--- a/canvas/source/vcl/canvascustomsprite.hxx
+++ b/canvas/source/vcl/canvascustomsprite.hxx
@@ -96,7 +96,7 @@ namespace vclcanvas
         //                                    Classname           Base doing refcount          Base implementing the XComponent interface
         //                                          |                    |                         |
         //                                          V                    V                         V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasCustomSprite, CanvasCustomSpriteBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( CanvasCustomSprite, CanvasCustomSpriteBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XServiceInfo
         virtual OUString SAL_CALL getImplementationName() throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/canvas/source/vcl/spritecanvas.hxx b/canvas/source/vcl/spritecanvas.hxx
index f2015ee..19bced3 100644
--- a/canvas/source/vcl/spritecanvas.hxx
+++ b/canvas/source/vcl/spritecanvas.hxx
@@ -122,7 +122,7 @@ namespace vclcanvas
         //                                    Classname     Base doing refcounting        Base implementing the XComponent interface
         //                                       |                 |                            |
         //                                       V                 V                            V
-        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase );
+        DECLARE_UNO3_XCOMPONENT_AGG_DEFAULTS( SpriteCanvas, WindowGraphicDeviceBase_Base, ::cppu::WeakComponentImplHelperBase )
 
         // XBufferController (partial)
         virtual sal_Bool SAL_CALL showBuffer( sal_Bool bUpdateAll ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/dbaccess/source/ui/inc/exsrcbrw.hxx b/dbaccess/source/ui/inc/exsrcbrw.hxx
index acccc3b..7ff31df 100644
--- a/dbaccess/source/ui/inc/exsrcbrw.hxx
+++ b/dbaccess/source/ui/inc/exsrcbrw.hxx
@@ -50,7 +50,7 @@ namespace dbaui
                 SAL_CALL Create(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&);
 
         // UNO
-        DECLARE_UNO3_DEFAULTS(SbaExternalSourceBrowser, OGenericUnoController);
+        DECLARE_UNO3_DEFAULTS(SbaExternalSourceBrowser, OGenericUnoController)
         virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
         //  virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass > >  getIdlClasses(void);
 
diff --git a/dbaccess/source/ui/inc/formadapter.hxx b/dbaccess/source/ui/inc/formadapter.hxx
index 5d3c147..6b0e944 100644
--- a/dbaccess/source/ui/inc/formadapter.hxx
+++ b/dbaccess/source/ui/inc/formadapter.hxx
@@ -160,7 +160,7 @@ namespace dbaui
         void AttachForm(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet >& xNewMaster);
 
         // UNO
-        DECLARE_UNO3_DEFAULTS(SbaXFormAdapter, SbaXFormAdapter_BASE1);
+        DECLARE_UNO3_DEFAULTS(SbaXFormAdapter, SbaXFormAdapter_BASE1)
         virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         // XTypeProvider
diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx
index 203a891..ef9b4db 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -67,7 +67,7 @@ namespace dbaui
         virtual ~SbaXGridControl();
 
         // UNO
-        DECLARE_UNO3_DEFAULTS(SbaXGridControl, FmXGridControl);
+        DECLARE_UNO3_DEFAULTS(SbaXGridControl, FmXGridControl)
         virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         // XTypeProvider
diff --git a/dbaccess/source/ui/inc/sbamultiplex.hxx b/dbaccess/source/ui/inc/sbamultiplex.hxx
index d4fcf63..ba23e75 100644
--- a/dbaccess/source/ui/inc/sbamultiplex.hxx
+++ b/dbaccess/source/ui/inc/sbamultiplex.hxx
@@ -69,7 +69,7 @@ namespace dbaui
     public:                                                                                 \
         classname( ::cppu::OWeakObject& rSource,                                            \
             ::osl::Mutex& rMutex);                                                          \
-        DECLARE_UNO3_DEFAULTS(classname, OSbaWeakSubObject);                                    \
+        DECLARE_UNO3_DEFAULTS(classname, OSbaWeakSubObject)                                     \
         virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(                        \
             const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
                                                                                             \
@@ -190,7 +190,7 @@ namespace dbaui
                                                                                             \
     public:                                                                                 \
         classname( ::cppu::OWeakObject& rSource, ::osl::Mutex& rMutex );                    \
-        DECLARE_UNO3_DEFAULTS(classname, OSbaWeakSubObject);                                    \
+        DECLARE_UNO3_DEFAULTS(classname, OSbaWeakSubObject)                                     \
         virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(                        \
             const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
                                                                                             \
diff --git a/dbaccess/source/ui/inc/unodatbr.hxx b/dbaccess/source/ui/inc/unodatbr.hxx
index 04c8157..916e6b5 100644
--- a/dbaccess/source/ui/inc/unodatbr.hxx
+++ b/dbaccess/source/ui/inc/unodatbr.hxx
@@ -145,7 +145,7 @@ namespace dbaui
         static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
                 SAL_CALL Create(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >&);
 
-        DECLARE_UNO3_DEFAULTS(SbaTableQueryBrowser,SbaXDataBrowserController);
+        DECLARE_UNO3_DEFAULTS(SbaTableQueryBrowser,SbaXDataBrowserController)
         // late construction
         virtual bool Construct(Window* pParent) SAL_OVERRIDE;
         // XInterface
diff --git a/forms/source/component/Button.hxx b/forms/source/component/Button.hxx
index e4bd08f..c28b516 100644
--- a/forms/source/component/Button.hxx
+++ b/forms/source/component/Button.hxx
@@ -52,7 +52,7 @@ public:
     DECLARE_DEFAULT_LEAF_XTOR( OButtonModel );
 
     // UNO
-    DECLARE_UNO3_AGG_DEFAULTS( OButtonModel, OClickableImageBaseModel );
+    DECLARE_UNO3_AGG_DEFAULTS( OButtonModel, OClickableImageBaseModel )
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes() SAL_OVERRIDE;
@@ -138,7 +138,7 @@ public:
     virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE;
 
     // UNO binding
-    DECLARE_UNO3_AGG_DEFAULTS(OButtonControl, OClickableImageBaseControl);
+    DECLARE_UNO3_AGG_DEFAULTS(OButtonControl, OClickableImageBaseControl)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XActionListener
diff --git a/forms/source/component/Columns.hxx b/forms/source/component/Columns.hxx
index c16e0b7..58f22b1 100644
--- a/forms/source/component/Columns.hxx
+++ b/forms/source/component/Columns.hxx
@@ -71,7 +71,7 @@ public:
     virtual ~OGridColumn();
 
     // UNO binding
-    DECLARE_UNO3_AGG_DEFAULTS(OGridControlModel, OGridColumn_BASE);
+    DECLARE_UNO3_AGG_DEFAULTS(OGridControlModel, OGridColumn_BASE)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     static const ::com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelImplementationId();
diff --git a/forms/source/component/ComboBox.hxx b/forms/source/component/ComboBox.hxx
index 1afc0b4..1862156 100644
--- a/forms/source/component/ComboBox.hxx
+++ b/forms/source/component/ComboBox.hxx
@@ -94,7 +94,7 @@ public:
     virtual StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // UNO
-    DECLARE_UNO3_AGG_DEFAULTS(OComboBoxModel, OBoundControlModel);
+    DECLARE_UNO3_AGG_DEFAULTS(OComboBoxModel, OBoundControlModel)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XPersistObject
diff --git a/forms/source/component/DatabaseForm.hxx b/forms/source/component/DatabaseForm.hxx
index b4762ba..80e2cbe 100644
--- a/forms/source/component/DatabaseForm.hxx
+++ b/forms/source/component/DatabaseForm.hxx
@@ -223,7 +223,7 @@ public:
     virtual ~ODatabaseForm();
 
     // UNO binding
-    DECLARE_UNO3_AGG_DEFAULTS(ODatabaseForm, OFormComponents);
+    DECLARE_UNO3_AGG_DEFAULTS(ODatabaseForm, OFormComponents)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XTypeProvider
diff --git a/forms/source/component/Date.hxx b/forms/source/component/Date.hxx
index 13dda60..82fb195 100644
--- a/forms/source/component/Date.hxx
+++ b/forms/source/component/Date.hxx
@@ -110,7 +110,7 @@ protected:
 
 public:
     ODateControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory);
-    DECLARE_UNO3_AGG_DEFAULTS(ODateControl, OBoundControl);
+    DECLARE_UNO3_AGG_DEFAULTS(ODateControl, OBoundControl)
 
 // ::com::sun::star::lang::XServiceInfo
     IMPLEMENTATION_NAME(ODateControl);
diff --git a/forms/source/component/Edit.hxx b/forms/source/component/Edit.hxx
index 12333d8..8a1cdcf 100644
--- a/forms/source/component/Edit.hxx
+++ b/forms/source/component/Edit.hxx
@@ -138,7 +138,7 @@ public:
     OEditControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext);
     virtual ~OEditControl();
 
-    DECLARE_UNO3_AGG_DEFAULTS(OEditControl, OBoundControl);
+    DECLARE_UNO3_AGG_DEFAULTS(OEditControl, OBoundControl)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes() SAL_OVERRIDE;
diff --git a/forms/source/component/EventThread.hxx b/forms/source/component/EventThread.hxx
index 0d9018a..1f56f3b 100644
--- a/forms/source/component/EventThread.hxx
+++ b/forms/source/component/EventThread.hxx
@@ -87,7 +87,7 @@ protected:
 public:
 
     // UNO Anbindung
-    DECLARE_UNO3_DEFAULTS(OComponentEventThread, OWeakObject);
+    DECLARE_UNO3_DEFAULTS(OComponentEventThread, OWeakObject)
     virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     OComponentEventThread(::cppu::OComponentHelper* pCompImpl);
diff --git a/forms/source/component/File.hxx b/forms/source/component/File.hxx
index ed643b3..af3ae37 100644
--- a/forms/source/component/File.hxx
+++ b/forms/source/component/File.hxx
@@ -43,7 +43,7 @@ protected:
 public:
     DECLARE_DEFAULT_LEAF_XTOR( OFileControlModel );
 
-    DECLARE_UNO3_AGG_DEFAULTS(OFileControlModel, OControlModel);
+    DECLARE_UNO3_AGG_DEFAULTS(OFileControlModel, OControlModel)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XServiceInfo
diff --git a/forms/source/component/Filter.hxx b/forms/source/component/Filter.hxx
index e42abe2..f61b7ab4 100644
--- a/forms/source/component/Filter.hxx
+++ b/forms/source/component/Filter.hxx
@@ -83,7 +83,7 @@ namespace frm
     public:
         OFilterControl( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB );
 
-        DECLARE_UNO3_AGG_DEFAULTS(OFilterControl,OWeakAggObject);
+        DECLARE_UNO3_AGG_DEFAULTS(OFilterControl,OWeakAggObject)
         ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         virtual OUString GetComponentServiceName() SAL_OVERRIDE;
diff --git a/forms/source/component/FormattedField.hxx b/forms/source/component/FormattedField.hxx
index ae71e45..0c99bf4 100644
--- a/forms/source/component/FormattedField.hxx
+++ b/forms/source/component/FormattedField.hxx
@@ -56,7 +56,7 @@ class OFormattedModel
 
     protected:
         // XInterface
-        DECLARE_UNO3_AGG_DEFAULTS( OFormattedModel, OEditBaseModel );
+        DECLARE_UNO3_AGG_DEFAULTS( OFormattedModel, OEditBaseModel )
 
         // XTypeProvider
         virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes() SAL_OVERRIDE;
@@ -151,7 +151,7 @@ class OFormattedModel
         OFormattedControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext);
         virtual ~OFormattedControl();
 
-        DECLARE_UNO3_AGG_DEFAULTS(OFormattedControl, OBoundControl);
+        DECLARE_UNO3_AGG_DEFAULTS(OFormattedControl, OBoundControl)
         virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes() SAL_OVERRIDE;
diff --git a/forms/source/component/FormattedFieldWrapper.hxx b/forms/source/component/FormattedFieldWrapper.hxx
index 2cef250..1315d4f 100644
--- a/forms/source/component/FormattedFieldWrapper.hxx
+++ b/forms/source/component/FormattedFieldWrapper.hxx
@@ -65,7 +65,7 @@ protected:
 
 public:
     // UNO
-    DECLARE_UNO3_AGG_DEFAULTS(OFormattedFieldWrapper, OWeakAggObject);
+    DECLARE_UNO3_AGG_DEFAULTS(OFormattedFieldWrapper, OWeakAggObject)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XServiceInfo
diff --git a/forms/source/component/FormsCollection.hxx b/forms/source/component/FormsCollection.hxx
index 05ce7d5..2a8dce1 100644
--- a/forms/source/component/FormsCollection.hxx
+++ b/forms/source/component/FormsCollection.hxx
@@ -55,7 +55,7 @@ public:
     virtual ~OFormsCollection();
 
 public:
-    DECLARE_UNO3_AGG_DEFAULTS(OFormsCollection, FormsCollectionComponentBase);
+    DECLARE_UNO3_AGG_DEFAULTS(OFormsCollection, FormsCollectionComponentBase)
 
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
diff --git a/forms/source/component/Grid.hxx b/forms/source/component/Grid.hxx
index fe62376..5561a76 100644
--- a/forms/source/component/Grid.hxx
+++ b/forms/source/component/Grid.hxx
@@ -103,7 +103,7 @@ public:
     DECLARE_DEFAULT_LEAF_XTOR( OGridControlModel );
 
     // UNO Anbindung
-    DECLARE_UNO3_AGG_DEFAULTS(OGridControlModel, OControlModel);
+    DECLARE_UNO3_AGG_DEFAULTS(OGridControlModel, OControlModel)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XChild
diff --git a/forms/source/component/ImageButton.hxx b/forms/source/component/ImageButton.hxx
index e7775bf..0214024 100644
--- a/forms/source/component/ImageButton.hxx
+++ b/forms/source/component/ImageButton.hxx
@@ -74,7 +74,7 @@ public:
     virtual StringSequence SAL_CALL getSupportedServiceNames() throw(std::exception) SAL_OVERRIDE;
 
     // UNO Anbindung
-    DECLARE_UNO3_AGG_DEFAULTS(OImageButtonControl, OClickableImageBaseControl);
+    DECLARE_UNO3_AGG_DEFAULTS(OImageButtonControl, OClickableImageBaseControl)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XEventListener
diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx
index 6cabd97..dc1b3a0 100644
--- a/forms/source/component/ImageControl.hxx
+++ b/forms/source/component/ImageControl.hxx
@@ -73,7 +73,7 @@ public:
         throw(::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE;
 
     // UNO Anbindung
-    DECLARE_UNO3_AGG_DEFAULTS(OImageControlModel, OBoundControlModel);
+    DECLARE_UNO3_AGG_DEFAULTS(OImageControlModel, OBoundControlModel)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XServiceInfo
@@ -162,7 +162,7 @@ public:
     OImageControlControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory);
 
     // UNO
-    DECLARE_UNO3_AGG_DEFAULTS( OImageControlControl, OBoundControl );
+    DECLARE_UNO3_AGG_DEFAULTS( OImageControlControl, OBoundControl )
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XEventListener
diff --git a/forms/source/component/ListBox.hxx b/forms/source/component/ListBox.hxx
index b5569db..f61fba4 100644
--- a/forms/source/component/ListBox.hxx
+++ b/forms/source/component/ListBox.hxx
@@ -133,7 +133,7 @@ public:
     virtual StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // UNO Anbindung
-    DECLARE_UNO3_AGG_DEFAULTS(OListBoxModel, OBoundControlModel);
+    DECLARE_UNO3_AGG_DEFAULTS(OListBoxModel, OBoundControlModel)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // OComponentHelper
@@ -275,7 +275,7 @@ public:
     virtual ~OListBoxControl();
 
     // UNO Anbindung
-    DECLARE_UNO3_AGG_DEFAULTS(OListBoxControl, OBoundControl);
+    DECLARE_UNO3_AGG_DEFAULTS(OListBoxControl, OBoundControl)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // XServiceInfo
diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx
index 81c4594..5647502 100644
--- a/forms/source/component/Time.hxx
+++ b/forms/source/component/Time.hxx
@@ -110,7 +110,7 @@ protected:
 
 public:
     OTimeControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory);
-    DECLARE_UNO3_AGG_DEFAULTS(OTimeControl, OBoundControl);
+    DECLARE_UNO3_AGG_DEFAULTS(OTimeControl, OBoundControl)
 
     // ::com::sun::star::lang::XServiceInfo
     IMPLEMENTATION_NAME(OTimeControl);
diff --git a/forms/source/component/clickableimage.hxx b/forms/source/component/clickableimage.hxx
index da3cbbe..453d797 100644
--- a/forms/source/component/clickableimage.hxx
+++ b/forms/source/component/clickableimage.hxx
@@ -91,7 +91,7 @@ namespace frm
         DECLARE_DEFAULT_XTOR( OClickableImageBaseModel );
 
         // UNO Anbindung
-        DECLARE_UNO3_AGG_DEFAULTS(OClickableImageBaseModel, OControlModel);
+        DECLARE_UNO3_AGG_DEFAULTS(OClickableImageBaseModel, OControlModel)
         virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     protected:
@@ -209,7 +209,7 @@ namespace frm
 
     protected:
         // UNO Anbindung
-        DECLARE_UNO3_AGG_DEFAULTS(OClickableImageBaseControl, OControl);
+        DECLARE_UNO3_AGG_DEFAULTS(OClickableImageBaseControl, OControl)
         virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         // OComponentHelper
diff --git a/forms/source/component/navigationbar.hxx b/forms/source/component/navigationbar.hxx
index debfa10..b3045ebc 100644
--- a/forms/source/component/navigationbar.hxx
+++ b/forms/source/component/navigationbar.hxx
@@ -78,7 +78,7 @@ namespace frm
 
     protected:
         // UNO
-        DECLARE_UNO3_AGG_DEFAULTS( ONavigationBarModel, OControlModel );
+        DECLARE_UNO3_AGG_DEFAULTS( ONavigationBarModel, OControlModel )
         virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         // XServiceInfo
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index adfb2ed..9fbdf37 100644
--- a/forms/source/inc/FormComponent.hxx
+++ b/forms/source/inc/FormComponent.hxx
@@ -221,7 +221,7 @@ protected:
     void    doResetDelegator();
 
 // UNO
-    DECLARE_UNO3_AGG_DEFAULTS(OControl, OComponentHelper);
+    DECLARE_UNO3_AGG_DEFAULTS(OControl, OComponentHelper)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // XTypeProvider
@@ -298,7 +298,7 @@ public:
 
     virtual ~OBoundControl();
 
-    DECLARE_UNO3_AGG_DEFAULTS(OBoundControl, OControl);
+    DECLARE_UNO3_AGG_DEFAULTS(OBoundControl, OControl)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // XBoundControl
@@ -405,7 +405,7 @@ protected:
     ::com::sun::star::uno::Sequence< OUString > getAggregateServiceNames();
 
 public:
-    DECLARE_UNO3_AGG_DEFAULTS(OControl, OComponentHelper);
+    DECLARE_UNO3_AGG_DEFAULTS(OControl, OComponentHelper)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // XTypeProvider
@@ -1022,7 +1022,7 @@ public:
 
 public:
     // UNO Anbindung
-    DECLARE_UNO3_AGG_DEFAULTS(OBoundControlModel, OControlModel);
+    DECLARE_UNO3_AGG_DEFAULTS(OBoundControlModel, OControlModel)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     // OComponentHelper
diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx
index f305a3a..ddb8bbd 100644
--- a/forms/source/inc/InterfaceContainer.hxx
+++ b/forms/source/inc/InterfaceContainer.hxx
@@ -299,7 +299,7 @@ public:
     OFormComponents( const OFormComponents& _cloneSource );
     virtual ~OFormComponents();
 
-    DECLARE_UNO3_AGG_DEFAULTS(OFormComponents, FormComponentsBase);
+    DECLARE_UNO3_AGG_DEFAULTS(OFormComponents, FormComponentsBase)
 
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx
index a74e92e..ba719cb 100644
--- a/forms/source/richtext/richtextcontrol.hxx
+++ b/forms/source/richtext/richtextcontrol.hxx
@@ -62,7 +62,7 @@ namespace frm
 
     protected:
         // UNO
-        DECLARE_UNO3_AGG_DEFAULTS( ORichTextControl, UnoEditControl );
+        DECLARE_UNO3_AGG_DEFAULTS( ORichTextControl, UnoEditControl )
         virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
 
         // XControl
diff --git a/forms/source/richtext/richtextmodel.hxx b/forms/source/richtext/richtextmodel.hxx
index 3c53846..5cc32ca 100644
--- a/forms/source/richtext/richtextmodel.hxx
+++ b/forms/source/richtext/richtextmodel.hxx
@@ -103,7 +103,7 @@ namespace frm
         DECLARE_DEFAULT_LEAF_XTOR( ORichTextModel );
 
         // UNO
-        DECLARE_UNO3_AGG_DEFAULTS( ORichTextModel, OControlModel );
+        DECLARE_UNO3_AGG_DEFAULTS( ORichTextModel, OControlModel )
         virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         // XServiceInfo
diff --git a/forms/source/solar/component/navbarcontrol.hxx b/forms/source/solar/component/navbarcontrol.hxx
index 36faf57..962cda8 100644
--- a/forms/source/solar/component/navbarcontrol.hxx
+++ b/forms/source/solar/component/navbarcontrol.hxx
@@ -63,7 +63,7 @@ namespace frm
 
     protected:
         // UNO
-        DECLARE_UNO3_AGG_DEFAULTS( ONavigationBarControl, UnoControl );
+        DECLARE_UNO3_AGG_DEFAULTS( ONavigationBarControl, UnoControl )
         virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
 
         // XControl
diff --git a/include/comphelper/uno3.hxx b/include/comphelper/uno3.hxx
index 0bebb9f..e853590 100644
--- a/include/comphelper/uno3.hxx
+++ b/include/comphelper/uno3.hxx
@@ -44,8 +44,7 @@ namespace comphelper
     */
     #define DECLARE_UNO3_DEFAULTS(classname, baseclass) \
         virtual void    SAL_CALL acquire() throw() SAL_OVERRIDE { baseclass::acquire(); }    \
-        virtual void    SAL_CALL release() throw() SAL_OVERRIDE { baseclass::release(); }    \
-        void            SAL_CALL PUT_SEMICOLON_AT_THE_END()
+        virtual void    SAL_CALL release() throw() SAL_OVERRIDE { baseclass::release(); }
 
     /** used for declaring UNO3-Defaults, i.e. acquire/release if you want to forward all queryInterfaces to the base class,
         (e.g. if you overload queryAggregation)
@@ -54,50 +53,7 @@ namespace comphelper
         virtual void            SAL_CALL acquire() throw() SAL_OVERRIDE { baseclass::acquire(); } \
         virtual void            SAL_CALL release() throw() SAL_OVERRIDE { baseclass::release(); }    \
         virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE \
-            { return baseclass::queryInterface(_rType); } \
-        void                    SAL_CALL PUT_SEMICOLON_AT_THE_END()
-
-    /** Use this macro to forward XComponent methods to base class
-
-        When using the ::cppu::WeakComponentImplHelper base classes to
-        implement a UNO interface, a problem occurs when the interface
-        itself already derives from XComponent (like e.g. awt::XWindow
-        or awt::XControl): ::cppu::WeakComponentImplHelper is then
-        still abstract. Using this macro in the most derived class
-        definition provides overrides for the XComponent methods,
-        forwarding them to the given baseclass.
-
-        @param classname
-        Name of the class this macro is issued within
-
-        @param baseclass
-        Name of the baseclass that should have the XInterface methods
-        forwarded to - that's usually the WeakComponentImplHelperN base
-
-        @param implhelper
-        Name of the baseclass that should have the XComponent methods
-        forwarded to - in the case of the WeakComponentImplHelper,
-        that would be ::cppu::WeakComponentImplHelperBase
-    */
-    #define DECLARE_UNO3_XCOMPONENT_DEFAULTS(classname, baseclass, implhelper) \
-        virtual void SAL_CALL acquire() throw() { baseclass::acquire(); }   \
-        virtual void SAL_CALL release() throw() { baseclass::release(); }   \
-        virtual void SAL_CALL dispose() throw (::com::sun::star::uno::RuntimeException) \
-        {                                                                               \
-            implhelper::dispose();                                                      \
-        }                                                                               \
-        virtual void SAL_CALL addEventListener(                                         \
-            ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > const & xListener ) throw (::com::sun::star::uno::RuntimeException) \
-        {                                                                               \
-            implhelper::addEventListener(xListener);                                        \
-        }                                                                               \
-        virtual void SAL_CALL removeEventListener(                                      \
-            ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > const & xListener ) throw (::com::sun::star::uno::RuntimeException) \
-        {                                                                               \
-            implhelper::removeEventListener(xListener);                                 \
-        }                                                                               \
-        void         SAL_CALL PUT_SEMICOLON_AT_THE_END()
-
+            { return baseclass::queryInterface(_rType); }
 
     /** Use this macro to forward XComponent methods to base class
 
@@ -139,10 +95,7 @@ namespace comphelper
             ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > const & xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE \
         {                                                                               \
             implhelper::removeEventListener(xListener);                                 \
-        }                                                                               \
-        void         SAL_CALL PUT_SEMICOLON_AT_THE_END()
-
-
+        }
 
     //= deriving from multiple XInterface-derived classes
 
diff --git a/include/svtools/genericunodialog.hxx b/include/svtools/genericunodialog.hxx
index 3ec3b7b..19a34f1 100644
--- a/include/svtools/genericunodialog.hxx
+++ b/include/svtools/genericunodialog.hxx
@@ -96,7 +96,7 @@ namespace svt
 
     public:
         // UNO
-        DECLARE_UNO3_DEFAULTS(OGenericUnoDialog, OGenericUnoDialogBase);
+        DECLARE_UNO3_DEFAULTS(OGenericUnoDialog, OGenericUnoDialogBase)
         virtual com::sun::star::uno::Any SAL_CALL queryInterface(const com::sun::star::uno::Type& _rType) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
         // XTypeProvider
diff --git a/include/svx/fmdpage.hxx b/include/svx/fmdpage.hxx
index 86ed1fc..ea78b78 100644
--- a/include/svx/fmdpage.hxx
+++ b/include/svx/fmdpage.hxx
@@ -47,7 +47,7 @@ public:
     virtual ~SvxFmDrawPage() throw ();
 
     // UNO connection
-    DECLARE_UNO3_AGG_DEFAULTS(SvxFmDrawPage, SvxDrawPage);
+    DECLARE_UNO3_AGG_DEFAULTS(SvxFmDrawPage, SvxDrawPage)
 
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& aType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/include/svx/fmgridif.hxx b/include/svx/fmgridif.hxx
index 1b548f6..1f2b2c5 100644
--- a/include/svx/fmgridif.hxx
+++ b/include/svx/fmgridif.hxx
@@ -78,7 +78,7 @@ class FmXModifyMultiplexer  :public OWeakSubObject
 {
 public:
     FmXModifyMultiplexer( ::cppu::OWeakObject& rSource, ::osl::Mutex& rMutex );
-    DECLARE_UNO3_DEFAULTS(FmXModifyMultiplexer,OWeakSubObject);
+    DECLARE_UNO3_DEFAULTS(FmXModifyMultiplexer,OWeakSubObject)
     virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // ::com::sun::star::lang::XEventListener
@@ -101,7 +101,7 @@ class FmXUpdateMultiplexer : public OWeakSubObject,
 {
 public:
     FmXUpdateMultiplexer( ::cppu::OWeakObject& rSource, ::osl::Mutex& rMutex );
-    DECLARE_UNO3_DEFAULTS(FmXUpdateMultiplexer,OWeakSubObject);
+    DECLARE_UNO3_DEFAULTS(FmXUpdateMultiplexer,OWeakSubObject)
 
     virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
@@ -126,7 +126,7 @@ class FmXSelectionMultiplexer   :public OWeakSubObject
 {
 public:
     FmXSelectionMultiplexer( ::cppu::OWeakObject& rSource, ::osl::Mutex& rMutex );
-    DECLARE_UNO3_DEFAULTS(FmXSelectionMultiplexer, OWeakSubObject);
+    DECLARE_UNO3_DEFAULTS(FmXSelectionMultiplexer, OWeakSubObject)
 
     virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
@@ -150,7 +150,7 @@ class FmXGridControlMultiplexer :public OWeakSubObject
 {
 public:
     FmXGridControlMultiplexer( ::cppu::OWeakObject& rSource, ::osl::Mutex& rMutex );
-    DECLARE_UNO3_DEFAULTS( FmXGridControlMultiplexer, OWeakSubObject );
+    DECLARE_UNO3_DEFAULTS( FmXGridControlMultiplexer, OWeakSubObject )
 
     virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
@@ -174,7 +174,7 @@ class FmXContainerMultiplexer : public OWeakSubObject,
 {
 public:
     FmXContainerMultiplexer( ::cppu::OWeakObject& rSource, ::osl::Mutex& rMutex);
-    DECLARE_UNO3_DEFAULTS(FmXContainerMultiplexer,OWeakSubObject);
+    DECLARE_UNO3_DEFAULTS(FmXContainerMultiplexer,OWeakSubObject)
     virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // ::com::sun::star::lang::XEventListener
@@ -226,7 +226,7 @@ public:
     virtual ~FmXGridControl();
 
     // UNO connection
-    DECLARE_UNO3_AGG_DEFAULTS(FmXGridControl, UnoControl);
+    DECLARE_UNO3_AGG_DEFAULTS(FmXGridControl, UnoControl)
     virtual ::com::sun::star::uno::Any  SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // XTypeProvider
@@ -379,7 +379,7 @@ public:
     void Create(Window* pParent, WinBits nStyle);
 
 // UNO connection
-    DECLARE_UNO3_DEFAULTS(FmXGridPeer, VCLXWindow);
+    DECLARE_UNO3_DEFAULTS(FmXGridPeer, VCLXWindow)
     virtual ::com::sun::star::uno::Any  SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // XTypeProvider
diff --git a/include/svx/fmsrcimp.hxx b/include/svx/fmsrcimp.hxx
index 00d030a..99d3c42 100644
--- a/include/svx/fmsrcimp.hxx
+++ b/include/svx/fmsrcimp.hxx
@@ -97,7 +97,7 @@ public:
     // the set has to support the sdb::ResultSet service
     virtual ~FmRecordCountListener();
 
-    //  DECLARE_UNO3_AGG_DEFAULTS(FmPropertyListener, UsrObject);
+    //  DECLARE_UNO3_AGG_DEFAULTS(FmPropertyListener, UsrObject)
     //  virtual sal_Bool queryInterface(::com::sun::star::uno::Uik aUik, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& rOut);
 
     // ::com::sun::star::lang::XEventListener
diff --git a/include/toolkit/controls/tkthrobber.hxx b/include/toolkit/controls/tkthrobber.hxx
index f952b27..972690e 100644
--- a/include/toolkit/controls/tkthrobber.hxx
+++ b/include/toolkit/controls/tkthrobber.hxx
@@ -75,7 +75,7 @@ namespace toolkit
                                     UnoThrobberControl();
         OUString             GetComponentServiceName();
 
-        DECLARE_UNO3_AGG_DEFAULTS( UnoThrobberControl, UnoControlBase );
+        DECLARE_UNO3_AGG_DEFAULTS( UnoThrobberControl, UnoControlBase )
         ::com::sun::star::uno::Any  SAL_CALL queryAggregation( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException);
 
         void SAL_CALL createPeer( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XToolkit >& Toolkit, const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& Parent ) throw(::com::sun::star::uno::RuntimeException);
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx
index 9798076..bb2623e 100644
--- a/svx/source/inc/fmshimp.hxx
+++ b/svx/source/inc/fmshimp.hxx
@@ -258,7 +258,7 @@ public:
     FmXFormShell(FmFormShell& _rShell, SfxViewFrame* _pViewFrame);
 
     // UNO Anbindung
-    DECLARE_UNO3_DEFAULTS(FmXFormShell, FmXFormShell_BASE);
+    DECLARE_UNO3_DEFAULTS(FmXFormShell, FmXFormShell_BASE)
     virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& type) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
 
 protected:
diff --git a/svx/source/inc/formdispatchinterceptor.hxx b/svx/source/inc/formdispatchinterceptor.hxx
index f6d244c..92766a3 100644
--- a/svx/source/inc/formdispatchinterceptor.hxx
+++ b/svx/source/inc/formdispatchinterceptor.hxx
@@ -84,7 +84,7 @@ namespace svxform
         );
 
         // UNO
-        DECLARE_UNO3_DEFAULTS(DispatchInterceptionMultiplexer, DispatchInterceptionMultiplexer_BASE);
+        DECLARE_UNO3_DEFAULTS(DispatchInterceptionMultiplexer, DispatchInterceptionMultiplexer_BASE)
 
         // ::com::sun::star::frame::XDispatchProvider
         virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx
index 15197fe..1778dc6 100644
--- a/svx/source/inc/gridcell.hxx
+++ b/svx/source/inc/gridcell.hxx
@@ -758,7 +758,7 @@ public:
     FmXGridCell( DbGridColumn* pColumn, DbCellControl* pControl );
     void init();
 
-    DECLARE_UNO3_AGG_DEFAULTS(FmXGridCell, OComponentHelper);
+    DECLARE_UNO3_AGG_DEFAULTS(FmXGridCell, OComponentHelper)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     void SetTextLineColor();
@@ -909,7 +909,7 @@ protected:
 public:
     FmXEditCell( DbGridColumn* pColumn, DbCellControl& _rControl );
 
-    DECLARE_UNO3_AGG_DEFAULTS(FmXEditCell, FmXTextCell);
+    DECLARE_UNO3_AGG_DEFAULTS(FmXEditCell, FmXTextCell)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
 // XTypeProvider
@@ -966,7 +966,7 @@ public:
     FmXCheckBoxCell( DbGridColumn* pColumn, DbCellControl& _rControl );
 
 // UNO
-    DECLARE_UNO3_AGG_DEFAULTS(FmXCheckBoxCell, FmXDataCell);
+    DECLARE_UNO3_AGG_DEFAULTS(FmXCheckBoxCell, FmXDataCell)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1009,7 +1009,7 @@ protected:
 public:
     FmXListBoxCell( DbGridColumn* pColumn, DbCellControl& _rControl );
 
-    DECLARE_UNO3_AGG_DEFAULTS(FmXListBoxCell, FmXTextCell);
+    DECLARE_UNO3_AGG_DEFAULTS(FmXListBoxCell, FmXTextCell)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1064,7 +1064,7 @@ protected:
 public:
     FmXComboBoxCell( DbGridColumn* pColumn, DbCellControl& _rControl );
 
-    DECLARE_UNO3_AGG_DEFAULTS(FmXListBoxCell, FmXTextCell);
+    DECLARE_UNO3_AGG_DEFAULTS(FmXListBoxCell, FmXTextCell)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
@@ -1105,7 +1105,7 @@ public:
     FmXFilterCell(DbGridColumn* pColumn = NULL, DbCellControl* pControl = NULL);
 
 
-    DECLARE_UNO3_AGG_DEFAULTS(FmXFilterCell, FmXGridCell);
+    DECLARE_UNO3_AGG_DEFAULTS(FmXFilterCell, FmXGridCell)
     virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes(  ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
     virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/toolkit/source/controls/tkspinbutton.cxx b/toolkit/source/controls/tkspinbutton.cxx
index ee40b0b..c9deabc 100644
--- a/toolkit/source/controls/tkspinbutton.cxx
+++ b/toolkit/source/controls/tkspinbutton.cxx
@@ -78,7 +78,7 @@ public:
                                 UnoSpinButtonControl();
     OUString             GetComponentServiceName() SAL_OVERRIDE;
 
-    DECLARE_UNO3_AGG_DEFAULTS( UnoSpinButtonControl, UnoControlBase );
+    DECLARE_UNO3_AGG_DEFAULTS( UnoSpinButtonControl, UnoControlBase )
     css::uno::Any  SAL_CALL queryAggregation( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
 
     void SAL_CALL createPeer( const css::uno::Reference< css::awt::XToolkit >& Toolkit, const css::uno::Reference< css::awt::XWindowPeer >& Parent ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;


More information about the Libreoffice-commits mailing list