summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-05 14:07:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-07 17:01:10 +0100
commitff5beeeae6cc40a21ba7b41a36286318348b77ab (patch)
treefca7735f882e940ac726c847933181eb50a97652 /sw
parentd8915b5dffce7089f3cda200d37ca2e64f727fa9 (diff)
can drop the intermediate OUString here
Change-Id: I19ef66c037a69debc90f260f82cbc2bf6355ea8d
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/docvw/HeaderFooterWin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/docvw/HeaderFooterWin.cxx b/sw/source/uibase/docvw/HeaderFooterWin.cxx
index b170140fb26b..54348396cb19 100644
--- a/sw/source/uibase/docvw/HeaderFooterWin.cxx
+++ b/sw/source/uibase/docvw/HeaderFooterWin.cxx
@@ -307,7 +307,7 @@ void SwHeaderFooterWin::Paint(vcl::RenderContext& rRenderContext, const Rectangl
aSeq[2] = drawinglayer::primitive2d::Primitive2DReference(
new drawinglayer::primitive2d::TextSimplePortionPrimitive2D(
- aTextMatrix, OUString(m_sLabel), 0, m_sLabel.getLength(),
+ aTextMatrix, m_sLabel, 0, m_sLabel.getLength(),
std::vector<double>(), aFontAttr, css::lang::Locale(), aLineColor));
// Create the 'plus' or 'arrow' primitive