From a3bbb7e63c1f5e7f5d63678e7d35f8847e4a9370 Mon Sep 17 00:00:00 2001 From: Matteo Casalin Date: Sun, 13 Sep 2015 14:51:08 +0200 Subject: sFullPath is empty for sure, here Change-Id: Idee351bf2515dd7343b6a74eba98d1df7f4d5ffc --- cui/source/options/optpath.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cui') 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); -- cgit