diff options
Diffstat (limited to 'sd/source/ui/func/fubullet.cxx')
-rwxr-xr-x[-rw-r--r--] | sd/source/ui/func/fubullet.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sd/source/ui/func/fubullet.cxx b/sd/source/ui/func/fubullet.cxx index 92b1450624e1..8bf1b6509e60 100644..100755 --- a/sd/source/ui/func/fubullet.cxx +++ b/sd/source/ui/func/fubullet.cxx @@ -140,7 +140,7 @@ void FuBullet::InsertFormattingMark( sal_Unicode cMark ) { // prevent flickering pOV->HideCursor(); - pOL->SetUpdateMode(FALSE); + pOL->SetUpdateMode(sal_False); // remove old selected text pOV->InsertText( aEmptyStr ); @@ -152,7 +152,7 @@ void FuBullet::InsertFormattingMark( sal_Unicode cMark ) // insert given text String aStr( cMark ); - pOV->InsertText( cMark, TRUE); + pOV->InsertText( cMark, sal_True); ESelection aSel = pOV->GetSelection(); aSel.nStartPara = aSel.nEndPara; @@ -162,7 +162,7 @@ void FuBullet::InsertFormattingMark( sal_Unicode cMark ) rUndoMgr.LeaveListAction(); // restart repainting - pOL->SetUpdateMode(TRUE); + pOL->SetUpdateMode(sal_True); pOV->ShowCursor(); } } @@ -172,7 +172,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq ) const SfxItemSet *pArgs = rReq.GetArgs(); const SfxPoolItem* pItem = 0; if( pArgs ) - pArgs->GetItemState(mpDoc->GetPool().GetWhich(SID_CHARMAP), FALSE, &pItem); + pArgs->GetItemState(mpDoc->GetPool().GetWhich(SID_CHARMAP), sal_False, &pItem); String aChars, aFontName; Font aFont; @@ -180,7 +180,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq ) { aChars = ((const SfxStringItem*)pItem)->GetValue(); const SfxPoolItem* pFtItem = NULL; - pArgs->GetItemState( mpDoc->GetPool().GetWhich(SID_ATTR_SPECIALCHAR), FALSE, &pFtItem); + pArgs->GetItemState( mpDoc->GetPool().GetWhich(SID_ATTR_SPECIALCHAR), sal_False, &pFtItem); const SfxStringItem* pFontItem = PTR_CAST( SfxStringItem, pFtItem ); if ( pFontItem ) { @@ -200,7 +200,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq ) if (!aChars.Len() ) { SfxAllItemSet aSet( mpDoc->GetPool() ); - aSet.Put( SfxBoolItem( FN_PARAM_1, FALSE ) ); + aSet.Put( SfxBoolItem( FN_PARAM_1, sal_False ) ); SfxItemSet aFontAttr( mpDoc->GetPool() ); mpView->GetAttributes( aFontAttr ); @@ -218,11 +218,11 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq ) // Wenn Zeichen selektiert ist kann es angezeigt werden // pDLg->SetFont( ); // pDlg->SetChar( ); - USHORT nResult = pDlg->Execute(); + sal_uInt16 nResult = pDlg->Execute(); if( nResult == RET_OK ) { - SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pCItem, SfxStringItem, SID_CHARMAP, FALSE ); - SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFItem, SvxFontItem, SID_ATTR_CHAR_FONT, FALSE ); + SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pCItem, SfxStringItem, SID_CHARMAP, sal_False ); + SFX_ITEMSET_ARG( pDlg->GetOutputItemSet(), pFItem, SvxFontItem, SID_ATTR_CHAR_FONT, sal_False ); if ( pFItem ) { aFont.SetName( pFItem->GetFamilyName() ); @@ -264,7 +264,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq ) { // nicht flackern pOV->HideCursor(); - pOL->SetUpdateMode(FALSE); + pOL->SetUpdateMode(sal_False); // alte Attributierung merken; // dazu vorher selektierten Bereich loeschen, denn der muss eh weg @@ -279,7 +279,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq ) SfxUndoManager& rUndoMgr = pOL->GetUndoManager(); rUndoMgr.EnterListAction(String(SdResId(STR_UNDO_INSERT_SPECCHAR)), aEmptyStr ); - pOV->InsertText(aChars, TRUE); + pOV->InsertText(aChars, sal_True); // attributieren (Font setzen) SfxItemSet aSet(pOL->GetEmptyItemSet()); @@ -303,7 +303,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest& rReq ) rUndoMgr.LeaveListAction(); // ab jetzt wieder anzeigen - pOL->SetUpdateMode(TRUE); + pOL->SetUpdateMode(sal_True); pOV->ShowCursor(); } } |