summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/textlayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/textlayout.cxx')
-rw-r--r--canvas/source/vcl/textlayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/textlayout.cxx b/canvas/source/vcl/textlayout.cxx
index 9b0f89853f23..6cbb3d58df37 100644
--- a/canvas/source/vcl/textlayout.cxx
+++ b/canvas/source/vcl/textlayout.cxx
@@ -97,7 +97,7 @@ namespace vclcanvas
mpOutDevProvider.reset();
mxDevice.clear();
- mpFont.reset();
+ mpFont.clear();
}
// XTextLayout
@@ -364,7 +364,7 @@ namespace vclcanvas
{
SolarMutexGuard aGuard;
- return mpFont.getRef();
+ return mpFont.get();
}
rendering::StringContext SAL_CALL TextLayout::getText( ) throw (uno::RuntimeException, std::exception)