[Libreoffice-commits] core.git: dbaccess/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Aug 24 13:24:16 UTC 2018


 dbaccess/source/core/dataaccess/datasource.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 16357f1c65189c9ae66763356d935c3516baa355
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Aug 24 15:23:43 2018 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Aug 24 15:23:43 2018 +0200

    Blind fix for -Werror,-Wunused-function
    
    ...on Android tb24
    
    Change-Id: I3119a660d6d38d3bff15b3a32a98b188ea06fdbd

diff --git a/dbaccess/source/core/dataaccess/datasource.cxx b/dbaccess/source/core/dataaccess/datasource.cxx
index 0a42896abbf1..db19f9edd912 100644
--- a/dbaccess/source/core/dataaccess/datasource.cxx
+++ b/dbaccess/source/core/dataaccess/datasource.cxx
@@ -578,6 +578,7 @@ void ODatabaseSource::disposing()
 
 namespace
 {
+#if ENABLE_FIREBIRD_SDBC
     weld::Window* GetFrameWeld(const Reference<XModel>& rModel)
     {
         if (!rModel.is())
@@ -591,6 +592,7 @@ namespace
         Reference<css::awt::XWindow> xWindow(xFrame->getContainerWindow());
         return Application::GetFrameWeld(xWindow);
     }
+#endif
 }
 
 Reference< XConnection > ODatabaseSource::buildLowLevelConnection(const OUString& _rUid, const OUString& _rPwd)


More information about the Libreoffice-commits mailing list