diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-03-13 12:29:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-03-13 12:49:42 +0000 |
commit | 866a9a57fedf92767f64fc9348722ce42e17cde4 (patch) | |
tree | b71fa15f6f41736ce905a40a7dee51ed2e5cce63 /sfx2 | |
parent | 6980046ff927d5cb5a2d83dcd730eb7c3b9fe414 (diff) |
remove aDescED which is always hidden and never used
looks like it got replaced by FT_DESC over 13 years
ago without getting removed, FT_DESC should have had
the helpid associated with ED_DESC.
Change-Id: I7aa0887d75b114ebc7c863920e0d58f71c3a7a31
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/inc/sfx2/mgetempl.hxx | 1 | ||||
-rw-r--r-- | sfx2/source/dialog/mgetempl.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/dialog/mgetempl.src | 9 |
3 files changed, 1 insertions, 14 deletions
diff --git a/sfx2/inc/sfx2/mgetempl.hxx b/sfx2/inc/sfx2/mgetempl.hxx index f7816b324e94..6fce1f496d24 100644 --- a/sfx2/inc/sfx2/mgetempl.hxx +++ b/sfx2/inc/sfx2/mgetempl.hxx @@ -61,7 +61,6 @@ class SfxManageStyleSheetPage : public SfxTabPage FixedLine aDescGb; FixedInfo aDescFt; - MultiLineEdit aDescED; SfxStyleSheetBase *pStyle; SfxStyleFamilies *pFamilies; diff --git a/sfx2/source/dialog/mgetempl.cxx b/sfx2/source/dialog/mgetempl.cxx index 3d127ad4bddc..d252b6e7b01f 100644 --- a/sfx2/source/dialog/mgetempl.cxx +++ b/sfx2/source/dialog/mgetempl.cxx @@ -61,7 +61,6 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem aDescGb ( this, SfxResId( GB_DESC ) ), aDescFt ( this, SfxResId( FT_DESC ) ), - aDescED ( this, SfxResId( ED_DESC ) ), pStyle( &( (SfxStyleDialog*)GetParentDialog() )->GetStyleSheet() ), @@ -80,13 +79,9 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem { FreeResource(); - if ( IsBackground() ) - aDescED.SetBackground( GetBackground() ); FixedInfo* pInfo = new FixedInfo( this ); - aDescED.SetFont( pInfo->GetFont() ); delete pInfo; - aDescED.Hide(); aDescFt.Show(); // this Page needs ExchangeSupport diff --git a/sfx2/source/dialog/mgetempl.src b/sfx2/source/dialog/mgetempl.src index 64f145ce39af..80199dd4cdb1 100644 --- a/sfx2/source/dialog/mgetempl.src +++ b/sfx2/source/dialog/mgetempl.src @@ -103,19 +103,12 @@ TabPage TP_MANAGE_STYLES }; FixedText FT_DESC { + HelpID = "sfx2:MultiLineEdit:TP_MANAGE_STYLES:ED_DESC"; Pos = MAP_APPFONT ( 12 , 88 ) ; Size = MAP_APPFONT ( 236 , 85 ) ; WordBreak = TRUE ; Hide = TRUE ; }; - MultiLineEdit ED_DESC - { - HelpID = "sfx2:MultiLineEdit:TP_MANAGE_STYLES:ED_DESC"; - Pos = MAP_APPFONT ( 12 , 88 ) ; - Size = MAP_APPFONT ( 236 , 85 ) ; - ReadOnly = TRUE ; - IgnoreTab = TRUE; - }; FixedLine GB_DESC { Pos = MAP_APPFONT ( 6 , 77 ) ; |