summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/fontmanager/helper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/fontmanager/helper.cxx')
-rw-r--r--vcl/unx/generic/fontmanager/helper.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/vcl/unx/generic/fontmanager/helper.cxx b/vcl/unx/generic/fontmanager/helper.cxx
index 6cea0998e771..0abbb812a610 100644
--- a/vcl/unx/generic/fontmanager/helper.cxx
+++ b/vcl/unx/generic/fontmanager/helper.cxx
@@ -207,13 +207,12 @@ OUString const & psp::getFontPath()
{
if( !aInstallationRootPath.isEmpty() )
{
- aPathBuffer.append( aInstallationRootPath );
- aPathBuffer.append( "/" LIBO_SHARE_FOLDER "/fonts/truetype;");
+ aPathBuffer.append( aInstallationRootPath
+ + "/" LIBO_SHARE_FOLDER "/fonts/truetype;");
}
if( !aUserPath.isEmpty() )
{
- aPathBuffer.append( aUserPath );
- aPathBuffer.append( "/user/fonts" );
+ aPathBuffer.append( aUserPath + "/user/fonts" );
}
}