diff options
Diffstat (limited to 'starmath/qa')
-rw-r--r-- | starmath/qa/extras/mmlimport-test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/qa/extras/mmlimport-test.cxx b/starmath/qa/extras/mmlimport-test.cxx index 19f9f27b21e5..6a81acf4ef70 100644 --- a/starmath/qa/extras/mmlimport-test.cxx +++ b/starmath/qa/extras/mmlimport-test.cxx @@ -53,7 +53,7 @@ private: OUString(), OUString(), "private:factory/smath*")); - const_cast<SfxFilter*>(pFilter.get())->SetVersion(SOFFICE_FILEFORMAT_60); + pFilter.get()->SetVersion(SOFFICE_FILEFORMAT_60); mxDocShell = new SmDocShell(SfxModelFlags::EMBEDDED_OBJECT | SfxModelFlags::DISABLE_EMBEDDED_SCRIPTS | |