diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 12:32:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-10 13:23:35 +0100 |
commit | 0dc13e9c06bf5bc188b427f0760d0dc2eee8f75e (patch) | |
tree | 23f77494de34696b5bf593d985519bf0ecd261fe /reportdesign/source/ui/dlg/Condition.cxx | |
parent | coverity#1187810 Uncaught exception (diff) | |
download | core-0dc13e9c06bf5bc188b427f0760d0dc2eee8f75e.tar.gz core-0dc13e9c06bf5bc188b427f0760d0dc2eee8f75e.zip |
tweak things to allow switching between small and large toolbar icons
Change-Id: Ife4da4c6f4acc3b3f9fde18cdfc09635cf9b6776
Diffstat (limited to 'reportdesign/source/ui/dlg/Condition.cxx')
-rw-r--r-- | reportdesign/source/ui/dlg/Condition.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/reportdesign/source/ui/dlg/Condition.cxx b/reportdesign/source/ui/dlg/Condition.cxx index 3d22579bdd14..d41009d02d3a 100644 --- a/reportdesign/source/ui/dlg/Condition.cxx +++ b/reportdesign/source/ui/dlg/Condition.cxx @@ -365,7 +365,6 @@ IMPL_LINK( Condition, OnConditionAction, Button*, _pClickedButton ) return 0L; } - void Condition::ApplyCommand( sal_uInt16 _nCommandId, const ::Color& _rColor) { if ( _nCommandId == SID_ATTR_CHAR_COLOR2 ) @@ -376,12 +375,12 @@ void Condition::ApplyCommand( sal_uInt16 _nCommandId, const ::Color& _rColor) m_rAction.applyCommand( m_nCondIndex, _nCommandId, _rColor ); } -ImageList Condition::getImageList(sal_Int16 _eBitmapSet) const +void Condition::setImageList(sal_Int16 _eBitmapSet) { sal_Int16 nN = IMG_CONDFORMAT_DLG_SC; if ( _eBitmapSet == SFX_SYMBOLS_SIZE_LARGE ) nN = IMG_CONDFORMAT_DLG_LC; - return ImageList(ModuleRes(nN)); + m_aActions.SetImageList(ImageList(ModuleRes(nN))); } void Condition::resizeControls(const Size& _rDiff) |