summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2017-02-19 22:21:40 +0200
committerCaolán McNamara <caolanm@redhat.com>2017-02-22 08:58:06 +0000
commit4f8edca85216b46b266fc5dba3103da57e5975be (patch)
tree69f9003517f64c34573de7ecc3965663b956bece /include
parentd48f30590a54000287ebdc3453d61e40d6fdfde7 (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>
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 0088136ca734..1bf52296ea43 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();