summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2020-05-22 20:45:46 +0200
committerLuboš Luňák <l.lunak@collabora.com>2020-05-23 14:04:13 +0200
commitc42550f520e896abc59d91d588eb3ae9f0e0609d (patch)
tree91e58342fa581e4180540478f200e33ea298e718 /compilerplugins
parent50d7e02bb772d58f0babaf3e9550b865554e2a27 (diff)
show Skia UI controls only on Windows for now (tdf#133166)
Windows is now more or less the only platform where Skia gets used. There's also the 'gen' VCL backend on Linux, but that one gets used rarely and it's Skia options are still accessible in the expert configuration. Change-Id: Ibec9b8b15e9200f003367b4568432ce93ec63893 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94708 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/staticmethods.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/compilerplugins/clang/staticmethods.cxx b/compilerplugins/clang/staticmethods.cxx
index 1b78d06f6c02..9b631c7eb659 100644
--- a/compilerplugins/clang/staticmethods.cxx
+++ b/compilerplugins/clang/staticmethods.cxx
@@ -159,6 +159,8 @@ bool StaticMethods::TraverseCXXMethodDecl(const CXXMethodDecl * pCXXMethodDecl)
.GlobalNamespace())
|| (fdc.Function("RemoveDdeTopic").Class("SfxApplication")
.GlobalNamespace())
+ || (fdc.Function("UpdateSkiaStatus").Class("OfaViewTabPage")
+ .GlobalNamespace())
|| (fdc.Function("ReleaseData").Class("ScannerManager")
.GlobalNamespace()))
{