From 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Jul 2016 09:22:27 +0200 Subject: improve passstuffbyref return analysis Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c Reviewed-on: https://gerrit.libreoffice.org/27317 Tested-by: Jenkins Reviewed-by: Noel Grandin --- vcl/unx/generic/fontmanager/helper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/unx/generic/fontmanager') 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; -- cgit