summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2013-11-12 20:55:23 +0100
committerAndras Timar <andras.timar@collabora.com>2013-11-12 20:55:50 +0100
commitd3ffdf5e7db40ab026a4d55bfe231ab5817c4142 (patch)
tree8ac02957659a842a22299146a1f3f777cd8edb53
parent7c320e1a2518707dcdefc4680db67030f4c31386 (diff)
fdo#46410 fix FindRange
Change-Id: I7aada76bc2e8e767f36016eee5e57267b3718b13
-rw-r--r--sw/source/core/edit/edtox.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/edit/edtox.cxx b/sw/source/core/edit/edtox.cxx
index 49c1c202f559..9059e17e6e24 100644
--- a/sw/source/core/edit/edtox.cxx
+++ b/sw/source/core/edit/edtox.cxx
@@ -389,8 +389,7 @@ void SwEditShell::ApplyAutoMark()
// todo/mba: assuming that notes shouldn't be searched
sal_Bool bSearchInNotes = sal_False;
sal_uLong nRet = Find( aSearchOpt, bSearchInNotes, DOCPOS_START, DOCPOS_END, bCancel,
- (FindRanges)(FND_IN_SELALL|FND_IN_BODYONLY|FND_IN_OTHER),
- sal_False );
+ (FindRanges)(FND_IN_SELALL), sal_False );
if(nRet)
{