summaryrefslogtreecommitdiff
path: root/accessibility
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-04-18 22:44:01 +0200
committerJan Holesovsky <kendy@collabora.com>2014-04-18 22:51:07 +0200
commita7ee8316f7503db89874ee44daa56edf8e3e027f (patch)
treeac3d83aa9ed6847a1ffdac610d6afe66b1482571 /accessibility
parentba419888d0de6b31f598f2faa9cca1e1f75a53fa (diff)
non-desktop: Avoid accessibility.
When using the tiled rendering, LibreOffice provides only the content, so no need to instantiate accessibility. Change-Id: Ibc0ff672aa960409fa660a750f8f02c9261041be
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/source/helper/acc_factory.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/accessibility/source/helper/acc_factory.cxx b/accessibility/source/helper/acc_factory.cxx
index d29a7a7aacf7..ed4d2daf2d64 100644
--- a/accessibility/source/helper/acc_factory.cxx
+++ b/accessibility/source/helper/acc_factory.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_features.h>
+
#include <toolkit/awt/vclxwindows.hxx>
#include <toolkit/helper/accessiblefactory.hxx>
#include <svtools/accessiblefactory.hxx>
@@ -495,6 +497,7 @@ Reference< XAccessibleContext > AccessibleFactory::createAccessibleToolPanelTabB
} // anonymous namespace
+#if HAVE_FEATURE_DESKTOP
/* this is the entry point to retrieve a factory for the toolkit-level Accessible/Contexts supplied
by this library
@@ -511,7 +514,6 @@ extern "C"
}
}
-
/** this is the entry point to retrieve a factory for the svtools-level Accessible/Contexts supplied
by this library
@@ -527,5 +529,6 @@ extern "C"
return pFactory;
}
}
+#endif // HAVE_FEATURE_DESKTOP
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */