Kaydet (Commit) 866a9a57 authored tarafından Caolán McNamara's avatar Caolán McNamara

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
üst 6980046f
...@@ -61,7 +61,6 @@ class SfxManageStyleSheetPage : public SfxTabPage ...@@ -61,7 +61,6 @@ class SfxManageStyleSheetPage : public SfxTabPage
FixedLine aDescGb; FixedLine aDescGb;
FixedInfo aDescFt; FixedInfo aDescFt;
MultiLineEdit aDescED;
SfxStyleSheetBase *pStyle; SfxStyleSheetBase *pStyle;
SfxStyleFamilies *pFamilies; SfxStyleFamilies *pFamilies;
......
...@@ -61,7 +61,6 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem ...@@ -61,7 +61,6 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem
aDescGb ( this, SfxResId( GB_DESC ) ), aDescGb ( this, SfxResId( GB_DESC ) ),
aDescFt ( this, SfxResId( FT_DESC ) ), aDescFt ( this, SfxResId( FT_DESC ) ),
aDescED ( this, SfxResId( ED_DESC ) ),
pStyle( &( (SfxStyleDialog*)GetParentDialog() )->GetStyleSheet() ), pStyle( &( (SfxStyleDialog*)GetParentDialog() )->GetStyleSheet() ),
...@@ -80,13 +79,9 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem ...@@ -80,13 +79,9 @@ SfxManageStyleSheetPage::SfxManageStyleSheetPage( Window* pParent, const SfxItem
{ {
FreeResource(); FreeResource();
if ( IsBackground() )
aDescED.SetBackground( GetBackground() );
FixedInfo* pInfo = new FixedInfo( this ); FixedInfo* pInfo = new FixedInfo( this );
aDescED.SetFont( pInfo->GetFont() );
delete pInfo; delete pInfo;
aDescED.Hide();
aDescFt.Show(); aDescFt.Show();
// this Page needs ExchangeSupport // this Page needs ExchangeSupport
......
...@@ -103,19 +103,12 @@ TabPage TP_MANAGE_STYLES ...@@ -103,19 +103,12 @@ TabPage TP_MANAGE_STYLES
}; };
FixedText FT_DESC FixedText FT_DESC
{ {
HelpID = "sfx2:MultiLineEdit:TP_MANAGE_STYLES:ED_DESC";
Pos = MAP_APPFONT ( 12 , 88 ) ; Pos = MAP_APPFONT ( 12 , 88 ) ;
Size = MAP_APPFONT ( 236 , 85 ) ; Size = MAP_APPFONT ( 236 , 85 ) ;
WordBreak = TRUE ; WordBreak = TRUE ;
Hide = 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 FixedLine GB_DESC
{ {
Pos = MAP_APPFONT ( 6 , 77 ) ; Pos = MAP_APPFONT ( 6 , 77 ) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment