svx/source/tbxctrls/tbxcolor.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)
New commits: commit 83fedc02f2d831774c12d60097a99e968b56dc5e Author: Tor Lillqvist <t...@collabora.com> AuthorDate: Fri Dec 20 16:36:31 2019 +0200 Commit: Tor Lillqvist <t...@collabora.com> CommitDate: Fri Dec 20 18:55:05 2019 +0100 Get rid of two pointless #defines Change-Id: I7479f4f1c440bba1dd9f922c4df32ab877e0a803 Reviewed-on: https://gerrit.libreoffice.org/85619 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tor Lillqvist <t...@collabora.com> diff --git a/svx/source/tbxctrls/tbxcolor.cxx b/svx/source/tbxctrls/tbxcolor.cxx index 7112f7dada98..3b7f3e04e999 100644 --- a/svx/source/tbxctrls/tbxcolor.cxx +++ b/svx/source/tbxctrls/tbxcolor.cxx @@ -33,11 +33,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; @@ -49,7 +46,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& ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits