summaryrefslogtreecommitdiffstats
path: root/sw/CppunitTest_sw_unowriter.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2018-12-04 10:16:03 +0100
committerMiklos Vajna <vmiklos@collabora.com>2018-12-04 12:23:47 +0100
commita4b67dbccb4f376ac3a75f8f602ea84b8c4d00ea (patch)
tree560d882028832e9ebfdd1792781bf71aeb7a33bc /sw/CppunitTest_sw_unowriter.mk
parenttdf#34171: check foreign lockfiles to tell who has locked document (diff)
downloadcore-a4b67dbccb4f376ac3a75f8f602ea84b8c4d00ea.tar.gz
core-a4b67dbccb4f376ac3a75f8f602ea84b8c4d00ea.zip
sw: fix paragraph enumeration going past selection end
SwCursor::MovePara() may move the uno cursor past the end of the selection range, check for this explicitly. In practice this makes sure that in case a 1-paragraph cell text is selected, we never jump to the next cell for a selection created from the previous cell. Change-Id: Ibe2d00cfa75ed0c32b9c89d86cfae3b51d70ddc6 Reviewed-on: https://gerrit.libreoffice.org/64509 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sw/CppunitTest_sw_unowriter.mk')
-rw-r--r--sw/CppunitTest_sw_unowriter.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/CppunitTest_sw_unowriter.mk b/sw/CppunitTest_sw_unowriter.mk
index b4b27bd402a4..726e364f4238 100644
--- a/sw/CppunitTest_sw_unowriter.mk
+++ b/sw/CppunitTest_sw_unowriter.mk
@@ -44,6 +44,7 @@ $(eval $(call gb_CppunitTest_use_externals,sw_unowriter,\
$(eval $(call gb_CppunitTest_set_include,sw_unowriter,\
-I$(SRCDIR)/sw/inc \
-I$(SRCDIR)/sw/source/core/inc \
+ -I$(SRCDIR)/sw/source/uibase/inc \
-I$(SRCDIR)/sw/qa/extras/inc \
$$(INCLUDE) \
))