diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/document.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx index ff28f448cbbd..fc2481f3d2ab 100644 --- a/starmath/source/document.cxx +++ b/starmath/source/document.cxx @@ -716,8 +716,7 @@ bool SmDocShell::Save() if( mpTree ) ArrangeFormula(); - Reference<css::frame::XModel> xModel(GetModel()); - SmXMLExportWrapper aEquation(xModel); + SmXMLExportWrapper aEquation(GetModel()); aEquation.SetFlat(false); return aEquation.Export(*GetMedium()); } |