diff options
Diffstat (limited to 'sw/source/ui/uiview/viewdraw.cxx')
-rw-r--r-- | sw/source/ui/uiview/viewdraw.cxx | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/sw/source/ui/uiview/viewdraw.cxx b/sw/source/ui/uiview/viewdraw.cxx index abae753c1b56..49889a3daf03 100644 --- a/sw/source/ui/uiview/viewdraw.cxx +++ b/sw/source/ui/uiview/viewdraw.cxx @@ -83,7 +83,7 @@ using namespace ::com::sun::star; /*-------------------------------------------------------------------- - Beschreibung: Drawing-Ids ausfuehren + Beschreibung: Drawing-Ids ausfuehren --------------------------------------------------------------------*/ void SwView::ExecDraw(SfxRequest& rReq) @@ -135,7 +135,7 @@ void SwView::ExecDraw(SfxRequest& rReq) if (nNewId == nFormSfxId) { bDeselect = sal_True; - GetViewFrame()->GetDispatcher()->Execute(SID_FM_LEAVE_CREATE); // Button soll rauspoppen + GetViewFrame()->GetDispatcher()->Execute(SID_FM_LEAVE_CREATE); // Button soll rauspoppen } } } @@ -178,7 +178,7 @@ void SwView::ExecDraw(SfxRequest& rReq) } else if ( nSlotId == SID_FONTWORK_GALLERY_FLOATER ) { - Window* pWin = &( pWrtShell->GetView().GetViewFrame()->GetWindow() ); + Window* pWin = &( pWrtShell->GetView().GetViewFrame()->GetWindow() ); if ( pWin ) pWin->EnterWait(); @@ -195,11 +195,11 @@ void SwView::ExecDraw(SfxRequest& rReq) aDlg.Execute(); if ( pObj ) { - Size aDocSize( pWrtShell->GetDocSize() ); - const SwRect& rVisArea = pWrtShell->VisArea(); - Point aPos( rVisArea.Center() ); - Size aSize; - Size aPrefSize( pObj->GetSnapRect().GetSize() ); + Size aDocSize( pWrtShell->GetDocSize() ); + const SwRect& rVisArea = pWrtShell->VisArea(); + Point aPos( rVisArea.Center() ); + Size aSize; + Size aPrefSize( pObj->GetSnapRect().GetSize() ); if( rVisArea.Width() > aDocSize.Width()) aPos.X() = aDocSize.Width() / 2 + rVisArea.Left(); @@ -266,7 +266,7 @@ void SwView::ExecDraw(SfxRequest& rReq) LeaveDrawCreate(); if (pWrtShell->IsFrmSelected()) - pWrtShell->EnterStdMode(); // wegen Bug #45639 + pWrtShell->EnterStdMode(); // wegen Bug #45639 SwDrawBase* pFuncPtr = NULL; @@ -408,7 +408,7 @@ void SwView::ExecDraw(SfxRequest& rReq) } /*-------------------------------------------------------------------- - Beschreibung: Drawing beenden + Beschreibung: Drawing beenden --------------------------------------------------------------------*/ @@ -462,7 +462,7 @@ void SwView::ExitDraw() } /*-------------------------------------------------------------------- - Beschreibung: Rotate-Mode abschalten + Beschreibung: Rotate-Mode abschalten --------------------------------------------------------------------*/ @@ -480,7 +480,7 @@ void SwView::NoRotate() } /****************************************************************************** - * Beschreibung: DrawTextEditMode einschalten + * Beschreibung: DrawTextEditMode einschalten ******************************************************************************/ sal_Bool SwView::EnterDrawTextMode(const Point& aDocPos) @@ -518,9 +518,9 @@ sal_Bool SwView::EnterDrawTextMode(const Point& aDocPos) } /****************************************************************************** - * Beschreibung: DrawTextEditMode einschalten + * Beschreibung: DrawTextEditMode einschalten ******************************************************************************/ -sal_Bool SwView::BeginTextEdit(SdrObject* pObj, SdrPageView* pPV, Window* pWin, +sal_Bool SwView::BeginTextEdit(SdrObject* pObj, SdrPageView* pPV, Window* pWin, bool bIsNewObj, bool bSetSelectionToStart) { SwWrtShell *pSh = &GetWrtShell(); @@ -619,7 +619,7 @@ sal_Bool SwView::BeginTextEdit(SdrObject* pObj, SdrPageView* pPV, Window* pWin, } /****************************************************************************** - * Beschreibung: Ist ein DrawTextObjekt selektiert? + * Beschreibung: Ist ein DrawTextObjekt selektiert? ******************************************************************************/ @@ -743,7 +743,7 @@ sal_Bool SwView::HasDrwObj(SdrObject *pSdrObj) const if (pSdrObj->IsGroupObject()) { - SdrObjList* pList = pSdrObj->GetSubList(); + SdrObjList* pList = pSdrObj->GetSubList(); sal_uInt32 nCnt = pList->GetObjCount(); for (sal_uInt32 i = 0; i < nCnt; i++) @@ -766,7 +766,7 @@ sal_Bool SwView::HasOnlyObj(SdrObject *pSdrObj, sal_uInt32 eObjInventor) const if (pSdrObj->IsGroupObject()) { - SdrObjList* pList = pSdrObj->GetSubList(); + SdrObjList* pList = pSdrObj->GetSubList(); sal_uInt32 nCnt = pList->GetObjCount(); for (sal_uInt32 i = 0; i < nCnt; i++) |