summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/querydesign/limitboxcontroller.cxx')
-rw-r--r--dbaccess/source/ui/querydesign/limitboxcontroller.cxx10
1 files changed, 9 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
index dad770975a44..8c48a5ec9d7c 100644
--- a/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
+++ b/dbaccess/source/ui/querydesign/limitboxcontroller.cxx
@@ -213,7 +213,15 @@ OUString SAL_CALL LimitBoxController::getImplementationName()
return "org.libreoffice.comp.dbu.LimitBoxController";
}
-IMPLEMENT_SERVICE_INFO_SUPPORTS(LimitBoxController)
+sal_Bool SAL_CALL LimitBoxController::supportsService(const OUString& _rServiceName)
+ {
+ const css::uno::Sequence< OUString > aSupported(getSupportedServiceNames());
+ for (const OUString& s : aSupported)
+ if (s == _rServiceName)
+ return true;
+
+ return false;
+ }
css::uno::Sequence< OUString > SAL_CALL LimitBoxController::getSupportedServiceNames()
{