summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-02-19 22:21:40 +0200
committerAndras Timar <andras.timar@collabora.com>2017-02-24 12:24:44 +0100
commita42f99595389a47ebe173aac9c341765552ab924 (patch)
tree1e131fe2978d73051585bf265022e803726e13f2 /include
parentd12204e92196e85098b2f943fd8adac7b90b858d (diff)
Fix visible space on Mac with the new layout engine
This is not an issue on master since the alternative Mac code path is gone, but we need to skip it in 5.3 when the old layout engine is not used as well. Change-Id: Ib0c8fcf072229c59e15877815c9d88aed94672f0 Reviewed-on: https://gerrit.libreoffice.org/34433 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 4f8edca85216b46b266fc5dba3103da57e5975be)
Diffstat (limited to 'include')
-rw-r--r--include/vcl/outdev.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index ed943646b5a6..d00260781468 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -1172,6 +1172,8 @@ public:
vcl::TextLayoutCache const* = nullptr) const;
std::shared_ptr<vcl::TextLayoutCache> CreateTextLayoutCache(OUString const&) const;
+ static bool UseCommonLayout();
+
private:
SAL_DLLPRIVATE void ImplInitTextColor();