diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:49:16 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 21:49:16 +0000 |
commit | 343fed1cd8e85665173b91be8db3fa35bae08cec (patch) | |
tree | adaa461070733780da761e2e4a4226c34c6981a3 /comphelper | |
parent | abe96685b765d76082dda9fe8259df5ea8a32acb (diff) |
INTEGRATION: CWS warnings01 (1.13.146); FILE MERGED
2005/09/23 03:18:58 sb 1.13.146.2: RESYNC: (1.13-1.14); FILE MERGED
2005/09/08 13:16:52 sb 1.13.146.1: #i53898# Made code warning-free.
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/misc/regpathhelper.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/comphelper/source/misc/regpathhelper.cxx b/comphelper/source/misc/regpathhelper.cxx index 70700cfcf3c7..08c04aaea263 100644 --- a/comphelper/source/misc/regpathhelper.cxx +++ b/comphelper/source/misc/regpathhelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: regpathhelper.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: rt $ $Date: 2005-09-08 02:52:13 $ + * last change: $Author: hr $ $Date: 2006-06-19 22:49:16 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -208,7 +208,8 @@ OUString getPathToSystemRegistry() FILE *f=NULL; // search in the directory of the executable - if( OStartupInfo::E_None == OStartupInfo().getExecutableFile(uBuffer) ) + OStartupInfo info; + if( OStartupInfo::E_None == info.getExecutableFile(uBuffer) ) { sal_uInt32 lastIndex = uBuffer.lastIndexOf(PATH_DELEMITTER); if (lastIndex > 0) |