From a032c5233762196421601a291f4b69af29619f81 Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 19 Jul 2006 16:19:45 +0000 Subject: 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. --- registry/source/keyimpl.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'registry/source/keyimpl.cxx') 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); -- cgit