diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-07-10 16:52:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-07-10 19:12:39 +0100 |
commit | a97d67cd0bf0819d4559fa79d5fcbcd86222fe6a (patch) | |
tree | 6ed15b2173aff75151b094761d851d58cfe13ed5 /include/unotools | |
parent | 4bc99ab1ac4bed1df66d1df8b1ca3168e7e3d8f4 (diff) |
ditch the application per-language IsAutoMnemonicEnabled setting
Change-Id: I9734ada09edb6544a332893a7c5d31730b0d081d
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/itemholderbase.hxx | 1 | ||||
-rw-r--r-- | include/unotools/localisationoptions.hxx | 78 |
2 files changed, 0 insertions, 79 deletions
diff --git a/include/unotools/itemholderbase.hxx b/include/unotools/itemholderbase.hxx index 9dfc2388b4ed..7071e3c66658 100644 --- a/include/unotools/itemholderbase.hxx +++ b/include/unotools/itemholderbase.hxx @@ -57,7 +57,6 @@ enum EItem E_LANGUAGEOPTIONS , // 2 E_LINGUCFG , - E_LOCALISATIONOPTIONS , E_MENUOPTIONS , E_MISCCFG , // 2 diff --git a/include/unotools/localisationoptions.hxx b/include/unotools/localisationoptions.hxx deleted file mode 100644 index f00728473942..000000000000 --- a/include/unotools/localisationoptions.hxx +++ /dev/null @@ -1,78 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ -#ifndef INCLUDED_UNOTOOLS_LOCALISATIONOPTIONS_HXX -#define INCLUDED_UNOTOOLS_LOCALISATIONOPTIONS_HXX - -#include <sal/types.h> -#include <unotools/unotoolsdllapi.h> -#include <osl/mutex.hxx> -#include <unotools/options.hxx> -#include <memory> - -/*-************************************************************************************************************ - @short forward declaration to our private date container implementation - @descr We use these class as internal member to support small memory requirements. - You can create the container if it is necessary. The class which use these mechanism - is faster and smaller then a complete implementation! -*//*-*************************************************************************************************************/ - -class SvtLocalisationOptions_Impl; - -/*-************************************************************************************************************ - @short collect information about localisation features - @devstatus ready to use -*//*-*************************************************************************************************************/ - -class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtLocalisationOptions : public utl::detail::Options -{ - public: - SvtLocalisationOptions(); - virtual ~SvtLocalisationOptions(); - - /*-**************************************************************************************************** - @short interface methods to get and set value of config key "org.openoffice.Office.Common/View/Localisation/AutoMnemonic" - @descr These value specifies if shortcuts should be assigned automatically. - @param "bState", new value to set it in configuration. - @return The value which represent current state of internal variable. - - @onerror No error should occur! - *//*-*****************************************************************************************************/ - - bool IsAutoMnemonic ( ) const; - - private: - - /*-**************************************************************************************************** - @short return a reference to a static mutex - @descr These class is partially threadsafe (for de-/initialization only). - All access methods are'nt safe! - We create a static mutex only for one ime and use at different times. - @return A reference to a static mutex member. - *//*-*****************************************************************************************************/ - - UNOTOOLS_DLLPRIVATE static ::osl::Mutex& GetOwnStaticMutex(); - - private: - std::shared_ptr<SvtLocalisationOptions_Impl> m_pImpl; - -}; // class SvtLocalisationOptions - -#endif // INCLUDED_UNOTOOLS_LOCALISATIONOPTIONS_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |