summaryrefslogtreecommitdiff
path: root/starmath/source/edit.cxx
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-07-23 17:21:05 +0200
committerThomas Lange [tl] <tl@openoffice.org>2010-07-23 17:21:05 +0200
commit4c8d9dbc46403017cf09723d903e1b49296b9e48 (patch)
treed198bb6242316a4403e75007d7691ce6a68fd0e3 /starmath/source/edit.cxx
parent1acb3fa596bac16a168b22d4070db9f6423881d8 (diff)
cws tl83: #i113276# changes to Greek symbol set because of new OpenSymbol font
Diffstat (limited to 'starmath/source/edit.cxx')
-rw-r--r--starmath/source/edit.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index f7093f9c3815..fe849a36e358 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -251,7 +251,10 @@ IMPL_LINK( SmEditWindow, ModifyTimerHdl, Timer *, EMPTYARG /*pTimer*/ )
{
SmModule *pp = SM_MOD();
if (pp->GetConfig()->IsAutoRedraw())
+ {
Flush();
+ aModifyTimer.Stop();
+ }
return 0;
}
@@ -917,7 +920,10 @@ void SmEditWindow::InsertText(const String& Text)
{
DBG_ASSERT( pEditView, "EditView missing" );
if (pEditView)
+ {
pEditView->InsertText(Text);
+ aModifyTimer.Start();
+ }
}
void SmEditWindow::Flush()
@@ -928,9 +934,11 @@ void SmEditWindow::Flush()
pEditEngine->ClearModifyFlag();
SmViewShell *pViewSh = rCmdBox.GetView();
if (pViewSh)
+ {
pViewSh->GetViewFrame()->GetDispatcher()->Execute(
SID_TEXT, SFX_CALLMODE_STANDARD,
new SfxStringItem(SID_TEXT, GetText()), 0L);
+ }
}
if (aCursorMoveTimer.IsActive())