summaryrefslogtreecommitdiff
path: root/vcl/headless/svptext.cxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-01-24 19:00:10 +0000
committerJan-Marek Glogowski <glogow@fbihome.de>2019-01-25 08:15:54 +0100
commitf205e4530ef4245ee29b934d050c4ac5c2ce7257 (patch)
tree19149c8da24b0f7acd56f763f862029a1dc42066 /vcl/headless/svptext.cxx
parent37f8ea642cd191e7bdbf3596f41e7bb28212472b (diff)
Change SalGraphics::GetTextLayout definition
* drop the unused ImplLayoutArgs argument * return a std::unique_ptr<GenericSalLayout> Change-Id: I150a2a46f67f1ffbbd3ba0ffa68f5bffb30206c8 Reviewed-on: https://gerrit.libreoffice.org/66884 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/headless/svptext.cxx')
-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 aead84a1467b..d81dfa19649a 100644
--- a/vcl/headless/svptext.cxx
+++ b/vcl/headless/svptext.cxx
@@ -92,11 +92,11 @@ void SvpSalGraphics::GetGlyphWidths( const PhysicalFontFace* pFont,
m_aTextRenderImpl.GetGlyphWidths(pFont, bVertical, rWidths, rUnicodeEnc);
}
-std::unique_ptr<SalLayout> SvpSalGraphics::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackLevel )
+std::unique_ptr<GenericSalLayout> SvpSalGraphics::GetTextLayout(int nFallbackLevel)
{
if (utl::ConfigManager::IsFuzzing())
return nullptr;
- return m_aTextRenderImpl.GetTextLayout(rArgs, nFallbackLevel);
+ return m_aTextRenderImpl.GetTextLayout(nFallbackLevel);
}
void SvpSalGraphics::DrawTextLayout(const GenericSalLayout& rLayout)