diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-05-02 15:39:09 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-05-02 15:39:09 +0000 |
commit | a25e842d8091e157f6ddb31cb00c7303202da10d (patch) | |
tree | ab334267c0c127c265213a2abae994fc7cc43b09 /sfx2 | |
parent | 8b95eb2791b6dde3eadecb1c1a06a80d30a6c55a (diff) |
INTEGRATION: CWS sfxcleanup (1.3.158); FILE MERGED
2006/03/08 17:31:31 mba 1.3.158.1: #i37090#: fix wrong ifdef
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/styledlg.cxx | 54 |
1 files changed, 2 insertions, 52 deletions
diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx index f035b73a92b8..50c7b8b50f74 100644 --- a/sfx2/source/dialog/styledlg.cxx +++ b/sfx2/source/dialog/styledlg.cxx @@ -4,9 +4,9 @@ * * $RCSfile: styledlg.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-09-07 18:32:57 $ + * last change: $Author: rt $ $Date: 2006-05-02 16:39:09 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -57,56 +57,6 @@ // class SfxStyleDialog -------------------------------------------------- -#if SUP <= 372 - -SfxStyleDialog::SfxStyleDialog -( - Window* pParent, // Parent - const ResId& rResId, // ResId - SfxStyleSheetBase& rStyle, // zu bearbeitendes StyleSheet - BOOL bFreeRes // Flag Resourcen freigeben -) : - -/* [Beschreibung] - - Konstruktor: Verwalten-TabPage zuf"ugen, ExampleSet vom Style setzen. -*/ - - SfxTabDialog( pParent, rResId, - rStyle.GetItemSet().Clone(), - // auch ohne ParentSupport TRUE "ubergeben, aber erweitert - // um den StandardButton zu unterdr"ucken - rStyle.HasParentSupport() ? TRUE : 2 ), - - pStyle( &rStyle ) - -{ - AddTabPage( ID_TABPAGE_MANAGESTYLES, - String( SfxResId( STR_TABPAGE_MANAGESTYLES ) ), - SfxManageStyleSheetPage::Create, 0, FALSE, 0 ); - - // bei neuer Vorlage immer die Verwaltungsseite als aktuelle - // Seite setzen - - if( !rStyle.GetName().Len() ) - SetCurPageId( ID_TABPAGE_MANAGESTYLES ); - else - { - String sTxt( GetText() ); - sTxt += DEFINE_CONST_UNICODE(": "); - sTxt += rStyle.GetName(); - SetText( sTxt ); - } - delete pExampleSet; // im SfxTabDialog::Ctor() schon angelegt - pExampleSet = &pStyle->GetItemSet(); - - if ( bFreeRes ) - FreeResource(); - GetCancelButton().SetClickHdl( LINK(this, SfxStyleDialog, CancelHdl) ); -} - -#endif - SfxStyleDialog::SfxStyleDialog ( Window* pParent, // Parent |