diff options
Diffstat (limited to 'svtools/source/control/stdmenu.cxx')
-rw-r--r-- | svtools/source/control/stdmenu.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/svtools/source/control/stdmenu.cxx b/svtools/source/control/stdmenu.cxx index fd6306d8d027..cf006a8e0885 100644 --- a/svtools/source/control/stdmenu.cxx +++ b/svtools/source/control/stdmenu.cxx @@ -123,17 +123,6 @@ void FontSizeMenu::Select() void FontSizeMenu::Highlight() { - const long nTempHeight = mnCurHeight; - const sal_uInt16 nCurItemId = GetCurItemId(); - if ( !nCurItemId ) - mnCurHeight = 0; - else - { - //sal_Int32 nValue = GetItemText( nCurItemId ).ToInt32(); - mnCurHeight = mpHeightAry[ nCurItemId - 1 ]; - } - maHighlightHdl.Call( this ); - mnCurHeight = nTempHeight; } void FontSizeMenu::Fill( const vcl::FontInfo& rInfo, const FontList* pList ) |