From 2013b3e82cdfc6ac7a9332d1372f9a647d72b9dd Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Wed, 19 Jul 2006 15:23:32 +0000 Subject: INTEGRATION: CWS warningfixes02 (1.12.2); FILE MERGED 2006/06/30 11:56:15 sb 1.12.2.1: #i66577# Made the code compile (warning-free) on a unxlngi6.pro GCC 4.1.1 Linux box. --- stoc/source/simpleregistry/simpleregistry.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx index 59a727a4145e..90551e8fba7c 100644 --- a/stoc/source/simpleregistry/simpleregistry.cxx +++ b/stoc/source/simpleregistry/simpleregistry.cxx @@ -4,9 +4,9 @@ * * $RCSfile: simpleregistry.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: hr $ $Date: 2006-06-20 00:06:00 $ + * last change: $Author: kz $ $Date: 2006-07-19 16:23:32 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -924,7 +924,7 @@ Sequence< Reference< XRegistryKey > > SAL_CALL RegistryKeyImpl::openKeys( ) { RegistryKeyArray subKeys; RegError _ret = REG_NO_ERROR; - if ( _ret = m_key.openSubKeys(OUString(), subKeys) ) + if ( (_ret = m_key.openSubKeys(OUString(), subKeys)) ) { if ( _ret == REG_INVALID_KEY ) { @@ -963,7 +963,7 @@ Sequence< OUString > SAL_CALL RegistryKeyImpl::getKeyNames( ) { RegistryKeyNames subKeys; RegError _ret = REG_NO_ERROR; - if ( _ret = m_key.getKeyNames(OUString(), subKeys) ) + if ( (_ret = m_key.getKeyNames(OUString(), subKeys)) ) { if ( _ret == REG_INVALID_KEY ) { -- cgit