summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-08-24 15:23:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-08-24 15:23:43 +0200
commit16357f1c65189c9ae66763356d935c3516baa355 (patch)
treeb972e437755ba3f12315d353074644705b07f70a /dbaccess/source
parentbf0a63dc93a746a008fb1656457c77de8df693ba (diff)
Blind fix for -Werror,-Wunused-function
...on Android tb24 Change-Id: I3119a660d6d38d3bff15b3a32a98b188ea06fdbd
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/core/dataaccess/datasource.cxx2
1 files changed, 2 insertions, 0 deletions
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)