diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:19:45 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-07-19 16:19:45 +0000 |
commit | a032c5233762196421601a291f4b69af29619f81 (patch) | |
tree | a1dea2de092617ac30ffd01faf7e89107f76be1f /registry/source/keyimpl.cxx | |
parent | 727269d807060bbf7e032f79deb9ee61c5b352a3 (diff) |
INTEGRATION: CWS warningfixes02 (1.6.2); FILE MERGED
2006/06/30 12:32:58 sb 1.6.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box.
Diffstat (limited to 'registry/source/keyimpl.cxx')
-rw-r--r-- | registry/source/keyimpl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/registry/source/keyimpl.cxx b/registry/source/keyimpl.cxx index b470ef03ad38..4bb4ac9b6a88 100644 --- a/registry/source/keyimpl.cxx +++ b/registry/source/keyimpl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: keyimpl.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2006-06-19 14:26:48 $ + * last change: $Author: kz $ $Date: 2006-07-19 17:19:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1102,8 +1102,8 @@ RegError ORegKey::createLink(const OUString& linkName, const OUString& linkTarge } } - if (_ret = pKey->setValue(OUString( RTL_CONSTASCII_USTRINGPARAM("LINK_TARGET") ), - RG_VALUETYPE_UNICODE, (RegValue)linkTarget.getStr(), (linkTarget.getLength()+1)*2)) + if ((_ret = pKey->setValue(OUString( RTL_CONSTASCII_USTRINGPARAM("LINK_TARGET") ), + RG_VALUETYPE_UNICODE, (RegValue)linkTarget.getStr(), (linkTarget.getLength()+1)*2))) { m_pRegistry->closeKey(pKey); _ret = m_pRegistry->deleteKey(this, linkName); |