summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-09-13 14:51:08 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-09-14 22:40:30 +0200
commita3bbb7e63c1f5e7f5d63678e7d35f8847e4a9370 (patch)
treeebeccfa428673ae4f4048a478a7e67602597c054 /cui
parentaef2aa22180be4b99b0a4e28b3bc13f82ad436c5 (diff)
sFullPath is empty for sure, here
Change-Id: Idee351bf2515dd7343b6a74eba98d1df7f4d5ffc
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optpath.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 98999d9c6e34..370f71cd1ba8 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -595,9 +595,7 @@ IMPL_LINK_NOARG_TYPED(SvxPathTabPage, PathHdl_Impl, Button*, void)
sUser += OUString(cDelim);
sUser += sNewPath.getToken( i, cDelim );
}
- if ( !sFullPath.isEmpty() )
- sFullPath += OUString(cDelim);
- sFullPath += sUser;
+ sFullPath = sUser;
sWritable += sNewPath.getToken( i, cDelim );
if ( !sFullPath.isEmpty() )
sFullPath += OUString(cDelim);