diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 15:00:31 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-11-14 15:00:31 +0000 |
commit | 8d574d9ee793b067c01057e6e8a67c173a61be95 (patch) | |
tree | d5cf5c00b183bffc09a0a7e839baf635333c0bd0 /sc/source/ui/view/tabvwshg.cxx | |
parent | a0f1d1f8febad71ade6d3c8cd8d8157a0bad1102 (diff) |
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#
Diffstat (limited to 'sc/source/ui/view/tabvwshg.cxx')
-rw-r--r-- | sc/source/ui/view/tabvwshg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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<awt::XControlModel> 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() ); } |