diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-10-19 13:24:01 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-10-19 15:36:52 +0200 |
commit | ac2c1fb821b45f2382a5104b4d98dc08061ae938 (patch) | |
tree | bcc57c5cf1a9853fffd9792205cbe05aa07a1863 /cui | |
parent | 4444d5dbe7dba90ccfb0a9eeed36be0abfdd1854 (diff) |
Replace some uses of OUStringChar with string literals
Change-Id: I763f9a3f57efcd47643ca4651e2454e95c6921c9
Reviewed-on: https://gerrit.libreoffice.org/81127
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optjava.cxx | 4 | ||||
-rw-r--r-- | cui/source/tabpages/grfpage.cxx | 4 |
2 files changed, 3 insertions, 5 deletions
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 1073b71b23b6..947d7e25e12c 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -153,10 +153,8 @@ IMPL_LINK_NOARG(SvxJavaOptionsPage, SelectHdl_Impl, weld::TreeView&, void) { // set installation directory info OUString sLocation = m_xJavaList->get_selected_id(); - OUString sInfo = m_sInstallText; // tdf#80646 insert LTR mark after label - sInfo += OUStringChar(0x200E); - sInfo += sLocation; + OUString sInfo = m_sInstallText + u"\u200E" + sLocation; m_xJavaPathText->set_label(sInfo); } diff --git a/cui/source/tabpages/grfpage.cxx b/cui/source/tabpages/grfpage.cxx index b63f04ecb0c7..586f9806ce8d 100644 --- a/cui/source/tabpages/grfpage.cxx +++ b/cui/source/tabpages/grfpage.cxx @@ -635,7 +635,7 @@ void SvxGrfCropPage::GraphicHasChanged( bool bFound ) OUString sTemp = aFld->GetText(); aFld->SetValue( aFld->Normalize( aOrigSize.Height() ), eUnit ); // multiplication sign (U+00D7) - sTemp += OUStringChar(0x00D7) + aFld->GetText(); + sTemp += u"\u00D7" + aFld->GetText(); if ( aOrigPixelSize.Width() && aOrigPixelSize.Height() ) { sal_Int32 ax = sal_Int32(floor(static_cast<float>(aOrigPixelSize.Width()) / @@ -645,7 +645,7 @@ void SvxGrfCropPage::GraphicHasChanged( bool bFound ) sTemp += " " + CuiResId( RID_SVXSTR_PPI ); OUString sPPI = OUString::number(ax); if (abs(ax - ay) > 1) { - sPPI += OUStringChar(0x00D7) + OUString::number(ay); + sPPI += u"\u00D7" + OUString::number(ay); } sTemp = sTemp.replaceAll("%1", sPPI); } |