summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-01-06 10:01:22 +0100
committerCédric Bosdonnat <cedric.bosdonnat.ooo@free.fr>2012-01-06 10:03:35 +0100
commit41cd78b805a36d5676b2075a4860e9aee7bc5491 (patch)
treedc4fc92bc217760a6b3fe678b02b97ee99a5858d
parentc43a4cb4ffc80c49b8e51ae0796321a6b73b5e99 (diff)
fdo#32726: search for index entries in the whole document, not only the body
-rw-r--r--sw/source/core/edit/edtox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/edtox.cxx b/sw/source/core/edit/edtox.cxx
index 6ce4b4465fba..3a178ed737c4 100644
--- a/sw/source/core/edit/edtox.cxx
+++ b/sw/source/core/edit/edtox.cxx
@@ -428,7 +428,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),
+ (FindRanges)(FND_IN_SELALL|FND_IN_BODYONLY|FND_IN_OTHER),
sal_False );
if(nRet)