From b27324d219ea14249fcc0827658a955de54f4250 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 8 Feb 2017 19:44:26 +0200 Subject: Outdated comment, we are returning a reference! Change-Id: I4061f9f421666064f918d8a46375f7f770626ab6 --- vcl/inc/unx/helper.hxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vcl/inc/unx/helper.hxx b/vcl/inc/unx/helper.hxx index 889641dbcea2..a5f475e099e1 100644 --- a/vcl/inc/unx/helper.hxx +++ b/vcl/inc/unx/helper.hxx @@ -36,8 +36,6 @@ namespace psp void getPrinterPathList( std::list< OUString >& rPathList, const char* pSubDir ); -// note: gcc 3.4.1 warns about visibility if we retunr a const OUString& here -// seems to be a bug in gcc, now we return an object instead of a reference OUString const & getFontPath(); // normalized path (equivalent to realpath) @@ -48,8 +46,7 @@ void normPath( OString& rPath ); void splitPath( OString& rOrgPath, OString& rDir, OString& rBase ); enum class whichOfficePath { InstallationRootPath, UserPath, ConfigPath }; -// note: gcc 3.4.1 warns about visibility if we retunr a const OUString& here -// seems to be a bug in gcc, now we return an object instead of a reference + OUString const & getOfficePath( whichOfficePath ePath ); } // namespace -- cgit v1.2.3