From 8d574d9ee793b067c01057e6e8a67c173a61be95 Mon Sep 17 00:00:00 2001 From: Ivo Hinkelmann Date: Tue, 14 Nov 2006 15:00:31 +0000 Subject: INTEGRATION: CWS aw024 (1.8.88); FILE MERGED 2006/08/03 19:36:00 aw 1.8.88.4: RESYNC: (1.9-1.10); FILE MERGED 2005/09/20 04:01:04 aw 1.8.88.3: RESYNC: (1.8-1.9); FILE MERGED 2005/05/26 11:16:19 aw 1.8.88.2: #i39531# 2005/05/19 12:08:18 aw 1.8.88.1: #i39529# --- sc/source/ui/view/tabvwshg.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/source/ui/view/tabvwshg.cxx') diff --git a/sc/source/ui/view/tabvwshg.cxx b/sc/source/ui/view/tabvwshg.cxx index b01d3ef93641..247e08f83780 100644 --- a/sc/source/ui/view/tabvwshg.cxx +++ b/sc/source/ui/view/tabvwshg.cxx @@ -4,9 +4,9 @@ * * $RCSfile: tabvwshg.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: kz $ $Date: 2006-07-21 15:18:36 $ + * last change: $Author: ihi $ $Date: 2006-11-14 16:00:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -88,7 +88,7 @@ void ScTabViewShell::InsertURLButton( const String& rName, const String& rURL, SdrModel* pModel = pDrView->GetModel(); SdrObject* pObj = SdrObjFactory::MakeNewObject(FmFormInventor, OBJ_FM_BUTTON, - pDrView->GetPageViewPvNum(0)->GetPage(), pModel); + pDrView->GetSdrPageView()->GetPage(), pModel); SdrUnoObj* pUnoCtrl = PTR_CAST(SdrUnoObj, pObj); uno::Reference xControlModel = pUnoCtrl->GetUnoControlModel(); @@ -142,7 +142,7 @@ void ScTabViewShell::InsertURLButton( const String& rName, const String& rURL, // gesetzt werden - das scheint mit UnoControls nicht noetig zu sein // nicht markieren wenn Ole - pDrView->InsertObjectSafe( pObj, *pDrView->GetPageViewPvNum(0) ); + pDrView->InsertObjectSafe( pObj, *pDrView->GetSdrPageView() ); } -- cgit