diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-07 11:38:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-07 11:40:01 +0100 |
commit | 14acb6b69800c0850157c2ba15b50c5527e46939 (patch) | |
tree | 1fc2c5f921d4369c834d6e384f887b606783e185 | |
parent | 98108afb23f04d46c81b8b7d97fc2c71f57207a8 (diff) |
Unused variables
Change-Id: I8d0d72ac2c3d7f0b0576980c770cb62af983d074
-rw-r--r-- | stoc/source/implementationregistration/implreg.cxx | 3 | ||||
-rw-r--r-- | stoc/source/inspect/introspection.cxx | 4 | ||||
-rw-r--r-- | stoc/source/javavm/jvmargs.cxx | 15 | ||||
-rw-r--r-- | stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx | 3 |
4 files changed, 2 insertions, 23 deletions
diff --git a/stoc/source/implementationregistration/implreg.cxx b/stoc/source/implementationregistration/implreg.cxx index fa3867deae90..2de4c88dcc8c 100644 --- a/stoc/source/implementationregistration/implreg.cxx +++ b/stoc/source/implementationregistration/implreg.cxx @@ -1657,7 +1657,6 @@ Sequence< OUString > ImplementationRegistration::getImplementations( const OUString & locationUrl) throw ( RuntimeException ) { - OUString implLoaderUrl(implementationLoaderUrl); OUString activatorName; if (!implementationLoaderUrl.isEmpty()) @@ -1668,7 +1667,7 @@ Sequence< OUString > ImplementationRegistration::getImplementations( } else { // check locationUrl to find out what kind of loader is needed - // set implLoaderUrl + // set implementationLoaderUrl } if( m_xSMgr.is() ) { diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index b8d73d46d9f2..595608859003 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -356,10 +356,6 @@ sal_Int32 IntrospectionAccessStatic_Impl::getMethodIndex( const ::rtl::OUString& for( int i = 0 ; i < nLen ; ++i ) { const Reference<XIdlMethod> xMethod2 = pMethods[ i ]; - - ::rtl::OUString aTestClassName = xMethod2->getDeclaringClass()->getName(); - ::rtl::OUString aTestMethodName = xMethod2->getName(); - if( xMethod2->getName() == aPureMethodName ) { Reference< XIdlClass > xMethClass2 = xMethod2->getDeclaringClass(); diff --git a/stoc/source/javavm/jvmargs.cxx b/stoc/source/javavm/jvmargs.cxx index 31808a6fb3d5..7497fcbbc89e 100644 --- a/stoc/source/javavm/jvmargs.cxx +++ b/stoc/source/javavm/jvmargs.cxx @@ -21,8 +21,6 @@ #include "jvmargs.hxx" #include <rtl/ustring.hxx> - -using ::rtl::OUString; namespace stoc_javavm { JVM::JVM() throw()//: _enabled(sal_False) @@ -31,20 +29,9 @@ JVM::JVM() throw()//: _enabled(sal_False) void JVM::pushProp(const OUString & property) { - sal_Int32 index = property.indexOf((sal_Unicode)'='); - if(index > 0) - { - OUString left = property.copy(0, index).trim(); - OUString right(property.copy(index + 1).trim()); - _props.push_back(property); - } - else - { // no '=', could be -X - _props.push_back(property); - } + _props.push_back(property); } - const ::std::vector< ::rtl::OUString > & JVM::getProperties() const { return _props; diff --git a/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx b/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx index 20e08aea0ac2..50be0cb335df 100644 --- a/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx +++ b/stoc/source/registry_tdprovider/rdbtdp_tdenumeration.cxx @@ -128,9 +128,6 @@ TypeDescriptionEnumerationImpl::createInstance( aBytes.getConstArray(), aBytes.getLength(), false, TYPEREG_VERSION_1); - rtl::OUString aName( - aReader.getTypeName().replace( '/', '.' ) ); - if ( aReader.getTypeClass() == RT_TYPE_MODULE ) { // Do not close xKey! |