diff options
-rw-r--r-- | extensions/source/update/feed/updatefeed.cxx | 4 | ||||
-rw-r--r-- | include/comphelper/logging.hxx | 2 | ||||
-rw-r--r-- | sw/source/ui/utlui/attrdesc.cxx | 8 |
3 files changed, 7 insertions, 7 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; }; diff --git a/include/comphelper/logging.hxx b/include/comphelper/logging.hxx index 0f53a042111b..a9ebc86f1103 100644 --- a/include/comphelper/logging.hxx +++ b/include/comphelper/logging.hxx @@ -57,7 +57,7 @@ namespace comphelper inline OUString convertLogArgToString( sal_Int32 _nValue ) { return OUString::number( _nValue ); } inline OUString convertLogArgToString( sal_Int16 _nValue ) { return OUString::number( _nValue ); } inline OUString convertLogArgToString( sal_Unicode _nValue ) { return OUString( _nValue ); } - inline OUString convertLogArgToString( sal_Bool _nValue ) { return OUString::boolean( _nValue ); } + inline OUString convertLogArgToString( sal_Bool _bValue ) { return OUString::boolean( _bValue ); } } } // namespace log::convert diff --git a/sw/source/ui/utlui/attrdesc.cxx b/sw/source/ui/utlui/attrdesc.cxx index cf8f4c02b2c0..65278f5cec99 100644 --- a/sw/source/ui/utlui/attrdesc.cxx +++ b/sw/source/ui/utlui/attrdesc.cxx @@ -213,12 +213,12 @@ SfxItemPresentation SwFmtDrop::GetPresentation { if ( GetChars() > 1 ) { - rText = OUString::boolean( GetChars() ) + " "; + rText = OUString::number( GetChars() ) + " "; } rText = rText + OUString( SW_RESSTR( STR_DROP_OVER ) ) + " " + - OUString::boolean( GetLines() ) + + OUString::number( GetLines() ) + " " + OUString( SW_RESSTR( STR_DROP_LINES ) ); } @@ -336,7 +336,7 @@ SfxItemPresentation SwFmtFrmSize::GetPresentation rText = SW_RESSTR( STR_FRM_WIDTH ) + " "; if ( GetWidthPercent() ) { - rText = rText + OUString::boolean(GetWidthPercent()) + "%"; + rText = rText + OUString::number(GetWidthPercent()) + "%"; } else { @@ -350,7 +350,7 @@ SfxItemPresentation SwFmtFrmSize::GetPresentation rText = rText + ", " + SW_RESSTR( nId ) + " "; if ( GetHeightPercent() ) { - rText = rText + OUString::boolean(GetHeightPercent()) + "%"; + rText = rText + OUString::number(GetHeightPercent()) + "%"; } else { |