diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-01 16:13:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-02 14:24:52 +0200 |
commit | 6008cfd6cd661e5fe0b73a43e908d6cac5ffc2d1 (patch) | |
tree | f065616a6d3741fec0ee140df2f1a7fd4bad5580 /filter/source/t602 | |
parent | f53470d1e6ab1d29019919c8e37a55f1481d80d3 (diff) |
loplugin:returnconstant in filter
Change-Id: I0ebbd835ddc50e984920950e1559faf163c2c30f
Reviewed-on: https://gerrit.libreoffice.org/58429
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/t602')
-rw-r--r-- | filter/source/t602/t602filter.cxx | 6 | ||||
-rw-r--r-- | filter/source/t602/t602filter.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx index 9418323359b9..5eb7a4058ee7 100644 --- a/filter/source/t602/t602filter.cxx +++ b/filter/source/t602/t602filter.cxx @@ -438,11 +438,10 @@ bool T602ImportFilter::importImpl( const Sequence< css::beans::PropertyValue >& return true; } -bool T602ImportFilter::test() +void T602ImportFilter::test() { Reset602(); Read602(); - return true; } void T602ImportFilter::Reset602() @@ -1159,7 +1158,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool TestImport602(SvStream &rStream) css::uno::Reference<io::XInputStream> xStream(new utl::OSeekableInputStreamWrapper(rStream)); rtl::Reference<T602ImportFilter::T602ImportFilter> aImport( new T602ImportFilter::T602ImportFilter(xStream)); - return aImport->test(); + aImport->test(); + return true; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/filter/source/t602/t602filter.hxx b/filter/source/t602/t602filter.hxx index 22abefa78838..5eeebdab0707 100644 --- a/filter/source/t602/t602filter.hxx +++ b/filter/source/t602/t602filter.hxx @@ -247,7 +247,7 @@ private: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override; virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) override; - bool test(); + void test(); }; /// @throws css::uno::RuntimeException |