diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2017-02-08 19:44:26 +0200 |
---|---|---|
committer | Khaled Hosny <khaledhosny@eglug.org> | 2017-02-08 20:04:03 +0200 |
commit | b27324d219ea14249fcc0827658a955de54f4250 (patch) | |
tree | 87075a055cb4351411846780bfc25c7db2d08321 /vcl | |
parent | 25912929cfba42099581c55380dbef18cb81b5b9 (diff) |
Outdated comment, we are returning a reference!
Change-Id: I4061f9f421666064f918d8a46375f7f770626ab6
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/unx/helper.hxx | 5 |
1 files changed, 1 insertions, 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 |