diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-14 09:36:33 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-15 10:13:04 +0000 |
commit | d9fa1247be9d3a3d559adbbf9e1ed12395744738 (patch) | |
tree | 20fb4e43af4c94760b290d62ad3a6ac581665bf1 /sc | |
parent | d7a0916e68238d619d74cbab72e66980e24d2f48 (diff) |
fdo#84938: replace SYMBOL_TYPE constants with enum
Change-Id: Ib3763f20d74c22e28d519a9ac47f6f3ab4e31f51
Reviewed-on: https://gerrit.libreoffice.org/11983
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/app/inputwin.cxx | 6 | ||||
-rw-r--r-- | sc/source/ui/cctrl/checklistmenu.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx index eea595e428d7..14f819603ce8 100644 --- a/sc/source/ui/app/inputwin.cxx +++ b/sc/source/ui/app/inputwin.cxx @@ -911,7 +911,7 @@ ScInputBarGroup::ScInputBarGroup(vcl::Window* pParent, ScTabViewShell* pViewSh) aButton.SetClickHdl( LINK( this, ScInputBarGroup, ClickHdl ) ); aButton.SetSizePixel( aSize ); aButton.Enable(); - aButton.SetSymbol( SYMBOL_SPIN_DOWN ); + aButton.SetSymbol( SymbolType::SPIN_DOWN ); aButton.SetQuickHelpText( ScResId( SCSTR_QHELP_EXPAND_FORMULA ) ); aButton.Show(); @@ -979,7 +979,7 @@ void ScInputBarGroup::Resize() if( aMultiTextWnd.GetNumLines() > 1 ) { - aButton.SetSymbol( SYMBOL_SPIN_UP ); + aButton.SetSymbol( SymbolType::SPIN_UP ); aButton.SetQuickHelpText( ScResId( SCSTR_QHELP_COLLAPSE_FORMULA ) ); Size scrollSize = aButton.GetSizePixel(); scrollSize.Height() = aMultiTextWnd.GetSizePixel().Height() - aButton.GetSizePixel().Height(); @@ -997,7 +997,7 @@ void ScInputBarGroup::Resize() } else { - aButton.SetSymbol( SYMBOL_SPIN_DOWN ); + aButton.SetSymbol( SymbolType::SPIN_DOWN ); aButton.SetQuickHelpText( ScResId( SCSTR_QHELP_EXPAND_FORMULA ) ); aScrollBar.Hide(); } diff --git a/sc/source/ui/cctrl/checklistmenu.cxx b/sc/source/ui/cctrl/checklistmenu.cxx index 9b807c490d10..9fbcd2c65e52 100644 --- a/sc/source/ui/cctrl/checklistmenu.cxx +++ b/sc/source/ui/cctrl/checklistmenu.cxx @@ -364,7 +364,7 @@ void ScMenuFloatingWindow::drawMenuItem(size_t nPos) aMarkerPos.X() += aSize.Width() - nFontHeight + nFontHeight/4; Size aMarkerSize(nFontHeight/2, nFontHeight/2); aDecoView.DrawSymbol(Rectangle(aMarkerPos, aMarkerSize), - SYMBOL_SPIN_RIGHT, GetTextColor(), 0); + SymbolType::SPIN_RIGHT, GetTextColor(), 0); } } |