diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 08:17:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-13 08:17:42 +0200 |
commit | b8d977c0178f8ac4ee299722d50c1481a15b45c8 (patch) | |
tree | 6cd8560661bb8b713e4373379052e85ab30598dd /sw/inc | |
parent | 80d2fa87fdaf67615d7b8128f3c05b239a1f1c05 (diff) |
convert CharCompressType to scoped enum
and move it to svl, where it belongs
Change-Id: Ic4d846419dfe2dd85de5ade8ed1a041867bbf1dc
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/IDocumentSettingAccess.hxx | 6 | ||||
-rw-r--r-- | sw/inc/chcmprse.hxx | 28 | ||||
-rw-r--r-- | sw/inc/doc.hxx | 1 |
3 files changed, 3 insertions, 32 deletions
diff --git a/sw/inc/IDocumentSettingAccess.hxx b/sw/inc/IDocumentSettingAccess.hxx index ed7da1216f2a..cc0466b85da4 100644 --- a/sw/inc/IDocumentSettingAccess.hxx +++ b/sw/inc/IDocumentSettingAccess.hxx @@ -22,11 +22,11 @@ #include <tools/solar.h> #include <rtl/ref.hxx> -#include <chcmprse.hxx> #include <fldupde.hxx> class SvxForbiddenCharactersTable; namespace com { namespace sun { namespace star { namespace i18n { struct ForbiddenCharacters; } } } } +enum class CharCompressType; enum class DocumentSettingId { @@ -204,14 +204,14 @@ enum class DocumentSettingId @returns the current character compression mode. */ - virtual SwCharCompressType getCharacterCompressionType() const = 0; + virtual CharCompressType getCharacterCompressionType() const = 0; /** Set the character compression type for Asian characters. @param nMode [in] the new character compression type. */ - virtual void setCharacterCompressionType( /*[in]*/SwCharCompressType nType ) = 0; + virtual void setCharacterCompressionType( /*[in]*/CharCompressType nType ) = 0; /** Get the n32DummyCompatabilityOptions1 */ diff --git a/sw/inc/chcmprse.hxx b/sw/inc/chcmprse.hxx deleted file mode 100644 index 37574b3856c6..000000000000 --- a/sw/inc/chcmprse.hxx +++ /dev/null @@ -1,28 +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_SW_INC_CHCMPRSE_HXX -#define INCLUDED_SW_INC_CHCMPRSE_HXX - -enum SwCharCompressType{ CHARCOMPRESS_NONE, - CHARCOMPRESS_PUNCTUATION, - CHARCOMPRESS_PUNCTUATION_KANA }; - -#endif -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index d8c2ba38118d..458d3bda4578 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -35,7 +35,6 @@ #include <flypos.hxx> #include <itabenum.hxx> #include <swdbdata.hxx> -#include <chcmprse.hxx> #include <com/sun/star/linguistic2/XSpellChecker1.hpp> #include <com/sun/star/linguistic2/XHyphenatedWord.hpp> #include <sfx2/objsh.hxx> |