diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-20 12:31:44 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-20 12:32:25 +0000 |
commit | fdf9406792905a4bbd49b4ad88c40e6af9c17da3 (patch) | |
tree | 21acfad9e4119ceaf563a3b9e19f1874d5f7e9bb /sw | |
parent | 224da771d3736a021df15e32c23d2fa585c433ed (diff) |
misuse of OUString::boolean on sal_uInt8 values
regression since 64b993e046f23baaacaff1572b7d2a816588b5ef
Change-Id: Ifc907a34430c36a64318fc42342e630e2b84ad13
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/utlui/attrdesc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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 { |