summaryrefslogtreecommitdiff
path: root/extensions/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-20 12:31:44 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-20 12:32:25 +0000
commitfdf9406792905a4bbd49b4ad88c40e6af9c17da3 (patch)
tree21acfad9e4119ceaf563a3b9e19f1874d5f7e9bb /extensions/source
parent224da771d3736a021df15e32c23d2fa585c433ed (diff)
misuse of OUString::boolean on sal_uInt8 values
regression since 64b993e046f23baaacaff1572b7d2a816588b5ef Change-Id: Ifc907a34430c36a64318fc42342e630e2b84ad13
Diffstat (limited to 'extensions/source')
-rw-r--r--extensions/source/update/feed/updatefeed.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 86a8d93fcd34..2c8afbb9197e 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -300,14 +300,14 @@ public:
uno::Any SAL_CALL nextElement() throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException)
{
if( m_nCount > 0 )
- throw container::NoSuchElementException(OUString::boolean(m_nCount), *this);
+ throw container::NoSuchElementException(OUString::number(m_nCount), *this);
++m_nCount;
return uno::makeAny(m_aEntry);
};
private:
- sal_uInt8 m_nCount;
+ sal_Int32 m_nCount;
deployment::UpdateInformationEntry m_aEntry;
};