diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-07-28 21:33:29 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-07-29 10:22:44 +0200 |
commit | a6859a1fee2f0f3a35cfc381d5ae547eb13fd620 (patch) | |
tree | 8de17dc888fa518aaa275cefc97cc3d9b04c0a18 /include/unotools | |
parent | 26c08a91e86027c3f37dbd462209e63a5b26b259 (diff) |
replace and drop SvtCompatibilityViewOptions
Change-Id: Iab187468cf25b4a4afc7c79578677156ff224df9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99651
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/compatibilityviewoptions.hxx | 44 | ||||
-rw-r--r-- | include/unotools/itemholderbase.hxx | 1 |
2 files changed, 0 insertions, 45 deletions
diff --git a/include/unotools/compatibilityviewoptions.hxx b/include/unotools/compatibilityviewoptions.hxx deleted file mode 100644 index 6030c5834f4e..000000000000 --- a/include/unotools/compatibilityviewoptions.hxx +++ /dev/null @@ -1,44 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */ -/* - * 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/. - */ - -#ifndef INCLUDED_SVTOOLS_COMPATIBILITYVIEWOPTIONS_HXX -#define INCLUDED_SVTOOLS_COMPATIBILITYVIEWOPTIONS_HXX - -#include <unotools/unotoolsdllapi.h> -#include <unotools/options.hxx> - -namespace osl -{ -class Mutex; -} - -class SvtCompatibilityViewOptions_Impl; - -/// Compatibility settings which affects the GUI. These are not document level settings -/// (like SvtCompatibilityOptions), but global options affecting the application's -/// behavior in general. -class UNOTOOLS_DLLPUBLIC SvtCompatibilityViewOptions final : public utl::detail::Options -{ -public: - SvtCompatibilityViewOptions(); - virtual ~SvtCompatibilityViewOptions() override; - - bool HasMSOCompatibleFormsMenu() const; - void SetMSOCompatibleFormsMenu(bool bSet); - -private: - /// Return a reference to a static mutex - UNOTOOLS_DLLPRIVATE static osl::Mutex& GetOwnStaticMutex(); - - std::shared_ptr<SvtCompatibilityViewOptions_Impl> m_pImpl; -}; - -#endif // #ifndef INCLUDED_SVTOOLS_COMPATIBILITYVIEWOPTIONS_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ diff --git a/include/unotools/itemholderbase.hxx b/include/unotools/itemholderbase.hxx index eeb5fa6ee9c0..857eb34808b1 100644 --- a/include/unotools/itemholderbase.hxx +++ b/include/unotools/itemholderbase.hxx @@ -37,7 +37,6 @@ enum class EItem CmdOptions , ColorConfig , // 2 Compatibility , - CompatibilityView , CTLOptions , // 2 DefaultOptions , |