diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 08:44:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 10:07:10 +0200 |
commit | 1c5cae479bebd2d325182adc2c9821fd948fd1bd (patch) | |
tree | 639e50ced55620dc2d1e9eb5a7ed8a6298c4de09 /dbaccess/source | |
parent | da24355234ec12f2f4c652113dbbb1216ba5492c (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/source')
-rw-r--r-- | dbaccess/source/ui/inc/UITools.hxx | 4 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/UITools.cxx | 17 |
2 files changed, 0 insertions, 21 deletions
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!"); |