summaryrefslogtreecommitdiff
path: root/sfx2/source/bastyp
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-03-17 19:06:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-03-18 07:20:51 +0000
commit4b9acb48b1ea45c82dbd8df3faa35cabd3bb9b4d (patch)
tree963dde5c91fc5030365b8dcf035bac57e26436f3 /sfx2/source/bastyp
parent6f54b54ec3dc51fb8824adb08620fde4c70d10f2 (diff)
loplugin:stringadd use more O[U]StringChar
Change-Id: I196e4539ad430a39415eff9d7170b33df7228230 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149062 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r--sfx2/source/bastyp/frmhtmlw.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx
index 9b539ec82fc8..5c8f4b5351f3 100644
--- a/sfx2/source/bastyp/frmhtmlw.cxx
+++ b/sfx2/source/bastyp/frmhtmlw.cxx
@@ -253,14 +253,14 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor(
aAny = xSet->getPropertyValue("FrameMarginWidth");
if ( (aAny >>= nVal) && nVal != SIZE_NOT_SET )
{
- sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_marginwidth)
- .append('=').append(nVal);
+ sOut.append(" " OOO_STRING_SVTOOLS_HTML_O_marginwidth
+ "=" + OString::number(nVal));
}
aAny = xSet->getPropertyValue("FrameMarginHeight");
if ( (aAny >>= nVal) && nVal != SIZE_NOT_SET )
{
- sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_marginheight)
- .append('=').append(nVal);
+ sOut.append(" " OOO_STRING_SVTOOLS_HTML_O_marginheight
+ "=" + OString::number(nVal));
}
bool bVal = true;
@@ -284,8 +284,8 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor(
if ( aAny >>= bVal )
{
const char* pStr = bVal ? sHTML_SC_yes : sHTML_SC_no;
- sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_frameborder)
- .append('=').append(pStr);
+ sOut.append(OString::Concat(" " OOO_STRING_SVTOOLS_HTML_O_frameborder
+ "=") + pStr);
}
}
rOut.WriteOString( sOut );