diff options
Diffstat (limited to 'sw/source/uibase/misc/glosdoc.cxx')
-rw-r--r-- | sw/source/uibase/misc/glosdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx index 6c047877cded..f4e58d08ffcd 100644 --- a/sw/source/uibase/misc/glosdoc.cxx +++ b/sw/source/uibase/misc/glosdoc.cxx @@ -310,7 +310,7 @@ std::vector<OUString> & SwGlossaries::GetNameList() SWUnoHelper::UCB_GetFileListOfFolder(m_PathArr[i], aFiles, &sExt); for (const OUString& aTitle : aFiles) { - const OUString sName( aTitle.copy( 0, aTitle.getLength() - sExt.getLength() ) + const OUString sName( aTitle.subView( 0, aTitle.getLength() - sExt.getLength() ) + OUStringChar(GLOS_DELIM) + OUString::number( static_cast<sal_Int16>(i) )); m_GlosArr.push_back(sName); } |