diff options
Diffstat (limited to 'sd/source/ui/view')
-rw-r--r-- | sd/source/ui/view/drviewse.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/ui/view/drviewse.cxx b/sd/source/ui/view/drviewse.cxx index d9e0a9977ac2..9a86ddbd0f10 100644 --- a/sd/source/ui/view/drviewse.cxx +++ b/sd/source/ui/view/drviewse.cxx @@ -840,14 +840,14 @@ void DrawViewShell::FuSupport(SfxRequest& rReq) case SID_UNICODE_NOTATION_TOGGLE: { - if ( mpDrawView->IsTextEdit() ) + if( mpDrawView->IsTextEdit() ) { OutlinerView* pOLV = mpDrawView->GetTextEditOutlinerView(); - if (pOLV) + if( pOLV ) { OUString sInput = pOLV->GetSurroundingText(); ESelection aSel( pOLV->GetSelection() ); - if ( aSel.nStartPos > aSel.nEndPos ) + if( aSel.nStartPos > aSel.nEndPos ) aSel.nEndPos = aSel.nStartPos; //calculate a valid end-position by reading logical characters @@ -861,7 +861,7 @@ void DrawViewShell::FuSupport(SfxRequest& rReq) aSel.nEndPos = nUtf16Pos; } - ToggleUnicodeCodepoint aToggle = ToggleUnicodeCodepoint(); + ToggleUnicodeCodepoint aToggle; while( nUtf16Pos && aToggle.AllowMoreInput( sInput[nUtf16Pos-1]) ) --nUtf16Pos; OUString sReplacement = aToggle.ReplacementString(); |