summaryrefslogtreecommitdiff
path: root/canvas/source/opengl/ogl_textlayout.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-18 10:20:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-18 11:26:32 +0200
commit0b978f24c7d2fcbd0e777ec26b1cb7492845a30c (patch)
treeca59a2beb7381f38d850efe36818c13d4e0e364b /canvas/source/opengl/ogl_textlayout.cxx
parentf512114970d42acce9a403ef68a1fd0cd35512ff (diff)
rtl::Reference fits just fine here
Change-Id: I268f6d2577b727c6aa072ee766b3f5f41bdb131b
Diffstat (limited to 'canvas/source/opengl/ogl_textlayout.cxx')
-rw-r--r--canvas/source/opengl/ogl_textlayout.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/opengl/ogl_textlayout.cxx b/canvas/source/opengl/ogl_textlayout.cxx
index a155c2c775f7..88e7ebdf37f4 100644
--- a/canvas/source/opengl/ogl_textlayout.cxx
+++ b/canvas/source/opengl/ogl_textlayout.cxx
@@ -35,7 +35,7 @@ namespace oglcanvas
void SAL_CALL TextLayout::disposing()
{
- mpFont.reset();
+ mpFont.clear();
}
// XTextLayout
@@ -190,7 +190,7 @@ namespace oglcanvas
{
::osl::MutexGuard aGuard( m_aMutex );
- return mpFont.getRef();
+ return mpFont.get();
}
rendering::StringContext SAL_CALL TextLayout::getText( ) throw (uno::RuntimeException, std::exception)