diff options
author | Niklas Nebel <nn@openoffice.org> | 2002-04-17 12:35:09 +0000 |
---|---|---|
committer | Niklas Nebel <nn@openoffice.org> | 2002-04-17 12:35:09 +0000 |
commit | 93864b4a8d2ec54def995eaec94c06bee11a1a3b (patch) | |
tree | 449f3b9ba6794c663e0ba859bed121224f895776 /sc/source/ui/app/client.cxx | |
parent | e5557aace327f6afd0d4076c3c5389c3b494d601 (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.cxx | 12 |
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(); + } } } |