From dcd8e4664d9a284c24ceb0360cab0606b22cf86d Mon Sep 17 00:00:00 2001 From: Mikhail Voytenko Date: Fri, 7 Jan 2011 17:14:47 +0100 Subject: removetooltypes: #i112600# remove tooltypes --- sfx2/source/dialog/styledlg.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sfx2/source/dialog/styledlg.cxx') diff --git a/sfx2/source/dialog/styledlg.cxx b/sfx2/source/dialog/styledlg.cxx index e1d01de94955..1a155458995f 100644 --- a/sfx2/source/dialog/styledlg.cxx +++ b/sfx2/source/dialog/styledlg.cxx @@ -51,7 +51,7 @@ SfxStyleDialog::SfxStyleDialog Window* pParent, // Parent const ResId& rResId, // ResId SfxStyleSheetBase& rStyle, // zu bearbeitendes StyleSheet - BOOL bFreeRes, // Flag Resourcen freigeben + sal_Bool bFreeRes, // Flag Resourcen freigeben const String* pUserBtnTxt ) : @@ -64,7 +64,7 @@ SfxStyleDialog::SfxStyleDialog rStyle.GetItemSet().Clone(), // auch ohne ParentSupport TRUE "ubergeben, aber erweitert // um den StandardButton zu unterdr"ucken - rStyle.HasParentSupport() ? TRUE : 2, + rStyle.HasParentSupport() ? sal_True : 2, pUserBtnTxt ), pStyle( &rStyle ) @@ -72,7 +72,7 @@ SfxStyleDialog::SfxStyleDialog { AddTabPage( ID_TABPAGE_MANAGESTYLES, String( SfxResId( STR_TABPAGE_MANAGESTYLES ) ), - SfxManageStyleSheetPage::Create, 0, FALSE, 0 ); + SfxManageStyleSheetPage::Create, 0, sal_False, 0 ); // bei neuer Vorlage immer die Verwaltungsseite als aktuelle // Seite setzen @@ -154,11 +154,11 @@ IMPL_LINK( SfxStyleDialog, CancelHdl, Button *, pButton ) const SfxItemSet* pInSet = GetInputSetImpl(); SfxWhichIter aIter( *pInSet ); - USHORT nWhich = aIter.FirstWhich(); + sal_uInt16 nWhich = aIter.FirstWhich(); while ( nWhich ) { - SfxItemState eState = pInSet->GetItemState( nWhich, FALSE ); + SfxItemState eState = pInSet->GetItemState( nWhich, sal_False ); if ( SFX_ITEM_DEFAULT == eState ) pExampleSet->ClearItem( nWhich ); -- cgit