summaryrefslogtreecommitdiff
path: root/starmath/qa
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-11 09:29:09 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-11 09:32:43 +0200
commitc914b6ccf1e2f7d4f7edc2ac6c502e5327dfe0ca (patch)
treeec6471b5c4be95553a6f67e2894ea947483869ea /starmath/qa
parent53e8f648654a8d7404bbc3049328baa65473fb80 (diff)
loplugin:redundantcast
Change-Id: I08d68a1ff4e798d1cace56fa18c7f70a48eb6231
Diffstat (limited to 'starmath/qa')
-rw-r--r--starmath/qa/extras/mmlimport-test.cxx2
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 |