diff options
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); |