From 721a5b2ab3424694bd87045d6cd57cf4cb3d8ce5 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 22 Apr 2008 13:49:52 +0000 Subject: INTEGRATION: CWS hr50 (1.16.12); FILE MERGED 2008/04/14 15:49:12 hr 1.16.12.1: #i86574#: fix \"control reaches end of non-void function\" warning ( gcc-4.2.3, no optimizations ) --- stoc/source/simpleregistry/simpleregistry.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stoc') diff --git a/stoc/source/simpleregistry/simpleregistry.cxx b/stoc/source/simpleregistry/simpleregistry.cxx index 279c9a96eb8b..87cad7911117 100644 --- a/stoc/source/simpleregistry/simpleregistry.cxx +++ b/stoc/source/simpleregistry/simpleregistry.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: simpleregistry.cxx,v $ - * $Revision: 1.17 $ + * $Revision: 1.18 $ * * This file is part of OpenOffice.org. * @@ -989,12 +989,12 @@ sal_Bool SAL_CALL RegistryKeyImpl::createLink( const OUString& aLinkName, const OUString( RTL_CONSTASCII_USTRINGPARAM("InvalidRegistryException") ), (OWeakObject *)this ); } else + { return sal_False; - } else - { - return sal_True; + } } } + return sal_True; } //************************************************************************* -- cgit