summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorAriel Constenla-Haile <arielch@apache.org>2012-07-03 12:26:39 +0000
committerAriel Constenla-Haile <arielch@apache.org>2012-07-03 12:26:39 +0000
commit19811155689c7878e8118c8d1e4e0640df25de2b (patch)
treede412b564f9a67e29051a6b6be4538e4f1563c60 /starmath
parent48856f602fc5375586fe48a82ff0c47745ee69f2 (diff)
i120156 - AutoUpdate on Undo/Redo
Notes
Notes: prefer: 396d679b60fe2c996ff040218814f54684703313
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index ac485da35fa4..bfd87686093c 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -1181,6 +1181,10 @@ void SmDocShell::Execute(SfxRequest& rReq)
DBG_UNHANDLED_EXCEPTION();
}
}
+
+ SmModule *pModule = SM_MOD();
+ if ( pModule && pModule->GetConfig()->IsAutoRedraw() )
+ UpdateText();
Repaint();
SfxViewFrame* pFrm = SfxViewFrame::GetFirst( this );
while( pFrm )