summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2016-01-15 03:06:18 +1100
committerChris Sherlock <chris.sherlock79@gmail.com>2016-01-14 18:09:47 +0000
commit659db7d705835b8676065fb4fe3babe39d938977 (patch)
treef426e3f089449a855f51ac589865212eaef241ba /vcl/headless
parentc5c47412d16b5bbdc79886ae9bf93d0158405d14 (diff)
vcl: change ImplFontMetricData to be reference counted via intrusive_ptr
Change-Id: Ie9f5fbd21a6223520cbea3af6436beb407d7a88c Reviewed-on: https://gerrit.libreoffice.org/21477 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svptext.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/headless/svptext.cxx b/vcl/headless/svptext.cxx
index 4c40086484ee..4346713f6fb9 100644
--- a/vcl/headless/svptext.cxx
+++ b/vcl/headless/svptext.cxx
@@ -29,9 +29,9 @@ sal_uInt16 SvpSalGraphics::SetFont( FontSelectPattern* pIFSD, int nFallbackLevel
return m_aTextRenderImpl.SetFont(pIFSD, nFallbackLevel);
}
-void SvpSalGraphics::GetFontMetric( ImplFontMetricData* pFontMetric, int nFallbackLevel )
+void SvpSalGraphics::GetFontMetric( ImplFontMetricDataPtr& xFontMetric, int nFallbackLevel )
{
- m_aTextRenderImpl.GetFontMetric(pFontMetric, nFallbackLevel);
+ m_aTextRenderImpl.GetFontMetric(xFontMetric, nFallbackLevel);
}
const FontCharMapPtr SvpSalGraphics::GetFontCharMap() const