diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-04 05:43:44 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-06-04 07:49:14 +0200 |
commit | 41a1f95abe185ec7edd58fe3973d3dee534d5ac3 (patch) | |
tree | 3e8fa843634dbb6337d9908fa25873ca0a9542db /svtools | |
parent | 5f743ea3081fc3b7e4704c0435103cd20683cbf9 (diff) |
remove whitespace
Change-Id: Iff12a4106369114eb785c0ce242c0e296a877495
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/stdmenu.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/svtools/source/control/stdmenu.cxx b/svtools/source/control/stdmenu.cxx index af3546af00c9..d3104099af55 100644 --- a/svtools/source/control/stdmenu.cxx +++ b/svtools/source/control/stdmenu.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #include <string.h> #include <vcl/svapp.hxx> #include <vcl/settings.hxx> @@ -25,29 +24,21 @@ #include <svtools/ctrltool.hxx> #include <svtools/stdmenu.hxx> - - FontNameMenu::FontNameMenu() { SetMenuFlags( GetMenuFlags() | MENU_FLAG_NOAUTOMNEMONICS ); } - - FontNameMenu::~FontNameMenu() { } - - void FontNameMenu::Select() { maCurName = GetItemText( GetCurItemId() ); maSelectHdl.Call( this ); } - - void FontNameMenu::Highlight() { OUString aTempName = maCurName; @@ -56,8 +47,6 @@ void FontNameMenu::Highlight() maCurName = aTempName; } - - void FontNameMenu::Fill( const FontList* pList ) { // clear menu @@ -90,8 +79,6 @@ void FontNameMenu::Fill( const FontList* pList ) SetCurName( maCurName ); } - - void FontNameMenu::SetCurName(const OUString& rName) { maCurName = rName; @@ -118,8 +105,6 @@ void FontNameMenu::SetCurName(const OUString& rName) CheckItem( nChecked, false ); } - - FontSizeMenu::FontSizeMenu() : mpHeightAry( NULL ) , mnCurHeight( 100 ) @@ -127,16 +112,12 @@ FontSizeMenu::FontSizeMenu() SetMenuFlags( GetMenuFlags() | MENU_FLAG_NOAUTOMNEMONICS ); } - - FontSizeMenu::~FontSizeMenu() { if ( mpHeightAry ) delete[] mpHeightAry; } - - void FontSizeMenu::Select() { const sal_uInt16 nCurItemId = GetCurItemId(); @@ -144,8 +125,6 @@ void FontSizeMenu::Select() maSelectHdl.Call( this ); } - - void FontSizeMenu::Highlight() { const long nTempHeight = mnCurHeight; @@ -161,8 +140,6 @@ void FontSizeMenu::Highlight() mnCurHeight = nTempHeight; } - - void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList ) { Clear(); @@ -229,8 +206,6 @@ void FontSizeMenu::Fill( const FontInfo& rInfo, const FontList* pList ) SetCurHeight( mnCurHeight ); } - - void FontSizeMenu::SetCurHeight( long nHeight ) { mnCurHeight = nHeight; |