summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-26 12:06:22 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-26 12:42:53 +0100
commit9cbc1eb35e2fff63f16a30e2fcc8909c2e566cc2 (patch)
tree7db05dde9140d45a578574c6c4ed54ec44b8ac79 /framework
parentc1f24be00088c223cd2d0fc579d5bc0a659aa2be (diff)
WaE: unused e
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/uicommanddescription.cxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/framework/source/uielement/uicommanddescription.cxx b/framework/source/uielement/uicommanddescription.cxx
index a338c267c807..6702612e8f99 100644
--- a/framework/source/uielement/uicommanddescription.cxx
+++ b/framework/source/uielement/uicommanddescription.cxx
@@ -394,10 +394,10 @@ void ConfigurationAccess_UICommand::impl_fill(const Reference< XNameAccess >& _x
aImageMirrorVector.push_back( aNameSeq[i] );
}
}
- catch ( com::sun::star::lang::WrappedTargetException& )
+ catch (const com::sun::star::lang::WrappedTargetException&)
{
}
- catch ( com::sun::star::container::NoSuchElementException& )
+ catch (const com::sun::star::container::NoSuchElementException&)
{
}
}
@@ -437,11 +437,11 @@ sal_Bool ConfigurationAccess_UICommand::addGenericInfoToCache()
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( UICOMMANDDESCRIPTION_NAMEACCESS_COMMANDROTATEIMAGELIST ))) >>= aCommandNameSeq )
m_aCommandRotateImageList = comphelper::concatSequences< rtl::OUString >( m_aCommandRotateImageList, aCommandNameSeq );
}
- catch ( RuntimeException& e )
+ catch (const RuntimeException&)
{
throw;
}
- catch ( Exception& )
+ catch (const Exception&)
{
}
@@ -451,11 +451,11 @@ sal_Bool ConfigurationAccess_UICommand::addGenericInfoToCache()
rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( UICOMMANDDESCRIPTION_NAMEACCESS_COMMANDMIRRORIMAGELIST ))) >>= aCommandNameSeq )
m_aCommandMirrorImageList = comphelper::concatSequences< rtl::OUString >( m_aCommandMirrorImageList, aCommandNameSeq );
}
- catch ( RuntimeException& e )
+ catch (const RuntimeException&)
{
throw;
}
- catch ( Exception& )
+ catch (const Exception&)
{
}
@@ -482,19 +482,19 @@ Any ConfigurationAccess_UICommand::getInfoFromCommand( const rtl::OUString& rCom
{
return m_xGenericUICommands->getByName( rCommandURL );
}
- catch ( com::sun::star::lang::WrappedTargetException& )
+ catch (const com::sun::star::lang::WrappedTargetException&)
{
}
- catch ( com::sun::star::container::NoSuchElementException& )
+ catch (const com::sun::star::container::NoSuchElementException&)
{
}
}
}
}
- catch( com::sun::star::container::NoSuchElementException& )
+ catch (const com::sun::star::container::NoSuchElementException&)
{
}
- catch ( com::sun::star::lang::WrappedTargetException& )
+ catch (const com::sun::star::lang::WrappedTargetException&)
{
}
@@ -537,10 +537,10 @@ Sequence< rtl::OUString > ConfigurationAccess_UICommand::getAllCommands()
return aNameSeq;
}
- catch( com::sun::star::container::NoSuchElementException& )
+ catch (const com::sun::star::container::NoSuchElementException&)
{
}
- catch ( com::sun::star::lang::WrappedTargetException& )
+ catch (const com::sun::star::lang::WrappedTargetException&)
{
}
}
@@ -587,10 +587,10 @@ sal_Bool ConfigurationAccess_UICommand::initializeConfigAccess()
return sal_True;
}
- catch ( WrappedTargetException& )
+ catch (const WrappedTargetException&)
{
}
- catch ( Exception& )
+ catch (const Exception&)
{
}