diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-08-28 22:47:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-08-29 11:44:44 +0000 |
commit | bdd60f1f5e0b995572321fd0865ccb8849d8ed76 (patch) | |
tree | 36fd199eded442f12c223a6b9830e5202c85855c /cui | |
parent | 2c10714426cc813c36aa82e4870b7b51c5c03050 (diff) |
Adapt loplugin:stringconstant to improved OUStringLiteral1
Change-Id: Ibc5128df8bcf8cb5f2f09551c0de6dfdb46bdee0
Reviewed-on: https://gerrit.libreoffice.org/28447
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/tabpages/grfpage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index 6eefbcefbdf8..b692be407304 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -699,7 +699,7 @@ void SvxGrfCropPage::GraphicHasChanged( bool bFound ) OUString sTemp = aFld->GetText(); aFld->SetValue( aFld->Normalize( aOrigSize.Height() ), eUnit ); // multiplication sign (U+00D7) - sTemp += OUString( sal_Unicode (0x00D7) ) + aFld->GetText(); + sTemp += OUStringLiteral1<0x00D7>() + aFld->GetText(); if ( aOrigPixelSize.Width() && aOrigPixelSize.Height() ) { sal_Int32 ax = sal_Int32(floor((float)aOrigPixelSize.Width() / @@ -710,7 +710,7 @@ void SvxGrfCropPage::GraphicHasChanged( bool bFound ) sTemp += CUI_RESSTR( RID_SVXSTR_PPI ); OUString sPPI = OUString::number(ax); if (abs(ax - ay) > 1) { - sPPI += OUString( sal_Unicode (0x00D7) ) + OUString::number(ay); + sPPI += OUStringLiteral1<0x00D7>() + OUString::number(ay); } sTemp = sTemp.replaceAll("%1", sPPI); } |