diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-01-24 19:00:10 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2019-01-25 08:15:54 +0100 |
commit | f205e4530ef4245ee29b934d050c4ac5c2ce7257 (patch) | |
tree | 19149c8da24b0f7acd56f763f862029a1dc42066 /vcl/win | |
parent | 37f8ea642cd191e7bdbf3596f41e7bb28212472b (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/win')
-rw-r--r-- | vcl/win/gdi/winlayout.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/gdi/winlayout.cxx b/vcl/win/gdi/winlayout.cxx index 120f6bb65e22..35ceee40ca2e 100644 --- a/vcl/win/gdi/winlayout.cxx +++ b/vcl/win/gdi/winlayout.cxx @@ -286,7 +286,7 @@ bool ExTextOutRenderer::operator ()(GenericSalLayout const &rLayout, return true; } -std::unique_ptr<SalLayout> WinSalGraphics::GetTextLayout(ImplLayoutArgs& /*rArgs*/, int nFallbackLevel) +std::unique_ptr<GenericSalLayout> WinSalGraphics::GetTextLayout(int nFallbackLevel) { if (!mpWinFontEntry[nFallbackLevel]) return nullptr; |