summaryrefslogtreecommitdiff
path: root/sc/source/ui/app/client.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2002-04-17 12:35:09 +0000
committerNiklas Nebel <nn@openoffice.org>2002-04-17 12:35:09 +0000
commit93864b4a8d2ec54def995eaec94c06bee11a1a3b (patch)
tree449f3b9ba6794c663e0ba859bed121224f895776 /sc/source/ui/app/client.cxx
parente5557aace327f6afd0d4076c3c5389c3b494d601 (diff)
#92618# call SetDrawModified also when position is changed
Diffstat (limited to 'sc/source/ui/app/client.cxx')
-rw-r--r--sc/source/ui/app/client.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/sc/source/ui/app/client.cxx b/sc/source/ui/app/client.cxx
index b002de662a3c..9e44c4e536a4 100644
--- a/sc/source/ui/app/client.cxx
+++ b/sc/source/ui/app/client.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: client.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: nn $ $Date: 2001-10-10 18:20:34 $
+ * last change: $Author: nn $ $Date: 2002-04-17 13:35:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -227,7 +227,15 @@ void __EXPORT ScClient::RequestObjAreaPixel( const Rectangle& rObjRect )
aNew.SetSize( aNewSize );
if ( aNew != aOld ) // veraendert nur, wenn mindestens 1 Pixel
+ {
pDrawObj->SetLogicRect( aNew );
+
+ // set document modified (SdrModel::SetChanged is not used)
+ SfxViewShell* pSfxViewSh = GetViewShell();
+ ScTabViewShell* pViewSh = PTR_CAST( ScTabViewShell, pSfxViewSh );
+ if (pViewSh)
+ pViewSh->GetViewData()->GetDocShell()->SetDrawModified();
+ }
}
}