diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:01:39 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:01:39 +0000 |
commit | 858db3cce5a027897c7269f8f9cb68e15a981567 (patch) | |
tree | 0b9b6886385ecbceebd7a2a726830b6f2cc11e30 /stoc | |
parent | d069e6b4e4d37e7cc25febfa7ea71dda3077dafa (diff) |
INTEGRATION: CWS warnings01 (1.9.8); FILE MERGED
2005/10/31 14:38:06 sb 1.9.8.1: #i53898# Made code warning-free.
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/defaultregistry/defaultregistry.cxx | 26 |
1 files changed, 5 insertions, 21 deletions
diff --git a/stoc/source/defaultregistry/defaultregistry.cxx b/stoc/source/defaultregistry/defaultregistry.cxx index fda19daf0b95..8fc55ef1cc0e 100644 --- a/stoc/source/defaultregistry/defaultregistry.cxx +++ b/stoc/source/defaultregistry/defaultregistry.cxx @@ -4,9 +4,9 @@ * * $RCSfile: defaultregistry.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: rt $ $Date: 2005-09-08 07:54:10 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:01:39 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -366,8 +366,6 @@ sal_Bool SAL_CALL NestedKeyImpl::isReadOnly( ) return m_localKey->isReadOnly(); else throw InvalidRegistryException(); - - return sal_False; } //************************************************************************* @@ -434,8 +432,6 @@ sal_Int32 SAL_CALL NestedKeyImpl::getLongValue( ) { throw InvalidRegistryException(); } - - return 0; } //************************************************************************* @@ -479,8 +475,6 @@ Sequence< sal_Int32 > SAL_CALL NestedKeyImpl::getLongListValue( ) { throw InvalidRegistryException(); } - - return Sequence<sal_Int32>(); } //************************************************************************* @@ -524,8 +518,6 @@ OUString SAL_CALL NestedKeyImpl::getAsciiValue( ) { throw InvalidRegistryException(); } - - return OUString(); } //************************************************************************* @@ -569,8 +561,6 @@ Sequence< OUString > SAL_CALL NestedKeyImpl::getAsciiListValue( ) { throw InvalidRegistryException(); } - - return Sequence<OUString>(); } //************************************************************************* @@ -614,8 +604,6 @@ OUString SAL_CALL NestedKeyImpl::getStringValue( ) { throw InvalidRegistryException(); } - - return OUString(); } //************************************************************************* @@ -659,8 +647,6 @@ Sequence< OUString > SAL_CALL NestedKeyImpl::getStringListValue( ) { throw InvalidRegistryException(); } - - return Sequence<OUString>(); } //************************************************************************* @@ -704,8 +690,6 @@ Sequence< sal_Int8 > SAL_CALL NestedKeyImpl::getBinaryValue( ) { throw InvalidRegistryException(); } - - return Sequence<sal_Int8>(); } //************************************************************************* @@ -1322,7 +1306,7 @@ OUString SAL_CALL NestedRegistryImpl::getURL() throw(RuntimeException) } //************************************************************************* -void SAL_CALL NestedRegistryImpl::open( const OUString& rURL, sal_Bool bReadOnly, sal_Bool bCreate ) +void SAL_CALL NestedRegistryImpl::open( const OUString&, sal_Bool, sal_Bool ) throw(InvalidRegistryException, RuntimeException) { throw InvalidRegistryException( @@ -1437,7 +1421,7 @@ void SAL_CALL NestedRegistryImpl::mergeKey( const OUString& aKeyName, const OUSt } //************************************************************************* -Reference<XInterface> SAL_CALL NestedRegistry_CreateInstance( const Reference<XComponentContext>& xCtx ) +Reference<XInterface> SAL_CALL NestedRegistry_CreateInstance( const Reference<XComponentContext>& ) throw(Exception) { Reference<XInterface> xRet; @@ -1475,7 +1459,7 @@ sal_Bool SAL_CALL component_canUnload( TimeValue *pTime ) //================================================================================================== void SAL_CALL component_getImplementationEnvironment( - const sal_Char ** ppEnvTypeName, uno_Environment ** ppEnv ) + const sal_Char ** ppEnvTypeName, uno_Environment ** ) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME; } |