summaryrefslogtreecommitdiff
path: root/sw/source/core/text/portxt.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-06-26 11:34:57 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-06-26 13:22:52 +0200
commit5d1d29a3bf1c5501cb094b45243ce7fd7918c5cd (patch)
treeb876d3584b8e6d4c6ac761aed5eeae7495eacdc4 /sw/source/core/text/portxt.cxx
parent5cefd8f7877e0fdce16b98d20622e8675641f711 (diff)
Upcoming improved loplugin:elidestringvar: sw
Change-Id: I8cfc70f45a1fe8dff6c272ba617e73cf97480092 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97203 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/core/text/portxt.cxx')
-rw-r--r--sw/source/core/text/portxt.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/text/portxt.cxx b/sw/source/core/text/portxt.cxx
index 84bbee847d72..59a180ca0d98 100644
--- a/sw/source/core/text/portxt.cxx
+++ b/sw/source/core/text/portxt.cxx
@@ -778,8 +778,7 @@ void SwHolePortion::Paint( const SwTextPaintInfo &rInf ) const
pFontSave.reset(new SwFontSave( rInf, pHoleFont.get() ));
}
- const OUString aText( ' ' );
- rInf.DrawText(aText, *this, TextFrameIndex(0), TextFrameIndex(1));
+ rInf.DrawText(" ", *this, TextFrameIndex(0), TextFrameIndex(1));
pFontSave.reset();
pHoleFont.reset();