summaryrefslogtreecommitdiffstats
path: root/forms/source/xforms/namedcollection.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-30 14:35:23 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-06 06:14:15 +0000
commit89c77994d4638c86635c70535fab6508e2f3d900 (patch)
tree6a48a4f188e8f163c803d6af90cc4eb32ffdbf67 /forms/source/xforms/namedcollection.hxx
parentcppcheck: noExplicitConstructor (diff)
downloadcore-89c77994d4638c86635c70535fab6508e2f3d900.tar.gz
core-89c77994d4638c86635c70535fab6508e2f3d900.zip
remove some unnecessary typedefs around uno::Reference
Not very useful these days, since we have the css:: prefix to reduce verbosity. Found with a search like: git grep -nP 'typedef .*uno::Reference.*<.*>\s+\w+;' | grep -v 'std::' Change-Id: I16f41c53837ec5c613545ae45df38b0daddcbadd Reviewed-on: https://gerrit.libreoffice.org/16730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'forms/source/xforms/namedcollection.hxx')
-rw-r--r--forms/source/xforms/namedcollection.hxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/forms/source/xforms/namedcollection.hxx b/forms/source/xforms/namedcollection.hxx
index d85add0f5897..dd4498d1e7e9 100644
--- a/forms/source/xforms/namedcollection.hxx
+++ b/forms/source/xforms/namedcollection.hxx
@@ -91,41 +91,41 @@ protected:
public:
// XElementAccess
- virtual typename Collection<T>::Type_t SAL_CALL getElementType()
- throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
+ virtual css::uno::Type SAL_CALL getElementType()
+ throw( css::uno::RuntimeException ) SAL_OVERRIDE
{
return Collection<T>::getElementType();
}
virtual sal_Bool SAL_CALL hasElements()
- throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
+ throw( css::uno::RuntimeException ) SAL_OVERRIDE
{
return Collection<T>::hasElements();
}
// XNameAccess : XElementAccess
- virtual typename Collection<T>::Any_t SAL_CALL getByName(
+ virtual css::uno::Any SAL_CALL getByName(
const OUString& aName )
- throw( typename Collection<T>::NoSuchElementException_t,
- typename Collection<T>::WrappedTargetException_t,
- typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
+ throw( css::container::NoSuchElementException,
+ css::lang::WrappedTargetException,
+ css::uno::RuntimeException ) SAL_OVERRIDE
{
if( hasItem( aName ) )
return com::sun::star::uno::makeAny( getItem( aName ) );
else
- throw typename Collection<T>::NoSuchElementException_t();
+ throw css::container::NoSuchElementException();
}
virtual Names_t SAL_CALL getElementNames()
- throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
+ throw( css::uno::RuntimeException ) SAL_OVERRIDE
{
return getNames();
}
virtual sal_Bool SAL_CALL hasByName(
const OUString& aName )
- throw( typename Collection<T>::RuntimeException_t ) SAL_OVERRIDE
+ throw( css::uno::RuntimeException ) SAL_OVERRIDE
{
return hasItem( aName ) ? sal_True : sal_False;
}