summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-06-23 11:06:14 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-24 06:46:01 +0000
commit6a5e30d52c345cbeb89eab0722fe866db0d62fc6 (patch)
tree183b1012d2a9ade2a598796cd848ecc292448994 /xmlhelp
parent24ca187b6370ca56c8acd92bc405028dd9deb5f2 (diff)
loplugin:singlevalfields in xmlhelp,xmloff
Change-Id: Ia40d1c9a153b5237c46d5a2b807dceff30775f4a Reviewed-on: https://gerrit.libreoffice.org/26589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.cxx3
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetbase.hxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
index 8046a771bb4b..9858740ae138 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.cxx
@@ -38,7 +38,6 @@ ResultSetBase::ResultSetBase( const uno::Reference< uno::XComponentContext >& r
m_xProvider( xProvider ),
m_nRow( -1 ),
m_nWasNull( true ),
- m_bRowCountFinal( true ),
m_sProperty( seq ),
m_pDisposeEventListeners( nullptr ),
m_pRowCountListeners( nullptr ),
@@ -498,7 +497,7 @@ uno::Any SAL_CALL ResultSetBase::getPropertyValue(
{
if( PropertyName == "IsRowCountFinal" )
{
- return uno::Any(m_bRowCountFinal);
+ return uno::Any(true);
}
else if ( PropertyName == "RowCount" )
{
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx b/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
index 56a591b4b8f8..4d6d36e04d66 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetbase.hxx
@@ -487,7 +487,6 @@ namespace chelp {
css::uno::Reference< css::ucb::XContentProvider > m_xProvider;
sal_Int32 m_nRow;
bool m_nWasNull;
- bool m_bRowCountFinal;
typedef std::vector< css::uno::Reference< css::ucb::XContentIdentifier > > IdentSet;
typedef std::vector< css::uno::Reference< css::sdbc::XRow > > ItemSet;