summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-20 08:44:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-20 10:07:10 +0200
commit1c5cae479bebd2d325182adc2c9821fd948fd1bd (patch)
tree639e50ced55620dc2d1e9eb5a7ed8a6298c4de09 /dbaccess
parentda24355234ec12f2f4c652113dbbb1216ba5492c (diff)
loplugin:unusedmethods
Change-Id: Ib7a9b1b0802ca751da258065e89b412b090bb672 Reviewed-on: https://gerrit.libreoffice.org/36718 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/inc/pch/precompiled_dba.hxx1
-rw-r--r--dbaccess/inc/pch/precompiled_dbmm.hxx1
-rw-r--r--dbaccess/inc/pch/precompiled_dbu.hxx1
-rw-r--r--dbaccess/source/ui/inc/UITools.hxx4
-rw-r--r--dbaccess/source/ui/misc/UITools.cxx17
5 files changed, 0 insertions, 24 deletions
diff --git a/dbaccess/inc/pch/precompiled_dba.hxx b/dbaccess/inc/pch/precompiled_dba.hxx
index d4e2b5e9cee1..9b6a07eb3a1b 100644
--- a/dbaccess/inc/pch/precompiled_dba.hxx
+++ b/dbaccess/inc/pch/precompiled_dba.hxx
@@ -276,7 +276,6 @@
#include <tools/link.hxx>
#include <tools/mapunit.hxx>
#include <tools/poly.hxx>
-#include <tools/rc.hxx>
#include <tools/ref.hxx>
#include <tools/resid.hxx>
#include <tools/resmgr.hxx>
diff --git a/dbaccess/inc/pch/precompiled_dbmm.hxx b/dbaccess/inc/pch/precompiled_dbmm.hxx
index 4601561b47cd..6415c84daf91 100644
--- a/dbaccess/inc/pch/precompiled_dbmm.hxx
+++ b/dbaccess/inc/pch/precompiled_dbmm.hxx
@@ -202,7 +202,6 @@
#include <tools/link.hxx>
#include <tools/mapunit.hxx>
#include <tools/poly.hxx>
-#include <tools/rc.hxx>
#include <tools/ref.hxx>
#include <tools/resid.hxx>
#include <tools/resmgr.hxx>
diff --git a/dbaccess/inc/pch/precompiled_dbu.hxx b/dbaccess/inc/pch/precompiled_dbu.hxx
index 07392df7337c..c572c0098654 100644
--- a/dbaccess/inc/pch/precompiled_dbu.hxx
+++ b/dbaccess/inc/pch/precompiled_dbu.hxx
@@ -139,7 +139,6 @@
#include <tools/diagnose_ex.h>
#include <tools/gen.hxx>
#include <tools/link.hxx>
-#include <tools/rc.hxx>
#include <tools/ref.hxx>
#include <tools/resid.hxx>
#include <tools/solar.h>
diff --git a/dbaccess/source/ui/inc/UITools.hxx b/dbaccess/source/ui/inc/UITools.hxx
index c7dfd15ca7f1..91d116c3b685 100644
--- a/dbaccess/source/ui/inc/UITools.hxx
+++ b/dbaccess/source/ui/inc/UITools.hxx
@@ -401,10 +401,6 @@ namespace dbaui
*/
css::uno::Reference< css::util::XNumberFormatter > getNumberFormatter(const css::uno::Reference< css::sdbc::XConnection >& _rxConnection,const css::uno::Reference< css::uno::XComponentContext >& _rxContext );
- // this completes a help url with the system parameters "Language" and "System"
- // detect installed locale
- void AppendConfigToken( OUString& _rURL, bool _bQuestionMark );
-
}
#endif // INCLUDED_DBACCESS_SOURCE_UI_INC_UITOOLS_HXX
diff --git a/dbaccess/source/ui/misc/UITools.cxx b/dbaccess/source/ui/misc/UITools.cxx
index cbdf38c950e0..da48f4bcb9fc 100644
--- a/dbaccess/source/ui/misc/UITools.cxx
+++ b/dbaccess/source/ui/misc/UITools.cxx
@@ -1083,23 +1083,6 @@ OUString getStrippedDatabaseName(const Reference<XPropertySet>& _xDataSource,OUS
return sName;
}
-void AppendConfigToken( OUString& _rURL, bool _bQuestionMark )
-{
- // query part exists?
- if ( _bQuestionMark )
- // no, so start with '?'
- _rURL += "?";
- else
- // yes, so only append with '&'
- _rURL += "&";
-
- // set parameters
- _rURL += "Language=";
- _rURL += utl::ConfigManager::getLocale();
- _rURL += "&System=";
- _rURL += SvtHelpOptions().GetSystem();
-}
-
void setEvalDateFormatForFormatter(Reference< css::util::XNumberFormatter >& _rxFormatter)
{
OSL_ENSURE( _rxFormatter.is(),"setEvalDateFormatForFormatter: Formatter is NULL!");