summaryrefslogtreecommitdiff
path: root/sw/source/ui/misc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-01 08:40:44 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-01 12:14:45 +0300
commitb6dbe2be875d181d4d926ba95e52820d7d0d6240 (patch)
tree134e4d88cd1a1645342ebd261fc22487477da5f2 /sw/source/ui/misc
parent5ce92b73ce06c805c66e53c48aa2c70c722aaf60 (diff)
Bin pointless INET_PATH_TOKEN
There is nothing mnemonic in the name 'INET_PATH_TOKEN' that would tell the code reader that it simply means '/'. Change-Id: I89ce72e8be5cf0ef2c66b23ad6e721ad49105648
Diffstat (limited to 'sw/source/ui/misc')
-rw-r--r--sw/source/ui/misc/glosbib.cxx2
-rw-r--r--sw/source/ui/misc/glossary.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx
index 216d33519e26..6015164d6daa 100644
--- a/sw/source/ui/misc/glosbib.cxx
+++ b/sw/source/ui/misc/glosbib.cxx
@@ -419,7 +419,7 @@ void SwGlossaryGroupTLB::RequestHelp( const HelpEvent& rHEvt )
aPos = OutputToScreenPixel(aPos);
Rectangle aItemRect( aPos, aSize );
GlosBibUserData* pData = (GlosBibUserData*)pEntry->GetUserData();
- const OUString sMsg = pData->sPath + OUString(INET_PATH_TOKEN)
+ const OUString sMsg = pData->sPath + "/"
+ pData->sGroupName.getToken(0, GLOS_DELIM)
+ SwGlossaries::GetExtension();
diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx
index eedcf5118dc0..098983600a5c 100644
--- a/sw/source/ui/misc/glossary.cxx
+++ b/sw/source/ui/misc/glossary.cxx
@@ -878,7 +878,7 @@ void SwGlTreeListBox::RequestHelp( const HelpEvent& rHEvt )
if( !rPathArr.empty() )
{
INetURLObject aTmp(rPathArr[pData->nPathIdx]
- + OUString(INET_PATH_TOKEN)
+ + "/"
+ pData->sGroupName
+ SwGlossaries::GetExtension());
sMsg = aTmp.GetPath();