diff options
Diffstat (limited to 'sc/source/ui/docshell/docfunc.cxx')
-rw-r--r-- | sc/source/ui/docshell/docfunc.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/docshell/docfunc.cxx b/sc/source/ui/docshell/docfunc.cxx index d0ad63f1ff95..1972c9f364bd 100644 --- a/sc/source/ui/docshell/docfunc.cxx +++ b/sc/source/ui/docshell/docfunc.cxx @@ -1165,9 +1165,7 @@ void ScDocFunc::PutData( const ScAddress& rPos, ScEditEngineDefaulter& rEngine, // EditEngine isn't accessed again. bool bLoseContent = rDoc.IsImportingXML(); - bool bUpdateMode(rEngine.GetUpdateMode()); - if (bUpdateMode) - rEngine.SetUpdateMode(false); + const bool bUpdateMode = rEngine.SetUpdateLayout(false); std::vector<std::unique_ptr<ScMyRememberItem>> aRememberItems; @@ -1201,7 +1199,7 @@ void ScDocFunc::PutData( const ScAddress& rPos, ScEditEngineDefaulter& rEngine, // #i61702# if the content isn't accessed, there's no need to set the UpdateMode again if ( bUpdateMode && !bLoseContent ) - rEngine.SetUpdateMode(true); + rEngine.SetUpdateLayout(true); } else { |