This is an automated email from the ASF dual-hosted git repository. mseidel pushed a commit to branch AOO42X in repository https://gitbox.apache.org/repos/asf/openoffice.git
commit 5de176169b8def318e2fd579400e5eff1aeb2575 Author: mseidel <[email protected]> AuthorDate: Sat Aug 16 15:02:00 2025 +0200 Translate function names (Kontext -> Context), cleanup (cherry picked from commit 2b5187381cc9da7a87bafe24be64619d7f077545) --- main/sw/inc/editsh.hxx | 114 +++++++++++++++++------------------ main/sw/source/core/edit/edws.cxx | 22 +++---- main/sw/source/ui/docvw/edtwin.cxx | 25 ++++---- main/sw/source/ui/shells/basesh.cxx | 32 +++++----- main/sw/source/ui/uiview/viewmdi.cxx | 8 +-- main/sw/source/ui/wrtsh/delete.cxx | 31 +++++----- main/sw/source/ui/wrtsh/move.cxx | 17 +++--- main/sw/source/ui/wrtsh/select.cxx | 49 +++++++-------- main/sw/source/ui/wrtsh/wrtsh1.cxx | 38 ++++++------ 9 files changed, 164 insertions(+), 172 deletions(-) diff --git a/main/sw/inc/editsh.hxx b/main/sw/inc/editsh.hxx index 1837ff7ee0..848fa99c34 100644 --- a/main/sw/inc/editsh.hxx +++ b/main/sw/inc/editsh.hxx @@ -19,7 +19,6 @@ * *************************************************************/ - #ifndef _EDITSH_HXX #define _EDITSH_HXX @@ -104,7 +103,6 @@ class SwAuthEntry; class SwRewriter; struct SwConversionArgs; - namespace com { namespace sun { namespace star { namespace uno { template < class > class Sequence; }}}} @@ -127,7 +125,7 @@ namespace sw { #define GETSELTXT_PARABRK_TO_ONLYCR 2 /**************************************************************** - * zum Abfragen der INet-Attribute fuer den Navigator + * zum Abfragen der INet-Attribute für den Navigator ****************************************************************/ struct SwGetINetAttr { @@ -155,11 +153,11 @@ class SW_DLLPUBLIC SwEditShell: public SwCrsrShell { static SvxSwAutoFmtFlags* pAutoFmtFlags; - // fuer die privaten Methoden DelRange und die vom AutoCorrect + // für die privaten Methoden DelRange und die vom AutoCorrect friend class SwAutoFormat; friend void _InitCore(); friend void _FinitCore(); - // fuer die PamCorrAbs/-Rel Methoden + // für die PamCorrAbs/-Rel Methoden friend class SwUndo; SW_DLLPRIVATE SfxPoolItem& _GetChrFmt( SfxPoolItem& ) const; @@ -184,15 +182,15 @@ public: void Overwrite( const String & ); // Ersetz einen selektierten Bereich in einem TextNode mit dem - // String. Ist fuers Suchen&Ersetzen gedacht. + // String. Ist fürs Suchen&Ersetzen gedacht. // bRegExpRplc - ersetze Tabs (\\t) und setze den gefundenen String // ein ( nicht \& ) // z.B.: Fnd: "zzz", Repl: "xx\t\\t..&..\&" // --> "xx\t<Tab>..zzz..&" sal_Bool Replace( const String& rNewStr, sal_Bool bRegExpRplc = sal_False ); - // loescht den Inhalt aller Bereiche; - // werden ganze Nodes selektiert, werden die Nodes geloescht + // löscht den Inhalt aller Bereiche; + // werden ganze Nodes selektiert, werden die Nodes gelöscht long Delete(); // remove a complete paragraph @@ -204,8 +202,8 @@ public: // count words in current selection void CountWords( SwDocStat& rStat ) const; - // loesche den nicht sichtbaren Content aus dem Document, wie z.B.: - // versteckte Bereiche, versteckte Absaetze + // lösche den nicht sichtbaren Content aus dem Document, wie z.B.: + // versteckte Bereiche, versteckte Absätze sal_Bool RemoveInvisibleContent(); // replace fields by text - mailmerge support @@ -221,12 +219,12 @@ public: // in die angegebene Shell long Copy( SwEditShell* pDestShell = 0 ); - // fuers Kopieren uebers ClipBoard: + // fürs Kopieren übers ClipBoard: // wird Tabelle in Tabelle kopiert, verschiebe aus dieser dann // alle Cursor. Copy und Paste muss aufgrund der FlyFrames in // der FEShell stehen! // kopiere alle Selectionen und das Doc - //JP 21.10.96: und fuer die SVX-Autokorrektur + //JP 21.10.96: und für die SVX-Autokorrektur sal_Bool _CopySelToDoc( SwDoc* pInsDoc, SwNodeIndex* pNdInsPos = 0 ); long SplitNode( sal_Bool bAutoFormat = sal_False, sal_Bool bCheckTableStart = sal_True ); @@ -234,7 +232,7 @@ public: void AutoFmtBySplitNode(); // ist der Cursor in einem INetAttribut, dann wird das komplett - // geloescht; inclusive des Hinweistextes (wird beim Drag&Drop gebraucht) + // gelöscht; inclusive des Hinweistextes (wird beim Drag&Drop gebraucht) sal_Bool DelINetAttrWithText(); // ist der Cursor am Ende einer Zeichenvorlage, an der das DontExpand-Flag @@ -290,8 +288,8 @@ public: /* Formatcollections, neu */ /* GetXXXCount() liefert die Anzahl der im Dokument vorhandenen XXX - * GetXXX(i) liefert das i-te XXX (ERR_RAISE bei Ueberindizierung!) - * DelXXX(i) loescht das i-te XXX (ERR_RAISE bei Ueberindizierung!) + * GetXXX(i) liefert das i-te XXX (ERR_RAISE bei Überindizierung!) + * DelXXX(i) loescht das i-te XXX (ERR_RAISE bei Überindizierung!) * GetCurXXX() liefert das am Cursor oder in den Bereichen * geltende XXX (0, wenn nicht eindeutig!) * SetXXX() setzt am Cursor oder in den Bereichen das XXX @@ -313,8 +311,8 @@ public: void FillByEx(SwTxtFmtColl*, sal_Bool bReset = sal_False); SwTxtFmtColl* FindTxtFmtCollByName( const String& rName ) const; - // Gebe die "Auto-Collection" mit der Id zurueck. Existiert - // sie noch nicht, dann erzuege sie + // Gebe die "Auto-Collection" mit der Id zurück. Existiert + // sie noch nicht, dann erzeuge sie SwTxtFmtColl* GetTxtCollFromPool( sal_uInt16 nId ); // return das geforderte automatische Format - Basis-Klasse ! SwFmt* GetFmtFromPool( sal_uInt16 nId ); @@ -367,7 +365,7 @@ public: SwFldUpdateFlags GetFldUpdateFlags(sal_Bool bDocSettings = sal_False) const; void SetFldUpdateFlags( SwFldUpdateFlags eFlags ); - // fuer die Evaluierung der DBFelder (neuer DB-Manager) + // für die Evaluierung der DBFelder (neuer DB-Manager) SwNewDBMgr* GetNewDBMgr() const; SwFieldType* InsertFldType(const SwFieldType &); @@ -381,7 +379,7 @@ public: // Dokument - Statistics void UpdateDocStat( SwDocStat& rStat ); - // Verzeichnismarke einfuegen loeschen + // Verzeichnismarke einfuegen löschen void Insert(const SwTOXMark& rMark); void DeleteTOXMark(SwTOXMark* pMark); @@ -418,7 +416,7 @@ public: void SetTOIAutoMarkURL(const String& rSet); void ApplyAutoMark(); - // Schluessel fuer die Indexverwaltung + // Schlüssel fuer die Indexverwaltung sal_uInt16 GetTOIKeys( SwTOIKeyType eTyp, SvStringsSort& rArr ) const; void SetOutlineNumRule(const SwNumRule&); @@ -450,16 +448,16 @@ public: const String sContinuedListId = String(), const bool bResetIndentAttrs = false ); - // Absaetze ohne Numerierung, aber mit Einzuegen + // Absätze ohne Numerierung, aber mit Einzügen sal_Bool NoNum(); - // Loeschen, Splitten der Aufzaehlungsliste + // Löschen, Splitten der Aufzählungsliste void DelNumRules(); // Hoch-/Runterstufen sal_Bool NumUpDown( sal_Bool bDown = sal_True ); // Hoch-/Runtermoven sowohl innerhalb als auch ausserhalb von Numerierungen sal_Bool MoveParagraph( long nOffset = 1 ); sal_Bool MoveNumParas( sal_Bool bUpperLower, sal_Bool bUpperLeft ); - // No-/Numerierung ueber Delete/Backspace ein/abschalten #115901# + // No-/Numerierung über Delete/Backspace ein/abschalten #115901# sal_Bool NumOrNoNum( sal_Bool bDelete = sal_False, sal_Bool bChkStart = sal_True ); // -> #i23726# @@ -512,14 +510,14 @@ public: // Undo // UndoHistory am Dokument pflegen - // bei Save, SaveAs, Create wird UndoHistory zurueckgesetzt ??? + // bei Save, SaveAs, Create wird UndoHistory zurückgesetzt ??? void DoUndo( sal_Bool bOn = sal_True ); sal_Bool DoesUndo() const; void DoGroupUndo( sal_Bool bUn = sal_True ); sal_Bool DoesGroupUndo() const; void DelAllUndoObj(); - // macht rueckgaengig: + // macht rückgängig: // setzt Undoklammerung auf, liefert nUndoId der Klammerung SwUndoId StartUndo( SwUndoId eUndoId = UNDO_EMPTY, const SwRewriter * pRewriter = 0 ); // schliesst Klammerung der nUndoId, nicht vom UI benutzt @@ -540,11 +538,11 @@ public: bool Redo(sal_uInt16 const nCount = 1); bool Repeat(sal_uInt16 const nCount); - // fuer alle Sichten auf dieses Dokument + // für alle Sichten auf dieses Dokument void StartAllAction(); void EndAllAction(); - //Damit Start-/EndActions aufgesetzt werden koennen. + //Damit Start-/EndActions aufgesetzt werden können. void CalcLayout(); // Inhaltsform bestimmen, holen, liefert Type am CurCrsr->SPoint @@ -581,7 +579,7 @@ public: void ClearAutomaticContour(); /* - * liefert die Groesse einer Graphic in Twips, wenn der Cursor + * liefert die Grösse einer Graphic in Twips, wenn der Cursor * auf einer Graphic steht; sal_Bool liefert sal_False, wenn s.o. */ sal_Bool GetGrfSize(Size&) const; @@ -634,7 +632,7 @@ public: // das aktuelle Dokument, Vorlagen nur wenn es nicht schon gibt void InsertGlossary( SwTextBlocks& rGlossary, const String& ); // aktuelle Selektion zum Textbaustein machen und ins - // Textbausteindokument einfuegen, einschliesslich Vorlagen + // Textbausteindokument einfügen, einschliesslich Vorlagen sal_uInt16 MakeGlossary( SwTextBlocks& rToFill, const String& rName, const String& rShortName, sal_Bool bSaveRelFile = sal_False, const String* pOnlyTxt=0 ); @@ -654,7 +652,7 @@ public: // zu trennendes Wort ignorieren void HyphIgnore(); - // zum Einfuegen des SoftHyphens, Position ist der Offset + // zum Einfügen des SoftHyphens, Position ist der Offset // innerhalb des getrennten Wortes. void InsertSoftHyph( const xub_StrLen nHyphPos ); @@ -693,9 +691,9 @@ public: // Tabelle an der Cursor Position aufsplitten sal_Bool SplitTable( sal_uInt16 eMode ); // Tabellen verbinden - // CanMerge kann feststellen, ob Prev oder Next moeglich ist. Wird - // der Pointer pChkNxtPrv uebergeben, wird festgestellt in welche - // Richtung es moeglich ist. + // CanMerge kann feststellen, ob Prev oder Next möglich ist. Wird + // der Pointer pChkNxtPrv übergeben, wird festgestellt in welche + // Richtung es möglich ist. sal_Bool CanMergeTable( sal_Bool bWithPrev = sal_True, sal_Bool* pChkNxtPrv = 0 ) const; sal_Bool MergeTable( sal_Bool bWithPrev = sal_True, sal_uInt16 nMode = 0 ); // setze das InsertDB als Tabelle Undo auf: @@ -771,7 +769,7 @@ public: sal_Bool bKeepSelection = sal_False ); sal_uInt16 GetINetAttrs( SwGetINetAttrs& rArr ); - //SS Fuer holen/ersetzen DropCap-Inhalt + //SS Für holen/ersetzen DropCap-Inhalt String GetDropTxt( const sal_uInt16 nChars ) const; void ReplaceDropTxt( const String &rStr ); @@ -786,7 +784,7 @@ public: sal_Bool GetCurFtn( SwFmtFtn* pToFillFtn = 0 ); bool SetCurFtn( const SwFmtFtn& rFillFtn ); bool HasFtns( bool bEndNotes = false ) const; -//z.Zt nicht benoetigt sal_uInt16 GetFtnCnt( sal_Bool bEndNotes = sal_False ) const; +//z.Zt nicht benötigt sal_uInt16 GetFtnCnt( sal_Bool bEndNotes = sal_False ) const; // gebe Liste aller Fussnoten und deren Anfangstexte sal_uInt16 GetSeqFtnList( SwSeqFldList& rList, bool bEndNotes = false ); @@ -795,7 +793,7 @@ public: sal_Bool IsInsRegionAvailable() const; const SwSection* GetCurrSection() const; // liefert wie GetCurrSection() den aktuellen Bereich, allerdings geht diese Funktion - // ueber die Frames und erwischt dabei auch den Bereich, wenn der Cursor in einer + // über die Frames und erwischt dabei auch den Bereich, wenn der Cursor in einer // Fussnote steht, deren Referenz in einem spaltigen Bereich steckt. // Wenn man bOutOfTab setzt, wird der Bereich gesucht, // der die Tabelle umfasst, nicht etwa ein innerer. @@ -813,7 +811,7 @@ public: String GetUniqueSectionName( const String* pChkStr = 0 ) const; - //Attribute setzen + // Attribute setzen void SetSectionAttr(const SfxItemSet& rSet, SwSectionFmt* pSectFmt = 0); // search inside the cursor selection for full selected sections. @@ -835,7 +833,7 @@ public: sfx2::LinkManager& GetLinkManager(); inline const sfx2::LinkManager& GetLinkManager() const; - // linken Rand ueber Objectleiste einstellen (aenhlich dem Stufen von + // linken Rand über Objectleiste einstellen (ähnlich dem Stufen von // Numerierungen), optional kann man "um" den Offset stufen oder "auf" // die Position gestuft werden (bModulus = sal_True) sal_Bool IsMoveLeftMargin( sal_Bool bRight = sal_True, sal_Bool bModulus = sal_True ) const; @@ -846,7 +844,7 @@ public: const SvNumberFormatter* GetNumberFormatter() const { return ((SwEditShell*)this)->GetNumberFormatter(); } - // Schnitstellen fuers GlobalDokument + // Schnitstellen fürs GlobalDokument sal_Bool IsGlobalDoc() const; void SetGlblDocSaveLinks( sal_Bool bFlag = sal_True ); sal_Bool IsGlblDocSaveLinks() const; @@ -863,7 +861,7 @@ public: sal_uInt16 nNewPos ); sal_Bool GotoGlobalDocContent( const SwGlblDocContent& rPos ); - // alles fuers Redlining + // alles fürs Redlining sal_uInt16 GetRedlineMode() const; void SetRedlineMode( sal_uInt16 eMode ); sal_Bool IsRedlineOn() const; @@ -879,10 +877,10 @@ public: sal_Bool SetRedlineComment( const String& rS ); const SwRedline* GetCurrRedline() const; - // Redline Anzeigeattribute wurden geaendert, Views updaten + // Redline Anzeigeattribute wurden geändert, Views updaten void UpdateRedlineAttr(); - // vergleiche zwei Dokument mit einander + // vergleiche zwei Dokument miteinander long CompareDoc( const SwDoc& rDoc ); // merge zweier Dokumente long MergeDoc( const SwDoc& rDoc ); @@ -893,7 +891,7 @@ public: const SwEndNoteInfo& GetEndNoteInfo() const; void SetEndNoteInfo(const SwEndNoteInfo& rInfo); - //Einstellungen fuer Zeilennummierung + //Einstellungen für Zeilennummierung const SwLineNumberInfo &GetLineNumberInfo() const; void SetLineNumberInfo( const SwLineNumberInfo& rInfo); @@ -901,14 +899,14 @@ public: void SetLabelDoc( sal_Bool bFlag = sal_True ); sal_Bool IsLabelDoc() const; - // Schnittstelle fuer die TextInputDaten - ( fuer die Texteingabe + // Schnittstelle für die TextInputDaten - (für die Texteingabe // von japanischen/chinesischen Zeichen) SwExtTextInput* CreateExtTextInput(LanguageType eInputLanguage); String DeleteExtTextInput( SwExtTextInput* pDel = 0, sal_Bool bInsText = sal_True); // SwExtTextInput* GetExtTextInput() const; void SetExtTextInputData( const CommandExtTextInputData& ); - // Schnistelle fuer den Zugriff auf die AutoComplete-Liste + // Schnistelle für den Zugriff auf die AutoComplete-Liste static SwAutoCompleteWord& GetAutoCompleteWords(); // returns a scaling factor of selected text. Used for the rotated @@ -922,7 +920,7 @@ public: virtual ~SwEditShell(); private: - // fuer METWARE: + // für METWARE: // es wird nicht kopiert und nicht zugewiesen SwEditShell(const SwEditShell &); const SwEditShell &operator=(const SwEditShell &); @@ -932,31 +930,31 @@ inline const sfx2::LinkManager& SwEditShell::GetLinkManager() const { return ((SwEditShell*)this)->GetLinkManager(); } /* - * Klasse fuer den automatisierten Aufruf von Start- und + * Klasse für den automatisierten Aufruf von Start- und * EndAction(); */ -class SwActKontext { +class SwActContext { SwEditShell *pSh; public: - SwActKontext(SwEditShell *pShell); - ~SwActKontext(); + SwActContext(SwEditShell *pShell); + ~SwActContext(); }; -#define ACT_KONTEXT(x) SwActKontext _aActKontext_(x) +#define ACT_CONTEXT(x) SwActContext _aActContext_(x) /* - * Klasse fuer den automatisierten Aufruf von Start- und + * Klasse für den automatisierten Aufruf von Start- und * EndCrsrMove(); */ -class SwMvKontext { +class SwMvContext { SwEditShell *pSh; public: - SwMvKontext(SwEditShell *pShell ); - ~SwMvKontext(); + SwMvContext(SwEditShell *pShell ); + ~SwMvContext(); }; -#define MV_KONTEXT(x) SwMvKontext _aMvKontext_(x) - - +#define MV_CONTEXT(x) SwMvContext _aMvContext_(x) #endif + +/* vim: set noet sw=4 ts=4: */ diff --git a/main/sw/source/core/edit/edws.cxx b/main/sw/source/core/edit/edws.cxx index 186197a386..0f99db0af8 100644 --- a/main/sw/source/core/edit/edws.cxx +++ b/main/sw/source/core/edit/edws.cxx @@ -19,8 +19,6 @@ * *************************************************************/ - - // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" @@ -93,7 +91,7 @@ void SwEditShell::ResetModified() void SwEditShell::SetUndoNoResetModified() { GetDoc()->SetModified(); - GetDoc()->GetIDocumentUndoRedo().SetUndoNoResetModified(); + GetDoc()->GetIDocumentUndoRedo().SetUndoNoResetModified(); } /****************************************************************************** @@ -154,7 +152,7 @@ void SwEditShell::CalcLayout() /****************************************************************************** * Inhaltsform bestimmen, holen ******************************************************************************/ -// OPT: wird fuer jedes Attribut gerufen? +// OPT: wird für jedes Attribut gerufen? sal_uInt16 SwEditShell::GetCntType() const @@ -199,35 +197,35 @@ sal_Bool SwEditShell::HasOtherCnt() const } /****************************************************************************** - * Zugriffsfunktionen fuer Filename-Behandlung + * Zugriffsfunktionen für Filename-Behandlung ******************************************************************************/ -SwActKontext::SwActKontext(SwEditShell *pShell) +SwActContext::SwActContext(SwEditShell *pShell) : pSh(pShell) { pSh->StartAction(); } -SwActKontext::~SwActKontext() +SwActContext::~SwActContext() { pSh->EndAction(); } /****************************************************************************** - * Klasse fuer den automatisierten Aufruf von Start- und + * Klasse für den automatisierten Aufruf von Start- und * EndCrsrMove(); ******************************************************************************/ -SwMvKontext::SwMvKontext(SwEditShell *pShell ) : pSh(pShell) +SwMvContext::SwMvContext(SwEditShell *pShell ) : pSh(pShell) { pSh->SttCrsrMove(); } -SwMvKontext::~SwMvKontext() +SwMvContext::~SwMvContext() { pSh->EndCrsrMove(); } @@ -273,7 +271,7 @@ sal_Bool SwEditShell::DoesGroupUndo() const void SwEditShell::DelAllUndoObj() { - GetDoc()->GetIDocumentUndoRedo().DelAllUndoObj(); + GetDoc()->GetIDocumentUndoRedo().DelAllUndoObj(); } // Zusammenfassen von Kontinuierlichen Insert/Delete/Overwrite von @@ -356,3 +354,5 @@ SwAutoCompleteWord& SwEditShell::GetAutoCompleteWords() { return SwDoc::GetAutoCompleteWords(); } + +/* vim: set noet sw=4 ts=4: */ diff --git a/main/sw/source/ui/docvw/edtwin.cxx b/main/sw/source/ui/docvw/edtwin.cxx index ed014df357..fe1d062762 100644 --- a/main/sw/source/ui/docvw/edtwin.cxx +++ b/main/sw/source/ui/docvw/edtwin.cxx @@ -22,7 +22,6 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" - #include <tools/list.hxx> #include <swtypes.hxx> #include <hintids.hxx> @@ -147,7 +146,7 @@ extern sal_Bool bNoInterrupt; // in mainwn.cxx //Selektion nicht gerade aufgezogen wird. Leider wird im MouseButtonDown //bei doppel-/dreifach-Klick Selektiert, diese Selektion wird in dem Handler //komplett abgeschlossen und kann deshalb im Up nicht mehr unterschieden -//werden. Um dies Aufzuloese wird bHoldSelection im Down gesetzt und im +//werden. Um dies aufzulösen wird bHoldSelection im Down gesetzt und im //Up ausgewertet. static sal_Bool bHoldSelection = sal_False; @@ -266,10 +265,10 @@ inline sal_Bool IsMinMove(const Point &rStartPos, const Point &rLPt) } /*-------------------------------------------------------------------- - JP 30.07.98: fuer MouseButtonDown - feststellen, ob ein DrawObject + JP 30.07.98: für MouseButtonDown - feststellen, ob ein DrawObject und KEIN SwgFrame getroffen wurde! Shift/Ctrl sollen - nur bei DrawObjecte zum Selektieren fuehren, bei SwgFlys - ggfs zum ausloesen von Hyperlinks (DownLoad/NewWindow!) + nur bei DrawObjecte zum Selektieren führen, bei SwgFlys + ggfs. zum auslösen von Hyperlinks (DownLoad/NewWindow!) --------------------------------------------------------------------*/ inline sal_Bool IsDrawObjSelectable( const SwWrtShell& rSh, const Point& rPt ) { @@ -3375,9 +3374,9 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) int nTmpSetCrsr = 0; - { // nur temp. Move-Kontext aufspannen, da sonst die + { // nur temp. Move-Context aufspannen, da sonst die // Abfrage auf die Inhaltsform nicht funktioniert!!! - MV_KONTEXT( &rSh ); + MV_CONTEXT( &rSh ); nTmpSetCrsr = (rSh.*rSh.fnSetCrsr)(&aDocPos,bOnlyText); bValidCrsrPos = !(CRSR_POSCHG & nTmpSetCrsr); bCallBase = sal_False; @@ -3401,7 +3400,7 @@ void SwEditWin::MouseButtonDown(const MouseEvent& _rMEvt) || ( nSelType & nsSelectionType::SEL_GRF ) || rSh.IsObjSelectable( aDocPos ) ) { - MV_KONTEXT( &rSh ); + MV_CONTEXT( &rSh ); if( !rSh.IsFrmSelected() ) rSh.GotoNextFly(); rSh.EnterSelFrmMode(); @@ -4149,9 +4148,9 @@ void SwEditWin::MouseButtonUp(const MouseEvent& rMEvt) { const sal_Bool bTmpNoInterrupt = bNoInterrupt; bNoInterrupt = sal_False; - { // nur temp. Move-Kontext aufspannen, da sonst die + { // nur temp. Move-Context aufspannen, da sonst die // Abfrage auf die Inhaltsform nicht funktioniert!!! - MV_KONTEXT( &rSh ); + MV_CONTEXT( &rSh ); const Point aDocPos( PixelToLogic( aStartPos ) ); bValidCrsrPos = !(CRSR_POSCHG & (rSh.*rSh.fnSetCrsr)(&aDocPos,sal_False)); } @@ -5424,9 +5423,9 @@ sal_Bool SwEditWin::SelectMenuPosition(SwWrtShell& rSh, const Point& rMousePos ) if ( !bOverSelect ) { - { // nur temp. Move-Kontext aufspannen, da sonst die + { // nur temp. Move-Context aufspannen, da sonst die // Abfrage auf die Inhaltsform nicht funktioniert!!! - MV_KONTEXT( &rSh ); + MV_CONTEXT( &rSh ); (rSh.*rSh.fnSetCrsr)(&aDocPos, sal_False); bRet = sal_True; } @@ -5437,7 +5436,7 @@ sal_Bool SwEditWin::SelectMenuPosition(SwWrtShell& rSh, const Point& rMousePos ) if( nSelType == nsSelectionType::SEL_OLE || nSelType == nsSelectionType::SEL_GRF ) { - MV_KONTEXT( &rSh ); + MV_CONTEXT( &rSh ); if( !rSh.IsFrmSelected() ) rSh.GotoNextFly(); rSh.EnterSelFrmMode(); diff --git a/main/sw/source/ui/shells/basesh.cxx b/main/sw/source/ui/shells/basesh.cxx index 5be8b3dfa4..3baa03b4d0 100644 --- a/main/sw/source/ui/shells/basesh.cxx +++ b/main/sw/source/ui/shells/basesh.cxx @@ -116,7 +116,7 @@ FlyMode SwBaseShell::eFrameMode = FLY_DRAG_END; -//Fuer die Erkennung der Id, die variable von Gallery mit SID_GALLERY_BG_BRUSH +//Für die Erkennung der Id, die variable von Gallery mit SID_GALLERY_BG_BRUSH //ankommt. static sal_uInt8 nParagraphPos; static sal_uInt8 nGraphicPos; @@ -695,7 +695,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) if (rSh.HasMark()) { - MV_KONTEXT(&rSh); + MV_CONTEXT(&rSh); if (rSh.IsCrsrPtAtEnd()) rSh.SwapPam(); rSh.ClearMark(); @@ -757,7 +757,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) if( pGalleryItem->IsLink() ) { - // Verknuepft + // Verknüpft aGrfName = pGalleryItem->GetURL(); aFltName = pGalleryItem->GetFilterName(); } @@ -769,8 +769,8 @@ void SwBaseShell::Execute(SfxRequest &rReq) GetView().GetEditWin().GrabFocus(); } - else if(!rSh.IsSelFrmMode() && - nGalleryItemType == com::sun::star::gallery::GalleryItemType::MEDIA ) + else if ( !rSh.IsSelFrmMode() && + nGalleryItemType == com::sun::star::gallery::GalleryItemType::MEDIA ) { const SfxStringItem aMediaURLItem( SID_INSERT_AVMEDIA, pGalleryItem->GetURL() ); GetView().GetViewFrame()->GetDispatcher()->Execute( SID_INSERT_AVMEDIA, SFX_CALLMODE_SYNCHRON, &aMediaURLItem, 0L ); @@ -797,7 +797,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) { if (pArgs) { - // aktuellen PageDescriptor ermitteln und damit den Set fuellen + // aktuellen PageDescriptor ermitteln und damit den Set füllen const sal_uInt16 nCurIdx = rSh.GetCurPageDesc(); SwPageDesc aPageDesc(rSh.GetPageDesc(nCurIdx)); @@ -824,9 +824,9 @@ void SwBaseShell::Execute(SfxRequest &rReq) GetView().GetViewFrame()->GetDispatcher()->Execute(FN_FORMAT_PAGE_COLUMN_DLG, sal_False); } break; - case FN_CONVERT_TABLE_TO_TEXT: - case FN_CONVERT_TEXT_TO_TABLE: - case FN_CONVERT_TEXT_TABLE: + case FN_CONVERT_TABLE_TO_TEXT: + case FN_CONVERT_TEXT_TO_TABLE: + case FN_CONVERT_TEXT_TABLE: { sal_Unicode cDelim = 0; bool bToTable = false; @@ -1016,7 +1016,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) { SvxContourDlg *pDlg = SWCONTOURDLG(GetView()); - // Kontrolle, ob Zuweisung ueberhaupt sinnvoll/erlaubt + // Kontrolle, ob Zuweisung überhaupt sinnvoll/erlaubt int nSel = rSh.GetSelectionType(); if ( nSel & (nsSelectionType::SEL_GRF|nsSelectionType::SEL_OLE) ) { @@ -1074,7 +1074,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) { // Der Set beinhaltet auch VERT/HORI_ORIENT, da in FEShell:: // SetFlyFrmAttr/SetFlyFrmAnchor ggf. als Folge des Umankerns - // die Ausrichtungen veraendert werden sollen. + // die Ausrichtungen verändert werden sollen. SfxItemSet aSet( GetPool(), RES_VERT_ORIENT, RES_ANCHOR ); SwFmtAnchor aAnc( eSet, rSh.GetPhyPageNum() ); aSet.Put( aAnc ); @@ -1231,7 +1231,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) } else if ( rSh.IsFrmSelected() ) { - // Umrandungsattribute ueber Frame-Manager setzen + // Umrandungsattribute über Frame-Manager setzen SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); aMgr.SetAttrSet( *pArgs ); aMgr.UpdateFlyFrm(); @@ -1263,14 +1263,14 @@ void SwBaseShell::Execute(SfxRequest &rReq) } else if ( rSh.IsFrmSelected() ) { - // Umrandungsattribute ueber Frame-Manager setzen + // Umrandungsattribute über Frame-Manager setzen SwFlyFrmAttrMgr aMgr( sal_False, &rSh, FRMMGR_TYPE_NONE ); aMgr.SetAttrSet(*pArgs); aMgr.UpdateFlyFrm(); } else { - // Umrandungsattribute ganz normal ueber Shell setzen + // Umrandungsattribute ganz normal über Shell setzen rSh.SetAttrItem( *pItem ); } } @@ -1283,7 +1283,7 @@ void SwBaseShell::Execute(SfxRequest &rReq) } /* -----------------14.04.99 15:10------------------- - * Hier wird der State fuer SID_IMAP / SID_CONTOUR behandelt, + * Hier wird der State für SID_IMAP / SID_CONTOUR behandelt, * wenn die Grafik ausgeswappt ist * --------------------------------------------------*/ IMPL_LINK(SwBaseShell, GraphicArrivedHdl, SwCrsrShell* , EMPTYARG ) @@ -2967,3 +2967,5 @@ void SwBaseShell::ExecField( SfxRequest& rReq ) ASSERT(sal_False, falscher Dispatcher); } } + +/* vim: set noet sw=4 ts=4: */ diff --git a/main/sw/source/ui/uiview/viewmdi.cxx b/main/sw/source/ui/uiview/viewmdi.cxx index 40dec9eb38..0de04b4ffe 100644 --- a/main/sw/source/ui/uiview/viewmdi.cxx +++ b/main/sw/source/ui/uiview/viewmdi.cxx @@ -96,7 +96,7 @@ void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType, pWrtShell->LockPaint(); { - ACT_KONTEXT(pWrtShell); + ACT_CONTEXT(pWrtShell); long nFac = nFactor; @@ -209,7 +209,7 @@ void SwView::_SetZoom( const Size &rEditSize, SvxZoomType eZoomType, } SetVisArea( aPos ); } - // OS: Notloesung - in CalcVisArea wird u.U. wieder SetZoom gerufen und + // OS: Notlösung - in CalcVisArea wird u.U. wieder SetZoom gerufen und // dann werden falsche Werte eingestellt ((SwViewOption*)pWrtShell->GetViewOptions())->SetZoomType( eZoomType ); CalcVisArea( rEditSize ); // für das Neuberechnen des sichtbaren Bereiches @@ -249,7 +249,7 @@ void SwView::SetViewLayout( sal_uInt16 nColumns, bool bBookMode, sal_Bool bViewO { - ACT_KONTEXT(pWrtShell); + ACT_CONTEXT(pWrtShell); if ( !GetViewFrame()->GetFrame().IsInPlace() && !bViewOnly ) { @@ -323,7 +323,7 @@ int SwView::_CreateScrollbar( sal_Bool bHori ) InvalidateBorder(); // Scrollbar muss nochmals getestet werden, da im InvalidateBorder u.U. der - // Scrollbar wieder geloescht wurde + // Scrollbar wieder gelöscht wurde if ( !bShowAtResize && (*ppScrollbar)) (*ppScrollbar)->ExtendedShow(); diff --git a/main/sw/source/ui/wrtsh/delete.cxx b/main/sw/source/ui/wrtsh/delete.cxx index 4ca8456ea7..d81f73083f 100644 --- a/main/sw/source/ui/wrtsh/delete.cxx +++ b/main/sw/source/ui/wrtsh/delete.cxx @@ -19,12 +19,9 @@ * *************************************************************/ - - // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" - #include <wrtsh.hxx> #include <crsskip.hxx> #include <swcrsr.hxx> @@ -96,14 +93,14 @@ sal_Bool SwWrtShell::TryRemoveIndent() } /*------------------------------------------------------------------------ - Beschreibung: Zeile loeschen + Beschreibung: Zeile löschen ------------------------------------------------------------------------*/ long SwWrtShell::DelLine() { - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); // alten Cursor merken Push(); @@ -111,7 +108,7 @@ long SwWrtShell::DelLine() SwCrsrShell::LeftMargin(); SetMark(); SwCrsrShell::RightMargin(); -//Warum soll hier noch ein Zeichen in der naechsten Zeile geloescht werden? +//Warum soll hier noch ein Zeichen in der nächsten Zeile gelöscht werden? // if(!IsEndOfPara()) // SwCrsrShell::Right(); long nRet = Delete(); @@ -176,10 +173,10 @@ long SwWrtShell::DelLeft() { if( !IsBlockMode() || HasSelection() ) { - //OS: wieder einmal Basic: ACT_KONTEXT muss vor + //OS: wieder einmal Basic: ACT_CONTEXT muss vor //EnterStdMode verlassen werden! { - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); Delete(); UpdateAttr(); @@ -273,10 +270,10 @@ long SwWrtShell::DelRight() { if( !IsBlockMode() || HasSelection() ) { - //OS: wieder einmal Basic: ACT_KONTEXT muss vor + //OS: wieder einmal Basic: ACT_CONTEXT muss vor //EnterStdMode verlassen werden! { - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); Delete(); UpdateAttr(); @@ -430,7 +427,7 @@ long SwWrtShell::DelRight() long SwWrtShell::DelToEndOfPara() { - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); Push(); SetMark(); @@ -450,7 +447,7 @@ long SwWrtShell::DelToEndOfPara() long SwWrtShell::DelToStartOfPara() { - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); Push(); SetMark(); @@ -466,9 +463,9 @@ long SwWrtShell::DelToStartOfPara() return nRet; } /* - * alle Loeschoperationen sollten mit Find statt mit + * alle Löschoperationen sollten mit Find statt mit * Nxt-/PrvDelim arbeiten, da letzteren mit Wrap Around arbeiten - * -- das ist wohl nicht gewuenscht. + * -- das ist wohl nicht gewünscht. */ @@ -511,7 +508,7 @@ long SwWrtShell::DelNxtWord() { if(IsEndOfDoc()) return 0; - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); EnterStdMode(); SetMark(); @@ -537,7 +534,7 @@ long SwWrtShell::DelPrvWord() { if(IsStartOfDoc()) return 0; - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); EnterStdMode(); SetMark(); @@ -570,3 +567,5 @@ long SwWrtShell::DelPrvWord() ClearMark(); return nRet; } + +/* vim: set noet sw=4 ts=4: */ diff --git a/main/sw/source/ui/wrtsh/move.cxx b/main/sw/source/ui/wrtsh/move.cxx index 9b6f8f8b42..642523b138 100644 --- a/main/sw/source/ui/wrtsh/move.cxx +++ b/main/sw/source/ui/wrtsh/move.cxx @@ -19,12 +19,9 @@ * *************************************************************/ - - // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" - #include <sfx2/bindings.hxx> #include <wrtsh.hxx> #ifndef _VIEW_HXX @@ -34,7 +31,7 @@ #include <crsskip.hxx> /* Immer: - - Zuruecksetzen des Cursorstacks + - Zurücksetzen des Cursorstacks - Timer nachtriggern - gfs. GCAttr @@ -62,8 +59,8 @@ public: { if( bAct ) { - //Die Action wird fuer das Scrollen in "einabsaetzigen" Rahmen mit - //fester Hoehe gebraucht. + //Die Action wird für das Scrollen in "einabsaetzigen" Rahmen mit + //fester Höhe gebraucht. pSh->StartAllAction(); pSh->EndAllAction(); } @@ -546,8 +543,8 @@ sal_Bool SwWrtShell::PopCrsr(sal_Bool bUpdate, sal_Bool bSelect) const sal_Bool bValidPos = pCrsrStack->bValidCurPos; if( bUpdate && bValidPos ) { - // falls ein Vorgaenger auf dem Stack steht, dessen Flag fuer eine - // gueltige Position verwenden. + // falls ein Vorgänger auf dem Stack steht, dessen Flag für eine + // gültige Position verwenden. SwRect aTmpArea(VisArea()); aTmpArea.Pos().Y() -= pCrsrStack->lOffset; if( aTmpArea.IsInside( pCrsrStack->aDocPos ) ) @@ -675,10 +672,12 @@ sal_Bool SwWrtShell::SelectTxtAttr( sal_uInt16 nWhich, const SwTxtAttr* pAttr ) { sal_Bool bRet; { - MV_KONTEXT(this); + MV_CONTEXT(this); SttSelect(); bRet = SwCrsrShell::SelectTxtAttr( nWhich, sal_False, pAttr ); } EndSelect(); return bRet; } + +/* vim: set noet sw=4 ts=4: */ diff --git a/main/sw/source/ui/wrtsh/select.cxx b/main/sw/source/ui/wrtsh/select.cxx index b85e2c09a9..e7f0fbd457 100644 --- a/main/sw/source/ui/wrtsh/select.cxx +++ b/main/sw/source/ui/wrtsh/select.cxx @@ -19,12 +19,9 @@ * *************************************************************/ - - // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" - #include <limits.h> #include <hintids.hxx> #include <sfx2/bindings.hxx> @@ -59,7 +56,6 @@ namespace com { namespace sun { namespace star { namespace util { using namespace ::com::sun::star::util; - static long nStartDragX = 0, nStartDragY = 0; static sal_Bool bStartDrag = sal_False; @@ -72,7 +68,7 @@ void SwWrtShell::Invalidate() sal_Bool SwWrtShell::SelNearestWrd() { - MV_KONTEXT(this); + MV_CONTEXT(this); if( !IsInWrd() && !IsEndWrd() && !IsSttWrd() ) PrvWrd(); if( IsEndWrd() ) @@ -86,7 +82,7 @@ sal_Bool SwWrtShell::SelWrd(const Point *pPt, sal_Bool ) { sal_Bool bRet; { - MV_KONTEXT(this); + MV_CONTEXT(this); SttSelect(); bRet = SwCrsrShell::SelectWord( pPt ); } @@ -103,7 +99,7 @@ sal_Bool SwWrtShell::SelWrd(const Point *pPt, sal_Bool ) void SwWrtShell::SelSentence(const Point *pPt, sal_Bool ) { { - MV_KONTEXT(this); + MV_CONTEXT(this); ClearMark(); SwCrsrShell::GoStartSentence(); SttSelect(); @@ -119,7 +115,7 @@ void SwWrtShell::SelSentence(const Point *pPt, sal_Bool ) void SwWrtShell::SelPara(const Point *pPt, sal_Bool ) { { - MV_KONTEXT(this); + MV_CONTEXT(this); ClearMark(); SwCrsrShell::MovePara( fnParaCurr, fnParaStart ); SttSelect(); @@ -140,7 +136,7 @@ long SwWrtShell::SelAll() { if(bBlockMode) LeaveBlockMode(); - MV_KONTEXT(this); + MV_CONTEXT(this); sal_Bool bMoveTable = sal_False; SwPosition *pStartPos = 0; SwPosition *pEndPos = 0; @@ -304,7 +300,7 @@ void SwWrtShell::PopMode() } /* - * Zwei Methoden fuer das Cursorsetzen; die erste mappt auf die + * Zwei Methoden für das Cursorsetzen; die erste mappt auf die * gleichnamige Methoden an der CursorShell, die zweite hebt * zuerst alle Selektionen auf. */ @@ -314,7 +310,7 @@ void SwWrtShell::PopMode() long SwWrtShell::SetCrsr(const Point *pPt, sal_Bool bTextOnly) { /* - * eine gfs. bestehende Selektion an der Position des + * eine ggfs. bestehende Selektion an der Position des * Mausklicks aufheben */ if(!IsInSelect() && ChgCurrPam(*pPt)) { @@ -327,7 +323,7 @@ long SwWrtShell::SetCrsr(const Point *pPt, sal_Bool bTextOnly) long SwWrtShell::SetCrsrKillSel(const Point *pPt, sal_Bool bTextOnly ) { - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetSelect(pPt,sal_False); return SwCrsrShell::SetCrsr(*pPt, bTextOnly); } @@ -336,7 +332,7 @@ long SwWrtShell::SetCrsrKillSel(const Point *pPt, sal_Bool bTextOnly ) void SwWrtShell::UnSelectFrm() { - // Rahmenselektion aufheben mit garantiert ungueltiger Position + // Rahmenselektion aufheben mit garantiert ungültiger Position Point aPt(LONG_MIN, LONG_MIN); SelectObj(aPt, 0); SwTransferable::ClearSelection( *this ); @@ -357,14 +353,14 @@ long SwWrtShell::ResetSelect(const Point *,sal_Bool) } else { - /* ACT_KONTEXT() macht eine Action auf - + /* ACT_CONTEXT() macht eine Action auf - um im Basicablauf keine Probleme mit der Shellumschaltung zu bekommen, darf GetChgLnk().Call() erst nach EndAction() gerufen werden. */ { - ACT_KONTEXT(this); + ACT_CONTEXT(this); bSelWrd = bSelLn = sal_False; KillPams(); ClearMark(); @@ -372,7 +368,7 @@ long SwWrtShell::ResetSelect(const Point *,sal_Bool) fnSetCrsr = &SwWrtShell::SetCrsr; } /* - * nach dem Aufheben aller Selektionen koennte ein Update der + * nach dem Aufheben aller Selektionen könnte ein Update der * Attr-Controls notwendig sein. */ GetChgLnk().Call(this); @@ -445,7 +441,7 @@ inline sal_Bool operator<(const Point &rP1,const Point &rP2) long SwWrtShell::ExtSelWrd(const Point *pPt, sal_Bool ) { - MV_KONTEXT(this); + MV_CONTEXT(this); if( IsTableMode() ) return 1; @@ -507,7 +503,7 @@ long SwWrtShell::ExtSelWrd(const Point *pPt, sal_Bool ) long SwWrtShell::ExtSelLn(const Point *pPt, sal_Bool ) { - MV_KONTEXT(this); + MV_CONTEXT(this); SwCrsrShell::SetCrsr(*pPt); if( IsTableMode() ) return 1; @@ -548,7 +544,7 @@ long SwWrtShell::ExtSelLn(const Point *pPt, sal_Bool ) /* - * zurueck in den Standard Mode: kein Mode, keine Selektionen. + * zurück in den Standard Mode: kein Mode, keine Selektionen. */ void SwWrtShell::EnterStdMode() @@ -567,12 +563,12 @@ void SwWrtShell::EnterStdMode() } else { - /* ACT_KONTEXT() opens and action which has to be + /* ACT_CONTEXT() opens and action which has to be closed prior to the call of GetChgLnk().Call() */ { - ACT_KONTEXT(this); + ACT_CONTEXT(this); bSelWrd = bSelLn = sal_False; if( !IsRetainSelection() ) KillPams(); @@ -889,7 +885,7 @@ long SwWrtShell::EndDrag(const Point * /*pPt*/, sal_Bool ) // --> FME 2004-07-30 #i32329# Enhanced table selection sal_Bool SwWrtShell::SelectTableRowCol( const Point& rPt, const Point* pEnd, bool bRowDrag ) { - MV_KONTEXT(this); + MV_CONTEXT(this); SttSelect(); if(SelTblRowCol( rPt, pEnd, bRowDrag )) { @@ -1064,10 +1060,11 @@ sal_Bool SwWrtShell::SelectNextPrevHyperlink( sal_Bool bNext ) return bRet; } - -/* fuer den Erhalt der Selektion wird nach SetMark() der Cursor - * nach links bewegt, damit er durch das Einfuegen von Text nicht - * verschoben wird. Da auf der CORE-Seite am aktuellen Cursor +/* für den Erhalt der Selektion wird nach SetMark() der Cursor + * nach links bewegt, damit er durch das Einfügen von Text nicht + * verschoben wird. Da auf der CORE-Seite am aktuellen Cursor * eine bestehende Selektion aufgehoben wird, wird der Cursor auf * den Stack gepushed. Nach dem Verschieben werden sie wieder * zusammengefasst. */ + +/* vim: set noet sw=4 ts=4: */ diff --git a/main/sw/source/ui/wrtsh/wrtsh1.cxx b/main/sw/source/ui/wrtsh/wrtsh1.cxx index 8649318cff..625ca21d11 100644 --- a/main/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/main/sw/source/ui/wrtsh/wrtsh1.cxx @@ -19,8 +19,6 @@ * *************************************************************/ - - // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" @@ -170,7 +168,7 @@ void SwWrtShell::Edit() sal_Bool SwWrtShell::IsEndWrd() { - MV_KONTEXT(this); + MV_CONTEXT(this); if(IsEndPara() && !IsSttPara()) return sal_True; @@ -179,7 +177,7 @@ sal_Bool SwWrtShell::IsEndWrd() /*------------------------------------------------------------------------ - Beschreibung: Abfrage, ob Einfuegen moeglich ist; gfs. Beep + Beschreibung: Abfrage, ob Einfügen moeglich ist; ggfs. Beep ------------------------------------------------------------------------*/ bool SwWrtShell::_CanInsert() @@ -194,7 +192,7 @@ bool SwWrtShell::_CanInsert() } /*------------------------------------------------------------------------ - Beschreibung: String einfuegen + Beschreibung: String einfügen ------------------------------------------------------------------------*/ void SwWrtShell::InsertByWord( const String & rStr) @@ -912,8 +910,8 @@ void SwWrtShell::ConnectObj( svt::EmbeddedObjectRef& xObj, const SwRect &rPrt, } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen harter Seitenumbruch; - Selektionen werden ueberschrieben + Beschreibung: Einfügen harter Seitenumbruch; + Selektionen werden überschrieben ------------------------------------------------------------------------*/ @@ -923,7 +921,7 @@ void SwWrtShell::InsertPageBreak(const String *pPageDesc, sal_uInt16 nPgNum ) ResetCursorStack(); if( _CanInsert() ) { - ACT_KONTEXT(this); + ACT_CONTEXT(this); StartUndo(UNDO_UI_INSERT_PAGE_BREAK); if ( !IsCrsrInTbl() ) @@ -947,8 +945,8 @@ void SwWrtShell::InsertPageBreak(const String *pPageDesc, sal_uInt16 nPgNum ) } } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen harter Zeilenumbruch; - Selektionen werden ueberschrieben + Beschreibung: Einfügen harter Zeilenumbruch; + Selektionen werden überschrieben ------------------------------------------------------------------------*/ @@ -969,14 +967,14 @@ void SwWrtShell::InsertLineBreak() } } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen harter Spaltenumbruch; - Selektionen werden ueberschrieben + Beschreibung: Einfügen harter Spaltenumbruch; + Selektionen werden überschrieben ------------------------------------------------------------------------*/ void SwWrtShell::InsertColumnBreak() { - ACT_KONTEXT(this); + ACT_CONTEXT(this); ResetCursorStack(); if( _CanInsert() ) { @@ -995,7 +993,7 @@ void SwWrtShell::InsertColumnBreak() } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen Fussnote + Beschreibung: Einfügen Fussnote Parameter: rStr -- optionales Fussnotenzeichen ------------------------------------------------------------------------*/ @@ -1039,7 +1037,7 @@ void SwWrtShell::SplitNode( sal_Bool bAutoFmt, sal_Bool bCheckTableStart ) ResetCursorStack(); if( _CanInsert() ) { - ACT_KONTEXT(this); + ACT_CONTEXT(this); rView.GetEditWin().FlushInBuffer(); sal_Bool bHasSel = HasSelection(); @@ -1057,7 +1055,7 @@ void SwWrtShell::SplitNode( sal_Bool bAutoFmt, sal_Bool bCheckTableStart ) /*------------------------------------------------------------------------ Beschreibung: Numerierung anschalten - Parameter: Optionale Angabe eines Namens fuer die benannte Liste; + Parameter: Optionale Angabe eines Namens für die benannte Liste; dieser bezeichnet eine Position, wenn er in eine Zahl konvertierbar ist und kleiner ist als nMaxRules. -------------------------------------------------------------------------*/ @@ -1488,7 +1486,7 @@ SelectionType SwWrtShell::GetSelectionType() const { // ContentType kann nicht ermittelt werden innerhalb einer // Start-/Endactionklammerung. - // Da es keinen ungueltigen Wert gibt, wird TEXT geliefert. + // Da es keinen ungültigen Wert gibt, wird TEXT geliefert. // Der Wert ist egal, da in EndAction ohnehin aktualisiert wird. if ( BasicActionPend() ) @@ -1539,7 +1537,7 @@ SelectionType SwWrtShell::GetSelectionType() const if ( IsFrmSelected() ) { if (_rView.IsDrawMode()) - _rView.LeaveDrawCreate(); // Aufraeumen (Bug #45639) + _rView.LeaveDrawCreate(); // Aufräumen (Bug #45639) if ( !(nCnt & (CNT_GRF | CNT_OLE)) ) return nsSelectionType::SEL_FRM; } @@ -1656,7 +1654,7 @@ String SwWrtShell::GetCurPageStyle( const sal_Bool bCalcFrm ) const } /*------------------------------------------------------------------------ - Beschreibung: Aktuelle Vorlage anhand der geltenden Attribute aendern + Beschreibung: Aktuelle Vorlage anhand der geltenden Attribute ändern ------------------------------------------------------------------------*/ @@ -1664,7 +1662,7 @@ void SwWrtShell::QuickUpdateStyle() { SwTxtFmtColl *pColl = GetCurTxtFmtColl(); - // Standard kann nicht geaendert werden + // Standard kann nicht geändert werden if(pColl && !pColl->IsDefault()) { FillByEx(pColl);
