diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-12-06 16:50:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-12-06 19:21:21 +0100 |
commit | b1acb9c62701d8f09fafdf5b7c2b690249a277b8 (patch) | |
tree | 09816a74d80cb004f6074da763b725f53672390a /connectivity | |
parent | 0a803c0a41f46be4019ddd2768b4be5669b7ab59 (diff) |
loplugin:external (macOS)
* OldEntry in fpicker/source/aqua/resourceprovider.mm was apparently unused ever
since it got introduced with 00657aef09d854c74fb426a935a3e8b1fc390bb0
"migrate to boost::gettext"
* impl_throwError is used from multiple TU,
connectivity/source/drivers/macab/MacabStatement.cxx just missed the relevant
#include
Change-Id: Iba131da57aa20085bb1c634ba9a3a59566070abd
Reviewed-on: https://gerrit.libreoffice.org/84653
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/macab/MacabServices.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/macab/MacabStatement.cxx | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/connectivity/source/drivers/macab/MacabServices.cxx b/connectivity/source/drivers/macab/MacabServices.cxx index 8642c03e61e3..a550fcb94f58 100644 --- a/connectivity/source/drivers/macab/MacabServices.cxx +++ b/connectivity/source/drivers/macab/MacabServices.cxx @@ -37,6 +37,7 @@ typedef Reference< XSingleServiceFactory > (*createFactoryFunc) rtl_ModuleCount* ); +namespace { struct ProviderRequest { @@ -74,6 +75,7 @@ struct ProviderRequest void* getProvider() const { return xRet.get(); } }; +} extern "C" SAL_DLLPUBLIC_EXPORT void* macab_component_getFactory( const sal_Char* pImplementationName, diff --git a/connectivity/source/drivers/macab/MacabStatement.cxx b/connectivity/source/drivers/macab/MacabStatement.cxx index a418b85c2d94..db6e3876b993 100644 --- a/connectivity/source/drivers/macab/MacabStatement.cxx +++ b/connectivity/source/drivers/macab/MacabStatement.cxx @@ -27,6 +27,7 @@ #include "MacabResultSetMetaData.hxx" #include "macabcondition.hxx" #include "macaborder.hxx" +#include "macabutilities.hxx" #include <TConnection.hxx> #include <cppuhelper/typeprovider.hxx> #include <connectivity/dbexception.hxx> |