diff options
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 9 | ||||
-rw-r--r-- | svx/source/tbxctrls/tbxcolorupdate.cxx | 11 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 6 |
3 files changed, 1 insertions, 25 deletions
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<vcl::Window> 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) diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index d39c6d9f35a0..d4a3514f30dc 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -186,12 +186,8 @@ QuickHelpData* SwEditWin::m_pQuickHlpData = nullptr; long SwEditWin::m_nDDStartPosY = 0; long SwEditWin::m_nDDStartPosX = 0; /** - * The initial color shown on the button is set in /core/svx/source/tbxctrls/tbxcolorupdate.cxx + * The actual color used by the button is set in 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) */ Color SwEditWin::m_aWaterCanTextBackColor(COL_YELLOW); Color SwEditWin::m_aWaterCanTextColor(COL_RED); |