diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-18 10:20:15 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-18 11:26:32 +0200 |
commit | 0b978f24c7d2fcbd0e777ec26b1cb7492845a30c (patch) | |
tree | ca59a2beb7381f38d850efe36818c13d4e0e364b /canvas/source/directx/dx_textlayout.cxx | |
parent | f512114970d42acce9a403ef68a1fd0cd35512ff (diff) |
rtl::Reference fits just fine here
Change-Id: I268f6d2577b727c6aa072ee766b3f5f41bdb131b
Diffstat (limited to 'canvas/source/directx/dx_textlayout.cxx')
-rw-r--r-- | canvas/source/directx/dx_textlayout.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/directx/dx_textlayout.cxx b/canvas/source/directx/dx_textlayout.cxx index 6ac0d70a888d..016a3309fd60 100644 --- a/canvas/source/directx/dx_textlayout.cxx +++ b/canvas/source/directx/dx_textlayout.cxx @@ -52,7 +52,7 @@ namespace dxcanvas void SAL_CALL TextLayout::disposing() { - mpFont.reset(); + mpFont.clear(); } // XTextLayout @@ -112,7 +112,7 @@ namespace dxcanvas aDrawHelper.queryTextBounds( maText, maLogicalAdvancements, - mpFont.getRef(), + mpFont.get(), mpFont->getFontMatrix())); return aBounds; @@ -199,7 +199,7 @@ namespace dxcanvas { ::osl::MutexGuard aGuard( m_aMutex ); - return mpFont.getRef(); + return mpFont.get(); } rendering::StringContext SAL_CALL TextLayout::getText( ) throw (uno::RuntimeException) @@ -239,7 +239,7 @@ namespace dxcanvas rOutputOffset, maText, maLogicalAdvancements, - mpFont.getRef(), + mpFont.get(), mpFont->getFontMatrix(), bAlphaSurface); |