summaryrefslogtreecommitdiff
path: root/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-05-16 10:05:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-05-17 08:39:51 +0200
commit9ffdf7adc00d8e9d931184d3008f4e505e4a5024 (patch)
tree8b75090145b4218578e42461693fd73d66edb3b0 /xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
parentae39b1ef2dcc9ef7784ff002dd10318564931c2b (diff)
loplugin:unusedfields in tools..xmlhelp
Change-Id: I5e909a8def86ce9ad150440e6c6ad304e855cc69 Reviewed-on: https://gerrit.libreoffice.org/54415 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
index dc7982a87e73..b2b7e29a2dbe 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforroot.cxx
@@ -34,11 +34,9 @@ ResultSetForRoot::ResultSetForRoot( const uno::Reference< uno::XComponentContext
const uno::Sequence< beans::Property >& seq,
URLParameter const & aURLParameter,
Databases* pDatabases )
- : ResultSetBase( rxContext, xProvider,seq ),
- m_aURLParameter( aURLParameter ),
- m_pDatabases( pDatabases )
+ : ResultSetBase( rxContext, xProvider,seq )
{
- m_aPath = m_pDatabases->getModuleList( m_aURLParameter.get_language() );
+ m_aPath = pDatabases->getModuleList( aURLParameter.get_language() );
m_aItems.resize( m_aPath.size() );
m_aIdents.resize( m_aPath.size() );
@@ -52,9 +50,9 @@ ResultSetForRoot::ResultSetForRoot( const uno::Reference< uno::XComponentContext
"vnd.sun.star.help://" +
m_aPath[i] +
"?Language=" +
- m_aURLParameter.get_language() +
+ aURLParameter.get_language() +
"&System=" +
- m_aURLParameter.get_system();
+ aURLParameter.get_system();
m_nRow = sal_Int32( i );