summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docfunc.cxx
diff options
context:
space:
mode:
authorNiklas Nebel <nn@openoffice.org>2010-10-22 15:55:40 +0200
committerNiklas Nebel <nn@openoffice.org>2010-10-22 15:55:40 +0200
commit09e3535aaaa0b2c889f75974e6a29878254e26d8 (patch)
tree35f19adcb55e16c000fecf6fd4a9f2593705d4cc /sc/source/ui/docshell/docfunc.cxx
parent2cf7e9d5fa0f17b95b64f885788559781e98be98 (diff)
dr77: #i106108# SetDocumentModified in ScDocFunc::SetWidthOrHeight
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r--sc/source/ui/docshell/docfunc.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx
index 4677eecbf20c..915c846b663b 100644
--- a/sc/source/ui/docshell/docfunc.cxx
+++ b/sc/source/ui/docshell/docfunc.cxx
@@ -3121,6 +3121,8 @@ BOOL ScDocFunc::SetWidthOrHeight( BOOL bWidth, SCCOLROW nRangeCnt, SCCOLROW* pRa
ScSizeMode eMode, USHORT nSizeTwips,
BOOL bRecord, BOOL bApi )
{
+ ScDocShellModificator aModificator( rDocShell );
+
if (!nRangeCnt)
return TRUE;
@@ -3282,6 +3284,7 @@ BOOL ScDocFunc::SetWidthOrHeight( BOOL bWidth, SCCOLROW nRangeCnt, SCCOLROW* pRa
pDoc->UpdatePageBreaks( nTab );
rDocShell.PostPaint(0,0,nTab,MAXCOL,MAXROW,nTab,PAINT_ALL);
+ aModificator.SetDocumentModified();
return bSuccess;
}