summaryrefslogtreecommitdiff
path: root/forms/source/richtext/richtextvclcontrol.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/richtext/richtextvclcontrol.cxx')
-rw-r--r--forms/source/richtext/richtextvclcontrol.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextvclcontrol.cxx b/forms/source/richtext/richtextvclcontrol.cxx
index ff570eb74efa..cb4d613e36b2 100644
--- a/forms/source/richtext/richtextvclcontrol.cxx
+++ b/forms/source/richtext/richtextvclcontrol.cxx
@@ -88,12 +88,12 @@ namespace frm
if ( HasChildPathFocus() )
getView().HideCursor();
- bool bOldUpdateMode = getEngine().GetUpdateMode(); // TODO: guard?
- getEngine().SetUpdateMode( false );
+ // TODO: guard?
+ bool bOldUpdateMode = getEngine().SetUpdateLayout( false );
getView().SetAttribs( _rAttributesToApply );
- getEngine().SetUpdateMode( bOldUpdateMode );
+ getEngine().SetUpdateLayout( bOldUpdateMode );
getView().Invalidate();
if ( HasChildPathFocus() )