summaryrefslogtreecommitdiff
path: root/framework/source/accelerators/globalacceleratorconfiguration.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-03-28 00:13:14 +0100
committerEike Rathke <erack@redhat.com>2013-03-28 01:39:07 +0100
commit68fac46e71e954d559eeb8591383f304f3038ad6 (patch)
treea47b46cb315ffaffa07eac3706d471ca6950c1b5 /framework/source/accelerators/globalacceleratorconfiguration.cxx
parent66a63c1608cfd5e755fb141b636e4a84c118179a (diff)
use LanguageTag instead of comphelper::Locale
Change-Id: I2c6d07bbdef62fa17e9c90ca87be6e742268c54f
Diffstat (limited to 'framework/source/accelerators/globalacceleratorconfiguration.cxx')
-rw-r--r--framework/source/accelerators/globalacceleratorconfiguration.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/source/accelerators/globalacceleratorconfiguration.cxx b/framework/source/accelerators/globalacceleratorconfiguration.cxx
index fdc1505c92c3..83890281725b 100644
--- a/framework/source/accelerators/globalacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/globalacceleratorconfiguration.cxx
@@ -33,7 +33,7 @@
#include <com/sun/star/util/XChangesNotifier.hpp>
#include <vcl/svapp.hxx>
-#include <comphelper/locale.hxx>
+#include <i18npool/languagetag.hxx>
#include <comphelper/configurationhelper.hxx>
@@ -87,10 +87,13 @@ void SAL_CALL GlobalAcceleratorConfiguration::initialize(const css::uno::Sequenc
//-----------------------------------------------
void GlobalAcceleratorConfiguration::impl_ts_fillCache()
{
+#if 0
// get current office locale ... but dont cache it.
// Otherwise we must be listener on the configuration layer
// which seems to superflous for this small implementation .-)
- ::comphelper::Locale aLocale = ::comphelper::Locale(m_sLocale);
+ // XXX: what is this good for? it was a comphelper::Locale but unused
+ LanguageTag aLanguageTag(m_sLocale);
+#endif
// May be there exists no accelerator config? Handle it gracefully :-)
try