diff options
-rw-r--r-- | svx/source/tbxctrls/tbxcolor.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/tbxctrls/tbxcolor.cxx b/svx/source/tbxctrls/tbxcolor.cxx index 5336f070aadf..3a17e38820a4 100644 --- a/svx/source/tbxctrls/tbxcolor.cxx +++ b/svx/source/tbxctrls/tbxcolor.cxx @@ -34,11 +34,8 @@ namespace svx using namespace ::com::sun::star::frame; using namespace ::com::sun::star::beans; - #define TOOLBAR_RESNAME "private:resource/toolbar/" - #define PROPNAME_LAYOUTMANAGER "LayoutManager" - ToolboxAccess::ToolboxAccess( const OUString& rToolboxName ) : - m_sToolboxResName ( TOOLBAR_RESNAME ) + m_sToolboxResName ( "private:resource/toolbar/" ) { m_sToolboxResName += rToolboxName; @@ -50,7 +47,7 @@ namespace svx Reference< XFrame > xFrame = SfxViewFrame::Current()->GetFrame().GetFrameInterface(); Reference< XPropertySet > xFrameProps( xFrame, UNO_QUERY ); if ( xFrameProps.is() ) - xFrameProps->getPropertyValue( PROPNAME_LAYOUTMANAGER ) >>= m_xLayouter; + xFrameProps->getPropertyValue( "LayoutManager" ) >>= m_xLayouter; } catch ( Exception const & ) { |