diff options
author | Alexander Wilms <f.alexander.wilms@gmail.com> | 2014-02-25 23:45:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-26 06:53:03 -0600 |
commit | 2ef9df8aee696993d9eb235fd36caa4cbcfd3624 (patch) | |
tree | 7b9a351a3362f45a909299c93192bd11a2fd0c4e /sd/workben | |
parent | 7e92d9881f039899262882633712ec0a3de01474 (diff) |
Remove visual noise from sd
Change-Id: I0957cabd66ddc4e25c7e6ff54ec2a555eda0792c
Reviewed-on: https://gerrit.libreoffice.org/8306
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sd/workben')
-rw-r--r-- | sd/workben/custompanel/ctp_panel.cxx | 16 | ||||
-rw-r--r-- | sd/workben/custompanel/ctp_panel.hxx | 12 |
2 files changed, 13 insertions, 15 deletions
diff --git a/sd/workben/custompanel/ctp_panel.cxx b/sd/workben/custompanel/ctp_panel.cxx index 99fad9ef0cb2..353a1ced2734 100644 --- a/sd/workben/custompanel/ctp_panel.cxx +++ b/sd/workben/custompanel/ctp_panel.cxx @@ -32,10 +32,10 @@ #include <tools/diagnose_ex.h> -//...................................................................................................................... + namespace sd { namespace colortoolpanel { -//...................................................................................................................... + using ::com::sun::star::uno::Reference; using ::com::sun::star::uno::XInterface; @@ -70,9 +70,9 @@ namespace sd { namespace colortoolpanel namespace WindowAttribute = ::com::sun::star::awt::WindowAttribute; namespace PosSize = ::com::sun::star::awt::PosSize; - //================================================================================================================== + //= helpers - //================================================================================================================== + namespace { Reference< XWindow > lcl_createPlainWindow_nothrow( const Reference< XComponentContext >& i_rContext, @@ -100,9 +100,9 @@ namespace sd { namespace colortoolpanel return NULL; } } - //================================================================================================================== + //= class SingleColorPanel - //================================================================================================================== + SingleColorPanel::SingleColorPanel( const Reference< XComponentContext >& i_rContext, const Reference< XConfigurationController >& i_rConfigController, const Reference< XResourceId >& i_rResourceId ) @@ -230,8 +230,8 @@ namespace sd { namespace colortoolpanel m_xWindow.clear(); } -//...................................................................................................................... + } } // namespace sd::colortoolpanel -//...................................................................................................................... + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sd/workben/custompanel/ctp_panel.hxx b/sd/workben/custompanel/ctp_panel.hxx index b067ddc6bddc..bbe0379eac2d 100644 --- a/sd/workben/custompanel/ctp_panel.hxx +++ b/sd/workben/custompanel/ctp_panel.hxx @@ -32,14 +32,13 @@ #include <boost/scoped_ptr.hpp> -//...................................................................................................................... + namespace sd { namespace colortoolpanel { -//...................................................................................................................... - //================================================================================================================== - //= class SingleColorPanel - //================================================================================================================== + + + // class SingleColorPanel typedef ::cppu::WeakComponentImplHelper3 < ::com::sun::star::drawing::framework::XView , ::com::sun::star::ui::XToolPanel , ::com::sun::star::awt::XPaintListener @@ -83,9 +82,8 @@ namespace sd { namespace colortoolpanel ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xWindow; }; -//...................................................................................................................... + } } // namespace sd::colortoolpanel -//...................................................................................................................... #endif // INCLUDED_SD_WORKBEN_CUSTOMPANEL_CTP_PANEL_HXX |