summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/file/filprp.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 /ucb/source/ucp/file/filprp.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 'ucb/source/ucp/file/filprp.cxx')
-rw-r--r--ucb/source/ucp/file/filprp.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/ucb/source/ucp/file/filprp.cxx b/ucb/source/ucp/file/filprp.cxx
index 179eb487098a..a92fd0959854 100644
--- a/ucb/source/ucp/file/filprp.cxx
+++ b/ucb/source/ucp/file/filprp.cxx
@@ -36,7 +36,6 @@ using namespace com::sun::star::ucb;
XPropertySetInfo_impl::XPropertySetInfo_impl( TaskManager* pMyShell,const OUString& aUnqPath )
: m_pMyShell( pMyShell ),
- m_count( 0 ),
m_seq( 0 )
{
m_pMyShell->m_pProvider->acquire();
@@ -48,9 +47,10 @@ XPropertySetInfo_impl::XPropertySetInfo_impl( TaskManager* pMyShell,const OUStri
m_seq.realloc( properties.size() );
+ sal_Int32 count = 0;
while( it1 != properties.end() )
{
- m_seq[ m_count++ ] = beans::Property( it1->getPropertyName(),
+ m_seq[ count++ ] = beans::Property( it1->getPropertyName(),
it1->getHandle(),
it1->getType(),
it1->getAttributes() );
@@ -61,7 +61,6 @@ XPropertySetInfo_impl::XPropertySetInfo_impl( TaskManager* pMyShell,const OUStri
XPropertySetInfo_impl::XPropertySetInfo_impl( TaskManager* pMyShell,const Sequence< beans::Property >& seq )
: m_pMyShell( pMyShell ),
- m_count( seq.getLength() ),
m_seq( seq )
{
m_pMyShell->m_pProvider->acquire();