summaryrefslogtreecommitdiffstats
path: root/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/directx/dx_textlayout_drawhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_textlayout_drawhelper.cxx b/canvas/source/directx/dx_textlayout_drawhelper.cxx
index f804a60cff47..3dca360c6dbb 100644
--- a/canvas/source/directx/dx_textlayout_drawhelper.cxx
+++ b/canvas/source/directx/dx_textlayout_drawhelper.cxx
@@ -201,7 +201,7 @@ namespace dxcanvas
const Point aEmptyPoint(0, 0);
// create the String
- const String aText(rText.Text.getStr());
+ const rtl::OUString aText(rText.Text);
if( rLogicalAdvancements.getLength() )
{