From f1bae1b5c0ba7949f6a91ba938be18589f9accaa Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Wed, 12 Oct 2016 21:15:03 +0300 Subject: This comment is no longer true Change-Id: I5ad9bcba65f1f467f230fe05dff725c474c75494 --- svx/source/tbxctrls/tbcontrl.cxx | 9 --------- svx/source/tbxctrls/tbxcolorupdate.cxx | 11 ----------- 2 files changed, 20 deletions(-) (limited to 'svx/source') diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 688a348fa2df..6ea8a30c53cd 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -2608,15 +2608,6 @@ VclPtr SvxFontNameToolBoxControl::CreateItemWindow( vcl::Window *pP return pBox.get(); } -/* Note: - The initial color shown on the button is set in /core/svx/source/tbxctrls/tbxcolorupdate.cxx - (ToolboxButtonColorUpdater::ToolboxButtonColorUpdater()) . - The initial color used by the button is set in /core/svx/source/tbxcntrls/tbcontrl.cxx - (SvxColorToolBoxControl::SvxColorToolBoxControl()) - and in case of writer for text(background)color also in /core/sw/source/uibase/docvw/edtwin.cxx - (SwEditWin::m_aTextBackColor and SwEditWin::m_aTextColor) - */ - SvxColorToolBoxControl::SvxColorToolBoxControl( sal_uInt16 nSlotId, sal_uInt16 nId, diff --git a/svx/source/tbxctrls/tbxcolorupdate.cxx b/svx/source/tbxctrls/tbxcolorupdate.cxx index 4756980d14e1..f41b91369571 100644 --- a/svx/source/tbxctrls/tbxcolorupdate.cxx +++ b/svx/source/tbxctrls/tbxcolorupdate.cxx @@ -29,17 +29,6 @@ namespace svx { - //= ToolboxButtonColorUpdater - - /* Note: - The initial color shown on the button is set in /core/svx/source/tbxctrls/tbxcolorupdate.cxx - (ToolboxButtonColorUpdater::ToolboxButtonColorUpdater()) . - The initial color used by the button is set in /core/svx/source/tbxctrls/tbcontrl.cxx - (SvxColorToolBoxControl::SvxColorToolBoxControl()) - and in case of writer for text(background)color also in /core/sw/source/uibase/docvw/edtwin.cxx - (SwEditWin::m_aTextBackColor and SwEditWin::m_aTextColor) - */ - ToolboxButtonColorUpdater::ToolboxButtonColorUpdater( sal_uInt16 nId, sal_uInt16 nTbxBtnId, ToolBox* pToolBox) : mnBtnId(nTbxBtnId) -- cgit