diff options
Diffstat (limited to 'sw/source/filter/ww8/ww8par5.cxx')
-rw-r--r-- | sw/source/filter/ww8/ww8par5.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/filter/ww8/ww8par5.cxx b/sw/source/filter/ww8/ww8par5.cxx index 97b0ed55a967..0517499c3443 100644 --- a/sw/source/filter/ww8/ww8par5.cxx +++ b/sw/source/filter/ww8/ww8par5.cxx @@ -95,17 +95,16 @@ using namespace sw::mark; using namespace std; // #i24377# using namespace nsSwDocInfoSubType; -// Bookmarks - +// Bookmarks namespace { // #120879# - helper method to identify a bookmark name to match the internal TOC bookmark naming convention - bool IsTOCBookmarkName( const ::rtl::OUString& rName ) + bool IsTOCBookmarkName(const OUString& rName) { return rName.startsWith("_Toc") || rName.startsWith(IDocumentMarkAccess::GetCrossRefHeadingBookmarkNamePrefix()); } - ::rtl::OUString EnsureTOCBookmarkName( const ::rtl::OUString& rName ) + OUString EnsureTOCBookmarkName(const OUString& rName) { OUString sTmp = rName; if ( IsTOCBookmarkName ( rName ) ) |