summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:04:58 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:04:58 +0000
commitb86ddb7f016f2e04cccb672bc8b78e801f545999 (patch)
treeea4cefe488fc508702c9989c8a32a75c67972268 /stoc/source
parentc5eecd9c4f47d385230ca4d4795f385b0098c4cd (diff)
INTEGRATION: CWS warnings01 (1.19.8); FILE MERGED
2005/10/31 14:38:11 sb 1.19.8.1: #i53898# Made code warning-free.
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/registry_tdprovider/tdprovider.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/stoc/source/registry_tdprovider/tdprovider.cxx b/stoc/source/registry_tdprovider/tdprovider.cxx
index 85d7e78ebf32..5d51430771b6 100644
--- a/stoc/source/registry_tdprovider/tdprovider.cxx
+++ b/stoc/source/registry_tdprovider/tdprovider.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: tdprovider.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 08:08:20 $
+ * last change: $Author: hr $ $Date: 2006-06-20 00:04:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -410,18 +410,18 @@ Any SAL_CALL ProviderImpl::getByHierarchicalName( const OUString & rName )
if (nIndex > 0)
{
// open module
- com::sun::star::uno::Reference< XRegistryKey > xKey( xBaseKey->openKey( aKey.copy( 0, nIndex ) ) );
- if (xKey.is())
+ com::sun::star::uno::Reference< XRegistryKey > xKey2( xBaseKey->openKey( aKey.copy( 0, nIndex ) ) );
+ if (xKey2.is())
{
// closes key in it's dtor (which is
// called even in case of exceptions).
- RegistryKeyCloser aCloser( xKey );
+ RegistryKeyCloser aCloser( xKey2 );
- if ( xKey->isValid() )
+ if ( xKey2->isValid() )
{
- if (xKey->getValueType() == RegistryValueType_BINARY)
+ if (xKey2->getValueType() == RegistryValueType_BINARY)
{
- Sequence< sal_Int8 > aBytes( xKey->getBinaryValue() );
+ Sequence< sal_Int8 > aBytes( xKey2->getBinaryValue() );
typereg::Reader aReader(
aBytes.getConstArray(), aBytes.getLength(),
false, TYPEREG_VERSION_1);
@@ -679,7 +679,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;
}