summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 13:49:52 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2008-04-22 13:49:52 +0000
commit721a5b2ab3424694bd87045d6cd57cf4cb3d8ce5 (patch)
treeae9603c2c164beb199c15885b22756c38e747ad2 /stoc
parent23d898f65f6f6393b817c6231be75044b8a54189 (diff)
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 )
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/simpleregistry/simpleregistry.cxx8
1 files changed, 4 insertions, 4 deletions
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;
}
//*************************************************************************