From 050f67555f697f303483039021567d44b113dde5 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 10 Jul 2006 13:08:27 +0000 Subject: INTEGRATION: CWS dr48 (1.9.170); FILE MERGED 2006/05/10 10:38:03 nn 1.9.170.1: #i64441# don't rely on sheet information in ScDrawObjData from drawing objects --- sc/source/ui/drawfunc/futext3.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sc/source/ui/drawfunc/futext3.cxx') diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx index 0ad56ac84dc0..b336d531f447 100644 --- a/sc/source/ui/drawfunc/futext3.cxx +++ b/sc/source/ui/drawfunc/futext3.cxx @@ -4,9 +4,9 @@ * * $RCSfile: futext3.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2005-09-08 20:59:09 $ + * last change: $Author: obo $ $Date: 2006-07-10 14:08:27 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -323,7 +323,7 @@ void FuText::StopEditMode(BOOL bTextDirection) SdrObject* pObject = pView->GetTextEditObject(); if ( pObject && pObject->GetLayer()==SC_LAYER_INTERN && pObject->ISA(SdrCaptionObj) ) { - ScDrawObjData* pData = ScDrawLayer::GetObjData( pObject ); + ScDrawObjData* pData = ScDrawLayer::GetObjDataTab( pObject, pViewShell->GetViewData()->GetTabNo() ); if( pData ) { aTabPos = ScAddress( pData->aStt); @@ -455,7 +455,7 @@ void FuText::StopDragMode(SdrObject* pObject) if ( pObject && pObject->GetLayer()==SC_LAYER_INTERN && pObject->ISA(SdrCaptionObj) ) { - ScDrawObjData* pData = ScDrawLayer::GetObjData( pObject ); + ScDrawObjData* pData = ScDrawLayer::GetObjDataTab( pObject, pViewShell->GetViewData()->GetTabNo() ); if( pData ) { aTabPos = pData->aStt; -- cgit