summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-11-28 17:41:09 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2018-12-07 13:08:58 +0100
commitce796b90c9a46df3edd25eca0c44269f92437f7a (patch)
tree67bddc92b6689c846654a502c0707005c6c45bb3
parentd48ae6eb2b837d53d06f8439c4282ea45dbb99c3 (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