summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-06-18 10:24:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-06-18 13:16:23 +0200
commit0572ef356be49b95b22a4794b7937c8c0914468f (patch)
tree3e6ee889e45f921b310f75972f0629b12609a5e6 /sw/source/uibase/config
parent89a80d637e2831d49cdf48921f961b04fd03cffc (diff)
loplugin:ostr in various
Change-Id: I7aa8ed716998a185996482dc561219b398a1c919 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169080 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/config')
-rw-r--r--sw/source/uibase/config/viewopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/config/viewopt.cxx b/sw/source/uibase/config/viewopt.cxx
index 658aeb181d14..87a727ca1e5c 100644
--- a/sw/source/uibase/config/viewopt.cxx
+++ b/sw/source/uibase/config/viewopt.cxx
@@ -212,7 +212,7 @@ void SwViewOption::DrawRectPrinter( OutputDevice *pOut,
SwTwips SwViewOption::GetPostItsWidth(const OutputDevice* pOut)
{
assert(pOut && "no Outdev");
- return pOut->GetTextWidth(" ");
+ return pOut->GetTextWidth(u" "_ustr);
}
void SwViewOption::PaintPostIts( OutputDevice *pOut, const SwRect &rRect, bool bIsScript ) const