diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-12 17:01:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-13 08:30:22 +0200 |
commit | 5cd976bdef4334a5c28d6c7748ef5d72cf5025ff (patch) | |
tree | 33b42d8365a7532155b3d1f35c4f4f12bbde191b /xmlhelp/source/cxxhelp | |
parent | 8c29b0837d924d226fd1a48e323771b450f2b9b6 (diff) |
loplugin:simplifyconstruct in writerfilter..xmlsecurity
Change-Id: Ic2d901ca0dbc2d6fa96611d260c1572da8a783c0
Reviewed-on: https://gerrit.libreoffice.org/60398
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlhelp/source/cxxhelp')
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/db.hxx | 2 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/provider.cxx | 1 | ||||
-rw-r--r-- | xmlhelp/source/cxxhelp/provider/resultsetbase.cxx | 8 |
3 files changed, 2 insertions, 9 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/db.hxx b/xmlhelp/source/cxxhelp/provider/db.hxx index b26797c80593..607b987ff838 100644 --- a/xmlhelp/source/cxxhelp/provider/db.hxx +++ b/xmlhelp/source/cxxhelp/provider/db.hxx @@ -72,8 +72,6 @@ namespace helpdatafileproxy { Hdf( const OUString& rFileURL, css::uno::Reference< css::ucb::XSimpleFileAccess3 > const & xSFA ) : m_aFileURL( rFileURL ) - , m_pStringToDataMap( nullptr ) - , m_pStringToValPosMap( nullptr ) , m_xSFA( xSFA ) , m_pItData( nullptr ) , m_nItRead( -1 ) diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx index 4c4532569848..24a953e7aabb 100644 --- a/xmlhelp/source/cxxhelp/provider/provider.cxx +++ b/xmlhelp/source/cxxhelp/provider/provider.cxx @@ -46,7 +46,6 @@ ContentProvider::ContentProvider( const uno::Reference< uno::XComponentContext > : ::ucbhelper::ContentProviderImplHelper( rxContext ) , isInitialized( false ) , m_aScheme(MYUCP_URL_SCHEME) - , m_pDatabases( nullptr ) { } diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx index 9a36812d1172..f32c54a56c02 100644 --- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx +++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx @@ -38,10 +38,7 @@ ResultSetBase::ResultSetBase( const uno::Reference< uno::XComponentContext >& r m_xProvider( xProvider ), m_nRow( -1 ), m_nWasNull( true ), - m_sProperty( seq ), - m_pDisposeEventListeners( nullptr ), - m_pRowCountListeners( nullptr ), - m_pIsFinalListeners( nullptr ) + m_sProperty( seq ) { } @@ -287,8 +284,7 @@ ResultSetBase::rowDeleted() uno::Reference< uno::XInterface > SAL_CALL ResultSetBase::getStatement() { - uno::Reference< uno::XInterface > test( nullptr ); - return test; + return uno::Reference< uno::XInterface >(); } |