summaryrefslogtreecommitdiff
path: root/include/editeng
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-08-21 23:32:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-22 20:55:54 +0200
commit728e42a9dae8305f6f92628d6d9ba616baaf0426 (patch)
tree4ff27bec324e0ccea95c195ec399599098b4716e /include/editeng
parent66e32324f6441818612f088cfa5c8082c8ceea32 (diff)
drop unused SvxScriptTypeItem
apparently there was never a user for this item since initial commit in the year 2000. SvxScriptSetItem gets the ScriptType by parameter see GetItemOfScript and PutItemForScriptType. remove SID_ATTR_CHAR_SCRIPTTYPE and don't put the item in any set. keep the gap in the ID range because it's not part of any range and there are already other gaps. Change-Id: Iee24f13b329593af2dc5548d8b6bc2282c2dc5b3 Reviewed-on: https://gerrit.libreoffice.org/41423 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng')
-rw-r--r--include/editeng/editids.hrc1
-rw-r--r--include/editeng/scripttypeitem.hxx18
2 files changed, 1 insertions, 18 deletions
diff --git a/include/editeng/editids.hrc b/include/editeng/editids.hrc
index c99144a397bd..f728255f4285 100644
--- a/include/editeng/editids.hrc
+++ b/include/editeng/editids.hrc
@@ -100,7 +100,6 @@
#define SID_ATTR_CHAR_TWO_LINES ( SID_SVX_START + 897 )
#define SID_ATTR_CHAR_CJK_RUBY ( SID_SVX_START + 898 )
#define SID_ATTR_CHAR_EMPHASISMARK ( SID_SVX_START + 899 )
-#define SID_ATTR_CHAR_SCRIPTTYPE ( SID_SVX_START + 900 )
#define SID_ATTR_PARA_SCRIPTSPACE ( SID_SVX_START + 901 )
#define SID_ATTR_PARA_HANGPUNCTUATION ( SID_SVX_START + 902 )
#define SID_ATTR_PARA_FORBIDDEN_RULES ( SID_SVX_START + 903 )
diff --git a/include/editeng/scripttypeitem.hxx b/include/editeng/scripttypeitem.hxx
index 4d86b9e81359..49c3945ca7d7 100644
--- a/include/editeng/scripttypeitem.hxx
+++ b/include/editeng/scripttypeitem.hxx
@@ -19,26 +19,10 @@
#ifndef INCLUDED_EDITENG_SCRIPTTYPEITEM_HXX
#define INCLUDED_EDITENG_SCRIPTTYPEITEM_HXX
-#include <svl/intitem.hxx>
#include <svl/languageoptions.hxx>
+#include <svl/poolitem.hxx>
#include <editeng/editengdllapi.h>
-// class SvxScriptTypeItem ----------------------------------------------
-
-/* [Description]
-
- This item describes the script type of the selected text and is only
- used for the user interface.
-*/
-
-class EDITENG_DLLPUBLIC SvxScriptTypeItem : public SfxUInt16Item
-{
-public:
- explicit SvxScriptTypeItem( SvtScriptType nType = SvtScriptType::LATIN );
- virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override;
-
-};
-
class EDITENG_DLLPUBLIC SvxScriptSetItem : public SfxSetItem
{
public: