summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-11-28 17:41:09 +0100
committerMichael Stahl <Michael.Stahl@cib.de>2018-12-07 10:32:32 +0100
commitb16d335056a4692276e45a55a6df5ccaac841663 (patch)
tree66e13eabf85c343b6aac6876430676f7e371ca26
parentd2806dade9c1f60f6a5f5f432627c084dc1d9d20 (diff)
sw_redlinehide_4a: TextFrameIndex goes live
Change-Id: Ie59c09bdc57505e16022c43791d5e65cc233d5b9 (cherry picked from commit aa4f245efa24e25bfd78114ab8651220d0723757)
-rw-r--r--sw/source/core/inc/TextFrameIndex.hxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/sw/source/core/inc/TextFrameIndex.hxx b/sw/source/core/inc/TextFrameIndex.hxx
index d15fc7bf6691..3987bd5903fe 100644
--- a/sw/source/core/inc/TextFrameIndex.hxx
+++ b/sw/source/core/inc/TextFrameIndex.hxx
@@ -13,17 +13,13 @@
#include <sal/types.h>
#include <o3tl/strong_int.hxx>
-#if 0
-typedef o3tl::strong_int<sal_Int32, struct Tag_TextFrameIndex> TextFrameIndex;
-#else
/**
* Denotes a character index in a text frame at a layout level, after extent
* mapping from a text node at a document model level.
*
* @see SwTextFrame::MapViewToModelPos().
*/
-typedef sal_Int32 TextFrameIndex;
-#endif
+typedef o3tl::strong_int<sal_Int32, struct Tag_TextFrameIndex> TextFrameIndex;
#endif // INCLUDED_SW_SOURCE_CORE_INC_TEXTFRAMEINDEX_HXX