summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/editview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/editeng/editview.cxx')
-rw-r--r--editeng/source/editeng/editview.cxx32
1 files changed, 16 insertions, 16 deletions
diff --git a/editeng/source/editeng/editview.cxx b/editeng/source/editeng/editview.cxx
index 6d30e0205c06..f67de56ed73b 100644
--- a/editeng/source/editeng/editview.cxx
+++ b/editeng/source/editeng/editview.cxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -261,7 +261,7 @@ void EditView::SetSelection( const ESelection& rESel )
aNewSelection.Max() = EditPaM( pNode, pNode->Len() );
}
- pImpEditView->DrawSelection(); // alte Selektion 'weg-zeichnen'
+ pImpEditView->DrawSelection(); // alte Selektion 'weg-zeichnen'
pImpEditView->SetEditSelection( aNewSelection );
pImpEditView->DrawSelection();
sal_Bool bGotoCursor = pImpEditView->DoAutoScroll();
@@ -328,7 +328,7 @@ void EditView::SetWindow( Window* pWin )
PIMPEE->GetSelEngine().Reset();
}
-Window* EditView::GetWindow() const
+Window* EditView::GetWindow() const
{
DBG_CHKTHIS( EditView, 0 );
return pImpEditView->pOutWin;
@@ -464,8 +464,8 @@ void EditView::ShowCursor( sal_Bool bGotoCursor, sal_Bool bForceVisCursor )
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
// Draw vertraegt die Assertion nicht, spaeter mal aktivieren
-// DBG_ASSERT( pImpEditView->pEditEngine->HasView( this ), "ShowCursor - View nicht angemeldet!" );
-// DBG_ASSERT( !GetWindow()->IsInPaint(), "ShowCursor - Why in Paint ?!" );
+// DBG_ASSERT( pImpEditView->pEditEngine->HasView( this ), "ShowCursor - View nicht angemeldet!" );
+// DBG_ASSERT( !GetWindow()->IsInPaint(), "ShowCursor - Why in Paint ?!" );
if ( pImpEditView->pEditEngine->HasView( this ) )
{
@@ -701,7 +701,7 @@ void EditView::UnindentBlock()
PIMPEE->IndentBlock( this, sal_False );
}
-EESelectionMode EditView::GetSelectionMode() const
+EESelectionMode EditView::GetSelectionMode() const
{
DBG_CHKTHIS( EditView, 0 );
return pImpEditView->GetSelectionMode();
@@ -770,7 +770,7 @@ sal_uInt32 EditView::GetControlWord() const
return pImpEditView->nControl;
}
-EditTextObject* EditView::CreateTextObject()
+EditTextObject* EditView::CreateTextObject()
{
DBG_CHKTHIS( EditView, 0 );
DBG_CHKOBJ( pImpEditView->pEditEngine, EditEngine, 0 );
@@ -787,7 +787,7 @@ void EditView::InsertText( const EditTextObject& rTextObject )
EditSelection aTextSel( PIMPEE->InsertText( rTextObject, pImpEditView->GetEditSelection() ) );
PIMPEE->UndoActionEnd( EDITUNDO_INSERT );
- aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten.
+ aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten.
pImpEditView->SetEditSelection( aTextSel );
PIMPEE->FormatAndUpdate( this );
}
@@ -802,7 +802,7 @@ void EditView::InsertText( ::com::sun::star::uno::Reference< ::com::sun::star::d
EditSelection aTextSel( PIMPEE->InsertText( xDataObj, rBaseURL, pImpEditView->GetEditSelection().Max(), bUseSpecial ) );
PIMPEE->UndoActionEnd( EDITUNDO_INSERT );
- aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten.
+ aTextSel.Min() = aTextSel.Max(); // Selektion nicht behalten.
pImpEditView->SetEditSelection( aTextSel );
PIMPEE->FormatAndUpdate( this );
}
@@ -864,7 +864,7 @@ SfxStyleSheet* EditView::GetStyleSheet() const
{
SfxStyleSheet* pTmpStyle = PIMPEE->GetStyleSheet( n );
if ( ( n != nStartPara ) && ( pStyle != pTmpStyle ) )
- return NULL; // Nicht eindeutig.
+ return NULL; // Nicht eindeutig.
pStyle = pTmpStyle;
}
return pStyle;
@@ -901,7 +901,7 @@ void EditView::TransliterateText( sal_Int32 nTransliterationMode )
EditSelection aNewSel = PIMPEE->TransliterateText( pImpEditView->GetEditSelection(), nTransliterationMode );
if ( aNewSel != aOldSel )
{
- pImpEditView->DrawSelection(); // alte Selektion 'weg-zeichnen'
+ pImpEditView->DrawSelection(); // alte Selektion 'weg-zeichnen'
pImpEditView->SetEditSelection( aNewSel );
pImpEditView->DrawSelection();
}
@@ -1142,7 +1142,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link* pCallBack )
aPopupMenu.InsertSeparator( nWords );
}
else
- aPopupMenu.RemoveItem( MN_AUTOCORR ); // Loeschen?
+ aPopupMenu.RemoveItem( MN_AUTOCORR ); // Loeschen?
SvtLinguConfig aCfg;
const bool bHC = Application::GetSettings().GetStyleSettings().GetHighContrastMode();
@@ -1158,7 +1158,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link* pCallBack )
uno::Reference< linguistic2::XDictionary > xDic( SvxGetOrCreatePosDic( xDicList ) );
if (xDic.is())
xDic->setActive( sal_True );
-
+
aDics = xDicList->getDictionaries();
pDic = aDics.getConstArray();
sal_uInt16 nCheckedLanguage = PIMPEE->GetLanguage( aPaM2 );
@@ -1252,7 +1252,7 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link* pCallBack )
{
// Cursor vor das Wort setzen...
EditPaM aCursor = pImpEditView->GetEditSelection().Min();
- pImpEditView->DrawSelection(); // alte Selektion 'weg-zeichnen'
+ pImpEditView->DrawSelection(); // alte Selektion 'weg-zeichnen'
pImpEditView->SetEditSelection( EditSelection( aCursor, aCursor ) );
pImpEditView->DrawSelection();
// Stuerzt ab, wenn keine SfxApp
@@ -1294,12 +1294,12 @@ void EditView::ExecuteSpellPopup( const Point& rPosPixel, Link* pCallBack )
{
DBG_ASSERT(nId - MN_AUTOSTART < aAlt.getLength(), "index out of range");
String aWord = pAlt[nId - MN_AUTOSTART];
- SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get()->GetAutoCorrect();
+ SvxAutoCorrect* pAutoCorrect = SvxAutoCorrCfg::Get()->GetAutoCorrect();
if ( pAutoCorrect )
pAutoCorrect->PutText( aSelected, aWord, PIMPEE->GetLanguage( aPaM2 ) );
InsertText( aWord );
}
- else if ( nId >= MN_ALTSTART ) // Replace
+ else if ( nId >= MN_ALTSTART ) // Replace
{
DBG_ASSERT(nId - MN_ALTSTART < aAlt.getLength(), "index out of range");
String aWord = pAlt[nId - MN_ALTSTART];