summaryrefslogtreecommitdiff
path: root/vcl/quartz
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/quartz
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/quartz')
-rw-r--r--vcl/quartz/salgdi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index d64fc8677ce7..b17c17e3c676 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -506,7 +506,7 @@ void AquaSalGraphics::SetFont(LogicalFontInstance* pReqFont, int nFallbackLevel)
mpTextStyle[nFallbackLevel] = static_cast<CoreTextStyle*>(pReqFont);
}
-std::unique_ptr<SalLayout> AquaSalGraphics::GetTextLayout(ImplLayoutArgs& /*rArgs*/, int nFallbackLevel)
+std::unique_ptr<GenericSalLayout> AquaSalGraphics::GetTextLayout(int nFallbackLevel)
{
if (!mpTextStyle[nFallbackLevel])
return nullptr;