summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/htmlex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/htmlex.cxx')
-rw-r--r--sd/source/filter/html/htmlex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index 83e8ddb196d3..025249bb31d4 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -1413,7 +1413,7 @@ OUString HtmlExport::ParagraphToHTMLString( SdrOutliner* pOutliner, sal_Int32 nP
return OUString();
// TODO: MALTE!!!
- EditEngine& rEditEngine = *(EditEngine*)&pOutliner->GetEditEngine();
+ EditEngine& rEditEngine = *const_cast<EditEngine*>(&pOutliner->GetEditEngine());
bool bOldUpdateMode = rEditEngine.GetUpdateMode();
rEditEngine.SetUpdateMode(true);