summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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