diff options
Diffstat (limited to 'sw/source/ui/wrtsh')
-rw-r--r-- | sw/source/ui/wrtsh/delete.cxx | 10 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/move.cxx | 32 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/select.cxx | 48 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh.hrc | 2 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh.src | 2 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh1.cxx | 74 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh2.cxx | 24 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh3.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh4.cxx | 12 | ||||
-rw-r--r-- | sw/source/ui/wrtsh/wrtundo.cxx | 6 |
10 files changed, 106 insertions, 106 deletions
diff --git a/sw/source/ui/wrtsh/delete.cxx b/sw/source/ui/wrtsh/delete.cxx index 6b1957169e35..600fb86c3da7 100644 --- a/sw/source/ui/wrtsh/delete.cxx +++ b/sw/source/ui/wrtsh/delete.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 @@ -97,7 +97,7 @@ BOOL SwWrtShell::TryRemoveIndent() } /*------------------------------------------------------------------------ - Beschreibung: Zeile loeschen + Beschreibung: Zeile loeschen ------------------------------------------------------------------------*/ @@ -113,8 +113,8 @@ long SwWrtShell::DelLine() SetMark(); SwCrsrShell::RightMargin(); //Warum soll hier noch ein Zeichen in der naechsten Zeile geloescht werden? -// if(!IsEndOfPara()) -// SwCrsrShell::Right(); +// if(!IsEndOfPara()) +// SwCrsrShell::Right(); long nRet = Delete(); Pop(FALSE); if( nRet ) @@ -269,7 +269,7 @@ long SwWrtShell::DelRight() case nsSelectionType::SEL_TXT: case nsSelectionType::SEL_TBL: case nsSelectionType::SEL_NUM: - // wenn eine Selektion existiert, diese loeschen. + // wenn eine Selektion existiert, diese loeschen. if( IsSelection() ) { if( !IsBlockMode() || HasSelection() ) diff --git a/sw/source/ui/wrtsh/move.cxx b/sw/source/ui/wrtsh/move.cxx index 3507850ab20e..6b8ed8f9f4f5 100644 --- a/sw/source/ui/wrtsh/move.cxx +++ b/sw/source/ui/wrtsh/move.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 @@ -36,16 +36,16 @@ #include <viewopt.hxx> #include <crsskip.hxx> -/* Immer: - - Zuruecksetzen des Cursorstacks - - Timer nachtriggern - - gfs. GCAttr +/* Immer: + - Zuruecksetzen des Cursorstacks + - Timer nachtriggern + - gfs. GCAttr bei Selektion - - SttSelect() + - SttSelect() sonst - - EndSelect() + - EndSelect() */ const long nReadOnlyScrollOfst = 10; @@ -250,10 +250,10 @@ BOOL SwWrtShell::GoStart( BOOL bKeepArea, BOOL *pMoveTable, else if( bBoxSelection && pMoveTable ) { // JP 09.01.96: wir haben eine Boxselektion (oder leere Zelle) - // und wollen selektieren (pMoveTable wird im - // SelAll gesetzt). Dann darf die Tabelle nicht - // verlassen werden; sonst ist keine Selektion der - // gesamten Tabelle moeglich! + // und wollen selektieren (pMoveTable wird im + // SelAll gesetzt). Dann darf die Tabelle nicht + // verlassen werden; sonst ist keine Selektion der + // gesamten Tabelle moeglich! *pMoveTable = TRUE; return TRUE; } @@ -403,9 +403,9 @@ BOOL SwWrtShell::EndPara( BOOL bSelect ) /*------------------------------------------------------------------------ - Beschreibung: Spaltenweises Springen - Parameter: mit oder ohne SSelection - Return: Erfolg oder Misserfolg + Beschreibung: Spaltenweises Springen + Parameter: mit oder ohne SSelection + Return: Erfolg oder Misserfolg ------------------------------------------------------------------------*/ @@ -522,7 +522,7 @@ BOOL SwWrtShell::PushCrsr(SwTwips lOffset, BOOL bSelect) if( bIsFrmSel ) { -// CallChgLnk(); +// CallChgLnk(); // bei Frames immer nur die obere Ecke nehmen, damit dieser // wieder selektiert werden kann aOldRect.SSize( 5, 5 ); @@ -636,7 +636,7 @@ BOOL SwWrtShell::PageCrsr(SwTwips lOffset, BOOL bSelect) // da sie immer zu einer Anzeige des Cursors fuehrt, also auch, // wenn nach dem Blaettern in einen Bereich ohne gueltige Position // geblaettert wurde. - // ViewShell::StartAction(); + // ViewShell::StartAction(); PageMove eDir = lOffset > 0? MV_PAGE_DOWN: MV_PAGE_UP; // Richtungswechsel und Stack vorhanden if( eDir != ePageMove && ePageMove != MV_NO && PopCrsr( TRUE, bSelect )) diff --git a/sw/source/ui/wrtsh/select.cxx b/sw/source/ui/wrtsh/select.cxx index 8730900e6bfa..415e9a987974 100644 --- a/sw/source/ui/wrtsh/select.cxx +++ b/sw/source/ui/wrtsh/select.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 @@ -46,7 +46,7 @@ #include <mdiexp.hxx> #include <fmtcol.hxx> #include <frmfmt.hxx> -#include <swundo.hxx> // fuer Undo-Ids +#include <swundo.hxx> // fuer Undo-Ids #include <swevent.hxx> #include <swdtflvr.hxx> #include <crsskip.hxx> @@ -115,7 +115,7 @@ void SwWrtShell::SelSentence(const Point *pPt, BOOL ) if(pPt) aStart = *pPt; bSelLn = TRUE; - bSelWrd = FALSE; // SelWord abschalten, sonst geht kein SelLine weiter + bSelWrd = FALSE; // SelWord abschalten, sonst geht kein SelLine weiter } void SwWrtShell::SelPara(const Point *pPt, BOOL ) @@ -196,7 +196,7 @@ long SwWrtShell::SelAll() } /*------------------------------------------------------------------------ - Beschreibung: Textsuche + Beschreibung: Textsuche ------------------------------------------------------------------------*/ @@ -217,7 +217,7 @@ ULONG SwWrtShell::SearchPattern( const SearchOptions& rSearchOpt, BOOL bSearchIn return nRet; } /*------------------------------------------------------------------------ - Beschreibung: Suche nach Vorlagen + Beschreibung: Suche nach Vorlagen ------------------------------------------------------------------------*/ @@ -353,7 +353,7 @@ long SwWrtShell::ResetSelect(const Point *,BOOL) } else { - /* ACT_KONTEXT() macht eine Action auf - + /* ACT_KONTEXT() macht eine Action auf - um im Basicablauf keine Probleme mit der Shellumschaltung zu bekommen, darf GetChgLnk().Call() erst nach @@ -460,28 +460,28 @@ long SwWrtShell::ExtSelWrd(const Point *pPt, BOOL ) // check the direction of the selection with the new point BOOL bRet = FALSE, bMoveCrsr = TRUE, bToTop = FALSE; - SwCrsrShell::SelectWord( &aStart ); // select the startword - SwCrsrShell::Push(); // save the cursor - SwCrsrShell::SetCrsr( *pPt ); // and check the direction + SwCrsrShell::SelectWord( &aStart ); // select the startword + SwCrsrShell::Push(); // save the cursor + SwCrsrShell::SetCrsr( *pPt ); // and check the direction switch( SwCrsrShell::CompareCursor( StackMkCurrPt )) { - case -1: bToTop = FALSE; break; - case 1: bToTop = TRUE; break; - default: bMoveCrsr = FALSE; break; + case -1: bToTop = FALSE; break; + case 1: bToTop = TRUE; break; + default: bMoveCrsr = FALSE; break; } - SwCrsrShell::Pop( FALSE ); // retore the saved cursor + SwCrsrShell::Pop( FALSE ); // retore the saved cursor if( bMoveCrsr ) { // select to Top but cursor select to Bottom? or - // select to Bottom but cursor select to Top? --> swap the cursor + // select to Bottom but cursor select to Top? --> swap the cursor if( bToTop ) SwapPam(); - SwCrsrShell::Push(); // save cur cursor - if( SwCrsrShell::SelectWord( pPt )) // select the current word + SwCrsrShell::Push(); // save cur cursor + if( SwCrsrShell::SelectWord( pPt )) // select the current word { if( bToTop ) SwapPam(); @@ -620,7 +620,7 @@ long SwWrtShell::SttLeaveSelect(const Point *, BOOL ) if(SwCrsrShell::HasSelection() && !IsSelTblCells() && bClearMark) { return 0; } -// if( IsSelTblCells() ) aSelTblLink.Call(this); +// if( IsSelTblCells() ) aSelTblLink.Call(this); ClearMark(); return 1; } @@ -747,8 +747,8 @@ void SwWrtShell::EnterSelFrmMode(const Point *pPos) HideCrsr(); // gleicher Aufruf von BeginDrag an der SwFEShell - fnDrag = &SwWrtShell::BeginFrmDrag; - fnEndDrag = &SwWrtShell::UpdateLayoutFrm; + fnDrag = &SwWrtShell::BeginFrmDrag; + fnEndDrag = &SwWrtShell::UpdateLayoutFrm; SwBaseShell::SetFrmMode( FLY_DRAG_START, this ); Invalidate(); } @@ -757,8 +757,8 @@ void SwWrtShell::EnterSelFrmMode(const Point *pPos) void SwWrtShell::LeaveSelFrmMode() { - fnDrag = &SwWrtShell::BeginDrag; - fnEndDrag = &SwWrtShell::EndDrag; + fnDrag = &SwWrtShell::BeginDrag; + fnEndDrag = &SwWrtShell::EndDrag; bLayoutMode = FALSE; bStartDrag = FALSE; Edit(); @@ -766,7 +766,7 @@ void SwWrtShell::LeaveSelFrmMode() Invalidate(); } /*------------------------------------------------------------------------ - Beschreibung: Rahmengebundenes Macro ausfuehren + Beschreibung: Rahmengebundenes Macro ausfuehren ------------------------------------------------------------------------*/ @@ -936,10 +936,10 @@ BOOL SwWrtShell::SelectTableCell() return FALSE; } /*------------------------------------------------------------------------ - Beschreibung: Prueft, ob eine Wortselektion vorliegt. + Beschreibung: Prueft, ob eine Wortselektion vorliegt. Gemaess den Regeln fuer intelligentes Cut / Paste werden umgebende Spaces rausgeschnitten. - Return: Liefert Art der Wortselektion zurueck. + Return: Liefert Art der Wortselektion zurueck. ------------------------------------------------------------------------*/ diff --git a/sw/source/ui/wrtsh/wrtsh.hrc b/sw/source/ui/wrtsh/wrtsh.hrc index a82a4c3c1b48..deccbdbbf7a2 100644 --- a/sw/source/ui/wrtsh/wrtsh.hrc +++ b/sw/source/ui/wrtsh/wrtsh.hrc @@ -1,7 +1,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 diff --git a/sw/source/ui/wrtsh/wrtsh.src b/sw/source/ui/wrtsh/wrtsh.src index 21547d107758..377f9aef8fcf 100644 --- a/sw/source/ui/wrtsh/wrtsh.src +++ b/sw/source/ui/wrtsh/wrtsh.src @@ -1,7 +1,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 diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index d1592fa4302a..d045affeb2bc 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.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 @@ -37,7 +37,7 @@ #include <com/sun/star/chart2/XChartDocument.hpp> #if STLPORT_VERSION>=321 -#include <math.h> // prevent conflict between exception and std::exception +#include <math.h> // prevent conflict between exception and std::exception #endif #include <hintids.hxx> #include <svx/svdview.hxx> @@ -182,7 +182,7 @@ BOOL SwWrtShell::IsEndWrd() /*------------------------------------------------------------------------ - Beschreibung: Abfrage, ob Einfuegen moeglich ist; gfs. Beep + Beschreibung: Abfrage, ob Einfuegen moeglich ist; gfs. Beep ------------------------------------------------------------------------*/ @@ -197,7 +197,7 @@ BOOL SwWrtShell::_CanInsert() return TRUE; } /*------------------------------------------------------------------------ - Beschreibung: String einfuegen + Beschreibung: String einfuegen ------------------------------------------------------------------------*/ void SwWrtShell::InsertByWord( const String & rStr) @@ -310,7 +310,7 @@ void SwWrtShell::Insert( const String &rPath, const String &rFilter, EnterSelFrmMode(); BOOL bSetGrfSize = TRUE; - BOOL bOwnMgr = FALSE; + BOOL bOwnMgr = FALSE; if ( !pFrmMgr ) { @@ -520,7 +520,7 @@ void SwWrtShell::InsertObject( const svt::EmbeddedObjectRef& xRef, SvGlobalName } /*------------------------------------------------------------------------ - Beschreibung: Object in die Core einfuegen. + Beschreibung: Object in die Core einfuegen. Vom ClipBoard oder Insert ------------------------------------------------------------------------*/ @@ -825,7 +825,7 @@ void SwWrtShell::CalcAndSetScale( svt::EmbeddedObjectRef& xObj, //ist resized), the Object should be resized too. //If this request comes from the Object itself, the Frame //in the Writer core should be resized. - if ( pFlyPrtRect ) //Request from core? + if ( pFlyPrtRect ) //Request from core? { xObj->SetVisArea( OutputDevice::LogicToLogic( pFlyPrtRect->SVRect(), MAP_TWIP, xObj->GetMapUnit() )); @@ -895,7 +895,7 @@ void SwWrtShell::ConnectObj( svt::EmbeddedObjectRef& xObj, const SwRect &rPrt, } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen harter Seitenumbruch; + Beschreibung: Einfuegen harter Seitenumbruch; Selektionen werden ueberschrieben ------------------------------------------------------------------------*/ @@ -932,7 +932,7 @@ void SwWrtShell::InsertPageBreak(const String *pPageDesc, USHORT nPgNum ) } } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen harter Zeilenumbruch; + Beschreibung: Einfuegen harter Zeilenumbruch; Selektionen werden ueberschrieben ------------------------------------------------------------------------*/ @@ -954,7 +954,7 @@ void SwWrtShell::InsertLineBreak() } } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen harter Spaltenumbruch; + Beschreibung: Einfuegen harter Spaltenumbruch; Selektionen werden ueberschrieben ------------------------------------------------------------------------*/ @@ -980,8 +980,8 @@ void SwWrtShell::InsertColumnBreak() } /*------------------------------------------------------------------------ - Beschreibung: Einfuegen Fussnote - Parameter: rStr -- optionales Fussnotenzeichen + Beschreibung: Einfuegen Fussnote + Parameter: rStr -- optionales Fussnotenzeichen ------------------------------------------------------------------------*/ @@ -1013,7 +1013,7 @@ void SwWrtShell::InsertFootnote(const String &rStr, BOOL bEndNote, BOOL bEdit ) } } /*------------------------------------------------------------------------ - Beschreibung: SplitNode; hier auch, da + Beschreibung: SplitNode; hier auch, da - selektierter Inhalt geloescht wird; - der Cursorstack gfs. zurueckgesetzt wird. ------------------------------------------------------------------------*/ @@ -1041,8 +1041,8 @@ void SwWrtShell::SplitNode( BOOL bAutoFmt, BOOL bCheckTableStart ) } /*------------------------------------------------------------------------ - Beschreibung: Numerierung anschalten - Parameter: Optionale Angabe eines Namens fuer die benannte Liste; + Beschreibung: Numerierung anschalten + Parameter: Optionale Angabe eines Namens fuer die benannte Liste; dieser bezeichnet eine Position, wenn er in eine Zahl konvertierbar ist und kleiner ist als nMaxRules. -------------------------------------------------------------------------*/ @@ -1451,7 +1451,7 @@ void SwWrtShell::NumOrBulletOff() // <- #i29560# /*------------------------------------------------------------------------ - Beschreibung: Default-Bulletliste erfragen + Beschreibung: Default-Bulletliste erfragen ------------------------------------------------------------------------*/ void SwWrtShell::BulletOn() @@ -1473,7 +1473,7 @@ SelectionType SwWrtShell::GetSelectionType() const if ( BasicActionPend() ) return IsSelFrmMode() ? nsSelectionType::SEL_FRM : nsSelectionType::SEL_TXT; -// if ( IsTableMode() ) +// if ( IsTableMode() ) // return nsSelectionType::SEL_TBL | nsSelectionType::SEL_TBL_CELLS; SwView &_rView = ((SwView&)GetView()); @@ -1489,7 +1489,7 @@ SelectionType SwWrtShell::GetSelectionType() const nCnt = nsSelectionType::SEL_DRW_TXT; else { - if (GetView().IsFormMode()) // Nur Forms selektiert + if (GetView().IsFormMode()) // Nur Forms selektiert nCnt = nsSelectionType::SEL_DRW_FORM; else nCnt = nsSelectionType::SEL_DRW; // Irgendein Draw-Objekt @@ -1556,8 +1556,8 @@ SelectionType SwWrtShell::GetSelectionType() const } /*------------------------------------------------------------------------ - Beschreibung: Finden der TextCollection mit dem Name rCollname - Return: Pointer auf die Collection oder 0, wenn keine + Beschreibung: Finden der TextCollection mit dem Name rCollname + Return: Pointer auf die Collection oder 0, wenn keine TextCollection mit diesem Namen existiert oder diese eine Defaultvorlage ist. ------------------------------------------------------------------------*/ @@ -1575,8 +1575,8 @@ SwTxtFmtColl *SwWrtShell::GetParaStyle(const String &rCollName, GetStyle eCreate return pColl; } /*------------------------------------------------------------------------ - Beschreibung: Finden der Zeichenvorlage mit dem Name rCollname - Return: Pointer auf die Collection oder 0, wenn keine + Beschreibung: Finden der Zeichenvorlage mit dem Name rCollname + Return: Pointer auf die Collection oder 0, wenn keine Zeichenvorlage mit diesem Namen existiert oder diese eine Defaultvorlage oder automatische Vorlage ist. ------------------------------------------------------------------------*/ @@ -1596,8 +1596,8 @@ SwCharFmt *SwWrtShell::GetCharStyle(const String &rFmtName, GetStyle eCreate ) } /*------------------------------------------------------------------------ - Beschreibung: Finden des Tabellenformates mit dem Name rFmtname - Return: Pointer auf das Format oder 0, wenn kein + Beschreibung: Finden des Tabellenformates mit dem Name rFmtname + Return: Pointer auf das Format oder 0, wenn kein Rahmenformat mit diesem Namen existiert oder dieses eine Defaultformat oder automatisches Format ist. ------------------------------------------------------------------------*/ @@ -1616,7 +1616,7 @@ SwFrmFmt *SwWrtShell::GetTblStyle(const String &rFmtName) /*------------------------------------------------------------------------ - Beschreibung: Anwenden der Vorlagen + Beschreibung: Anwenden der Vorlagen ------------------------------------------------------------------------*/ @@ -1632,7 +1632,7 @@ void SwWrtShell::SetPageStyle(const String &rCollName) } /*------------------------------------------------------------------------ - Beschreibung: Zugriff Vorlagen + Beschreibung: Zugriff Vorlagen ------------------------------------------------------------------------*/ @@ -1643,7 +1643,7 @@ String SwWrtShell::GetCurPageStyle( const BOOL bCalcFrm ) const } /*------------------------------------------------------------------------ - Beschreibung: Aktuelle Vorlage anhand der geltenden Attribute aendern + Beschreibung: Aktuelle Vorlage anhand der geltenden Attribute aendern ------------------------------------------------------------------------*/ @@ -1665,16 +1665,16 @@ void SwWrtShell::QuickUpdateStyle() void SwWrtShell::AutoUpdatePara(SwTxtFmtColl* pColl, const SfxItemSet& rStyleSet) { SfxItemSet aCoreSet( GetAttrPool(), - RES_CHRATR_BEGIN, RES_CHRATR_END - 1, - RES_PARATR_BEGIN, RES_PARATR_END - 1, - RES_FRMATR_BEGIN, RES_FRMATR_END - 1, - SID_ATTR_TABSTOP_POS, SID_ATTR_TABSTOP_POS, - SID_ATTR_TABSTOP_DEFAULTS, SID_ATTR_TABSTOP_DEFAULTS, - SID_ATTR_TABSTOP_OFFSET, SID_ATTR_TABSTOP_OFFSET, - SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER, - SID_ATTR_PARA_MODEL, SID_ATTR_PARA_KEEP, - SID_ATTR_PARA_PAGENUM, SID_ATTR_PARA_PAGENUM, - 0 ); + RES_CHRATR_BEGIN, RES_CHRATR_END - 1, + RES_PARATR_BEGIN, RES_PARATR_END - 1, + RES_FRMATR_BEGIN, RES_FRMATR_END - 1, + SID_ATTR_TABSTOP_POS, SID_ATTR_TABSTOP_POS, + SID_ATTR_TABSTOP_DEFAULTS, SID_ATTR_TABSTOP_DEFAULTS, + SID_ATTR_TABSTOP_OFFSET, SID_ATTR_TABSTOP_OFFSET, + SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER, + SID_ATTR_PARA_MODEL, SID_ATTR_PARA_KEEP, + SID_ATTR_PARA_PAGENUM, SID_ATTR_PARA_PAGENUM, + 0 ); GetCurAttr( aCoreSet ); BOOL bReset = FALSE; SfxItemIter aParaIter( aCoreSet ); diff --git a/sw/source/ui/wrtsh/wrtsh2.cxx b/sw/source/ui/wrtsh/wrtsh2.cxx index eca6344941e3..02acea8c480a 100644 --- a/sw/source/ui/wrtsh/wrtsh2.cxx +++ b/sw/source/ui/wrtsh/wrtsh2.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 @@ -29,7 +29,7 @@ // MARKER(update_precomp.py): autogen include statement, do not remove #include "precompiled_sw.hxx" -#include <hintids.hxx> // define ITEMIDs +#include <hintids.hxx> // define ITEMIDs #include <svl/macitem.hxx> #include <sfx2/frame.hxx> #include <vcl/msgbox.hxx> @@ -42,7 +42,7 @@ #include <sfx2/linkmgr.hxx> #include <fmtinfmt.hxx> #include <frmatr.hxx> -#include <swtypes.hxx> // SET_CURR_SHELL +#include <swtypes.hxx> // SET_CURR_SHELL #include <wrtsh.hxx> #include <docsh.hxx> #include <fldbas.hxx> // Felder @@ -52,7 +52,7 @@ #include <reffld.hxx> #include <swundo.hxx> #include <doc.hxx> -#include <viewopt.hxx> // SwViewOptions +#include <viewopt.hxx> // SwViewOptions #include <frmfmt.hxx> // fuer UpdateTable #include <swtable.hxx> // fuer UpdateTable #include <mdiexp.hxx> @@ -155,8 +155,8 @@ BOOL SwWrtShell::StartInputFldDlg( SwField* pFld, BOOL bNextButton, Window* pParentWin, ByteString* pWindowState ) { //JP 14.08.96: Bug 30332 - nach Umbau der modularietaet im SFX, muss jetzt -// das TopWindow der Application benutzt werden. -// SwFldInputDlg* pDlg = new SwFldInputDlg( GetWin(), *this, pFld ); +// das TopWindow der Application benutzt werden. +// SwFldInputDlg* pDlg = new SwFldInputDlg( GetWin(), *this, pFld ); SwAbstractDialogFactory* pFact = SwAbstractDialogFactory::Create(); OSL_ENSURE(pFact, "Dialogdiet fail!"); @@ -262,18 +262,18 @@ void SwWrtShell::ClickToField( const SwField& rFld ) nSlotId = FN_INSERT_FRAME; break; - case JE_FMT_GRAPHIC: nSlotId = SID_INSERT_GRAPHIC; break; - case JE_FMT_OLE: nSlotId = SID_INSERT_OBJECT; break; + case JE_FMT_GRAPHIC: nSlotId = SID_INSERT_GRAPHIC; break; + case JE_FMT_OLE: nSlotId = SID_INSERT_OBJECT; break; -// case JE_FMT_TEXT: +// case JE_FMT_TEXT: } - Right( CRSR_SKIP_CHARS, TRUE, 1, FALSE ); // Feld selektieren + Right( CRSR_SKIP_CHARS, TRUE, 1, FALSE ); // Feld selektieren if( nSlotId ) { StartUndo( UNDO_START ); - //#97295# immediately select the right shell + //#97295# immediately select the right shell GetView().StopShellTimer(); GetView().GetViewFrame()->GetDispatcher()->Execute( nSlotId, SFX_CALLMODE_SYNCHRON|SFX_CALLMODE_RECORD ); @@ -422,7 +422,7 @@ void LoadURL( const String& rURL, ViewShell* pVSh, USHORT nFilter, SfxBoolItem aNewView( SID_OPEN_NEW_VIEW, FALSE ); //#39076# Silent kann lt. SFX entfernt werden. -// SfxBoolItem aSilent( SID_SILENT, TRUE ); +// SfxBoolItem aSilent( SID_SILENT, TRUE ); SfxBoolItem aBrowse( SID_BROWSE, TRUE ); if( nFilter & URLLOAD_NEWVIEW ) diff --git a/sw/source/ui/wrtsh/wrtsh3.cxx b/sw/source/ui/wrtsh/wrtsh3.cxx index 148add9bf0de..9c3658fbbd09 100644 --- a/sw/source/ui/wrtsh/wrtsh3.cxx +++ b/sw/source/ui/wrtsh/wrtsh3.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 diff --git a/sw/source/ui/wrtsh/wrtsh4.cxx b/sw/source/ui/wrtsh/wrtsh4.cxx index 2bf6f80c8122..f16a1a66c30a 100644 --- a/sw/source/ui/wrtsh/wrtsh4.cxx +++ b/sw/source/ui/wrtsh/wrtsh4.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 @@ -66,7 +66,7 @@ BOOL SwWrtShell::_SttWrd() } /* * Das Ende eines Wortes ist das Folgen von Trennzeichen auf - * nicht-Trennzeichen. Unter dem Ende eines Wortes wird + * nicht-Trennzeichen. Unter dem Ende eines Wortes wird * ebenfalls die Folge von Worttrennzeichen auf Interpunktions- * zeichen verstanden. Das Absatzende ist ebenfalls Wortende. */ @@ -94,9 +94,9 @@ BOOL SwWrtShell::_EndWrd() BOOL SwWrtShell::_NxtWrd() { BOOL bRet = FALSE; - while( IsEndPara() ) // wenn schon am Ende, dann naechsten ??? + while( IsEndPara() ) // wenn schon am Ende, dann naechsten ??? { - if(!SwCrsrShell::Right(1,CRSR_SKIP_CHARS)) // Document - Ende ?? + if(!SwCrsrShell::Right(1,CRSR_SKIP_CHARS)) // Document - Ende ?? { Pop( FALSE ); return bRet; @@ -126,9 +126,9 @@ BOOL SwWrtShell::_PrvWrd() { BOOL bRet = FALSE; while( IsSttPara() ) - { // wenn schon am Anfang, dann naechsten ??? + { // wenn schon am Anfang, dann naechsten ??? if(!SwCrsrShell::Left(1,CRSR_SKIP_CHARS)) - { // Document - Anfang ?? + { // Document - Anfang ?? Pop( FALSE ); return bRet; } diff --git a/sw/source/ui/wrtsh/wrtundo.cxx b/sw/source/ui/wrtsh/wrtundo.cxx index a7ae5c1b10e9..ef70e42d6690 100644 --- a/sw/source/ui/wrtsh/wrtundo.cxx +++ b/sw/source/ui/wrtsh/wrtundo.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 @@ -36,7 +36,7 @@ #include <sfx2/app.hxx> #include <svl/slstitm.hxx> #include <wrtsh.hxx> -#include <swundo.hxx> // fuer Undo-Ids +#include <swundo.hxx> // fuer Undo-Ids #include <swdtflvr.hxx> #include <wrtsh.hrc> @@ -105,7 +105,7 @@ void SwWrtShell::Do( DoType eDoType, USHORT nCnt ) SwTransferable::CreateSelection( *this ); // Bug 32918: nach loeschen der Numerierung bleibt die Obj. Leiste stehen - // Warum wird hier nicht immer ein CallChgLink gerufen? + // Warum wird hier nicht immer ein CallChgLink gerufen? CallChgLnk(); } |