summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/futext3.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-07-10 13:08:27 +0000
committerOliver Bolte <obo@openoffice.org>2006-07-10 13:08:27 +0000
commit050f67555f697f303483039021567d44b113dde5 (patch)
tree670e534f6e9f5b19b29e343c8b34782a870dca81 /sc/source/ui/drawfunc/futext3.cxx
parent4807978ec725d67c01457e2d0dc564344ba9d595 (diff)
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
Diffstat (limited to 'sc/source/ui/drawfunc/futext3.cxx')
-rw-r--r--sc/source/ui/drawfunc/futext3.cxx8
1 files changed, 4 insertions, 4 deletions
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;