summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2020-05-19 15:24:20 +0300
committerTor Lillqvist <tml@collabora.com>2020-05-19 17:52:29 +0200
commit6be70d9cf6e455777779e682946a13b4f622a032 (patch)
treeca5233a2a1370e4cfce20643f157743598da07a8 /filter
parente1afc5ace91f9d46660ee4aa541defc908f39dfb (diff)
Fix warning on macOS: unused function 'dispatchCommand'
Change-Id: Idfc39195e20ba7c2da23eb06bb21e8bb190e0138 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94533 Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/qa/unit/svg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/filter/qa/unit/svg.cxx b/filter/qa/unit/svg.cxx
index 379189b98365..4ef95bebdc65 100644
--- a/filter/qa/unit/svg.cxx
+++ b/filter/qa/unit/svg.cxx
@@ -27,6 +27,7 @@ char const DATA_DIRECTORY[] = "/filter/qa/unit/data/";
namespace
{
+#if !defined(MACOSX)
void dispatchCommand(const uno::Reference<lang::XComponent>& xComponent, const OUString& rCommand,
const uno::Sequence<beans::PropertyValue>& rPropertyValues)
{
@@ -42,6 +43,7 @@ void dispatchCommand(const uno::Reference<lang::XComponent>& xComponent, const O
xDispatchHelper->executeDispatch(xFrame, rCommand, OUString(), 0, rPropertyValues);
}
+#endif
}
/// SVG filter tests.