summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconarc.cxx
diff options
context:
space:
mode:
authorIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:27:20 +0000
committerIvo Hinkelmann <ihi@openoffice.org>2006-11-14 13:27:20 +0000
commit59f97b703aed6a17e2f31c527060fe0cc2f20727 (patch)
treed12102e7e0cbf42e8eb35ee67e4b5770210e9a8d /sd/source/ui/func/fuconarc.cxx
parent2c199c723ccb490aa14ef118be721521ac53a29b (diff)
INTEGRATION: CWS aw024 (1.9.310); FILE MERGED
2006/09/21 23:10:30 aw 1.9.310.6: RESYNC: (1.12-1.13); FILE MERGED 2006/05/12 20:28:50 aw 1.9.310.5: RESYNC: (1.11-1.12); FILE MERGED 2006/01/26 19:50:38 aw 1.9.310.4: RESYNC: (1.10-1.11); FILE MERGED 2005/09/17 11:22:54 aw 1.9.310.3: RESYNC: (1.9-1.10); FILE MERGED 2005/05/26 11:24:30 aw 1.9.310.2: #i39531# 2005/05/19 12:11:24 aw 1.9.310.1: #i39529#
Diffstat (limited to 'sd/source/ui/func/fuconarc.cxx')
-rw-r--r--sd/source/ui/func/fuconarc.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sd/source/ui/func/fuconarc.cxx b/sd/source/ui/func/fuconarc.cxx
index 2aec32fd8a1b..0aa22f13a57d 100644
--- a/sd/source/ui/func/fuconarc.cxx
+++ b/sd/source/ui/func/fuconarc.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fuconarc.cxx,v $
*
- * $Revision: 1.13 $
+ * $Revision: 1.14 $
*
- * last change: $Author: obo $ $Date: 2006-09-16 18:47:25 $
+ * last change: $Author: ihi $ $Date: 2006-11-14 14:27:20 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -151,9 +151,9 @@ void FuConstructArc::DoExecute( SfxRequest& rReq )
aNewRectangle,
(long) (pPhiStart->GetValue () * 10.0),
(long) (pPhiEnd->GetValue () * 10.0));
- SdrPageView *pPV = pView->GetPageViewPvNum (0);
+ SdrPageView *pPV = pView->GetSdrPageView();
- pView->InsertObject(pNewCircle, *pPV, SDRINSERT_SETDEFLAYER);
+ pView->InsertObjectAtView(pNewCircle, *pPV, SDRINSERT_SETDEFLAYER);
}
}
@@ -216,11 +216,11 @@ BOOL FuConstructArc::MouseButtonUp( const MouseEvent& rMEvt )
{
Point aPnt( pWindow->PixelToLogic( rMEvt.GetPosPixel() ) );
- ULONG nCount = pView->GetPageViewPvNum(0)->GetObjList()->GetObjCount();
+ ULONG nCount = pView->GetSdrPageView()->GetObjList()->GetObjCount();
if (pView->EndCreateObj(SDRCREATE_NEXTPOINT) )
{
- if (nCount != pView->GetPageViewPvNum(0)->GetObjList()->GetObjCount())
+ if (nCount != pView->GetSdrPageView()->GetObjList()->GetObjCount())
{
bCreated = TRUE;
}