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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/fontmanager/helper.cxx b/vcl/unx/generic/fontmanager/helper.cxx
index 8b7c2ed722b4..2f83b96e5f0c 100644
--- a/vcl/unx/generic/fontmanager/helper.cxx
+++ b/vcl/unx/generic/fontmanager/helper.cxx
@@ -37,7 +37,7 @@ using ::rtl::Bootstrap;
namespace psp {
-OUString getOfficePath( whichOfficePath ePath )
+OUString const & getOfficePath( whichOfficePath ePath )
{
static OUString aInstallationRootPath;
static OUString aUserPath;
@@ -185,7 +185,7 @@ void psp::getPrinterPathList( std::list< OUString >& rPathList, const char* pSub
}
}
-OUString psp::getFontPath()
+OUString const & psp::getFontPath()
{
static OUString aPath;