summaryrefslogtreecommitdiff
path: root/sc/qa/unit/helper
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-03-11 09:27:42 +0200
committerTor Lillqvist <tml@collabora.com>2016-03-11 09:32:43 +0200
commit53e8f648654a8d7404bbc3049328baa65473fb80 (patch)
treebd3cbdf3382b1ab6b7a7745b56d64954d1ad8b93 /sc/qa/unit/helper
parentd31df8fb80ee7408b9c79ffd7acaf2561f75432d (diff)
loplugin:redundantcast
Change-Id: Ia31f94cd55f16769d8354812619a5faac4623f7a
Diffstat (limited to 'sc/qa/unit/helper')
-rw-r--r--sc/qa/unit/helper/qahelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index e94adc506f28..ad32a2077c7d 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -681,7 +681,7 @@ std::shared_ptr<utl::TempFile> ScBootstrapFixture::exportTo( ScDocShell* pShell,
aFilterName,
OUString(), nFormatType, nExportFormat, aFilterType, 0, OUString(),
OUString(), OUString("private:factory/scalc*") ));
- const_cast<SfxFilter*>(pExportFilter.get())->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
+ pExportFilter.get()->SetVersion(SOFFICE_FILEFORMAT_CURRENT);
aStoreMedium.SetFilter(pExportFilter);
pShell->DoSaveAs( aStoreMedium );
pShell->DoClose();