summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww1/fltshell.cxx
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2015-02-24 22:26:42 +0100
committerAndras Timar <andras.timar@collabora.com>2015-02-24 22:26:42 +0100
commit6e9d351bae650e8fbf7f397a6bc6747c731e291b (patch)
tree15b8e63643eca3b9fdf005d8d6ac370336fb0aab /sw/source/filter/ww1/fltshell.cxx
parentb5c6bae95eed4df45617ec4cadda59088261a3a1 (diff)
Revert "fdo#68963 recognize __RefHeading__ bookmarks as TOC"
Diffstat (limited to 'sw/source/filter/ww1/fltshell.cxx')
-rw-r--r--sw/source/filter/ww1/fltshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww1/fltshell.cxx b/sw/source/filter/ww1/fltshell.cxx
index 330b2a0c5f00..6fd4c3d434ca 100644
--- a/sw/source/filter/ww1/fltshell.cxx
+++ b/sw/source/filter/ww1/fltshell.cxx
@@ -948,7 +948,7 @@ SwFltBookmark::SwFltBookmark( const OUString& rNa, const OUString& rVa,
// otherwise: Src Charset from argument for aName
// Src Charset from filter for aVal ( Text )
- if ( IsTOCBookmark() && ! rNa.startsWith(IDocumentMarkAccess::GetCrossRefHeadingBookmarkNamePrefix()) )
+ if ( IsTOCBookmark() )
{
maName = IDocumentMarkAccess::GetCrossRefHeadingBookmarkNamePrefix();
maName += rNa;