[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - filter/qa
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Tue May 19 15:53:01 UTC 2020
filter/qa/unit/svg.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6be70d9cf6e455777779e682946a13b4f622a032
Author: Tor Lillqvist <tml at iki.fi>
AuthorDate: Tue May 19 15:24:20 2020 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Tue May 19 17:52:29 2020 +0200
Fix warning on macOS: unused function 'dispatchCommand'
Change-Id: Idfc39195e20ba7c2da23eb06bb21e8bb190e0138
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94533
Tested-by: Tor Lillqvist <tml at collabora.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
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.
More information about the Libreoffice-commits
mailing list