diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-04-01 08:40:44 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-04-01 12:14:45 +0300 |
commit | b6dbe2be875d181d4d926ba95e52820d7d0d6240 (patch) | |
tree | 134e4d88cd1a1645342ebd261fc22487477da5f2 /sw/source/ui/envelp | |
parent | 5ce92b73ce06c805c66e53c48aa2c70c722aaf60 (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/envelp')
-rw-r--r-- | sw/source/ui/envelp/mailmrge.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/envelp/mailmrge.cxx b/sw/source/ui/envelp/mailmrge.cxx index 8f9be8ac2067..5fa938f1bc1c 100644 --- a/sw/source/ui/envelp/mailmrge.cxx +++ b/sw/source/ui/envelp/mailmrge.cxx @@ -664,9 +664,8 @@ bool SwMailMergeDlg::ExecQryShell() aAbs, aPathED.GetText(), URIHelper::GetMaybeFileHdl())); pModOpt->SetMailingPath(sPath); - const OUString sDelim(INET_PATH_TOKEN); - if (!sPath.endsWith(sDelim)) - sPath += sDelim; + if (!sPath.endsWith("/")) + sPath += "/"; pModOpt->SetIsNameFromColumn(aGenerateFromDataBaseCB.IsChecked()); |