From c914b6ccf1e2f7d4f7edc2ac6c502e5327dfe0ca Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 11 Mar 2016 09:29:09 +0200 Subject: loplugin:redundantcast Change-Id: I08d68a1ff4e798d1cace56fa18c7f70a48eb6231 --- starmath/qa/extras/mmlimport-test.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/qa/extras') 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(pFilter.get())->SetVersion(SOFFICE_FILEFORMAT_60); + pFilter.get()->SetVersion(SOFFICE_FILEFORMAT_60); mxDocShell = new SmDocShell(SfxModelFlags::EMBEDDED_OBJECT | SfxModelFlags::DISABLE_EMBEDDED_SCRIPTS | -- cgit