summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-06-13 10:16:56 +0200
committerNoel Grandin <noel@peralex.com>2015-06-15 14:06:31 +0200
commitdcf6abfcdf3f4b7aec5796c9f6c806889328135f (patch)
treef0d7081b5454bbe58318ec87dcc6b5465ed16965 /linguistic
parent8f60697cf8e5227d503738e3c186433ac5dacfc8 (diff)
cppcheck:unreadVariable
Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdicxml.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index bf31bfdc57cc..bbb8304573fd 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -291,14 +291,12 @@ void ConvDicXMLRightTextContext_Impl::EndElement()
bool ConvDicXMLExport::Export()
{
- bool bRet = false;
-
uno::Reference< document::XExporter > xExporter( this );
uno::Reference< document::XFilter > xFilter( xExporter, UNO_QUERY );
uno::Sequence< beans::PropertyValue > aProps(0);
xFilter->filter( aProps ); // calls exportDoc implicitly
- return bRet = bSuccess;
+ return bSuccess;
}