summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/datauno.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/unoobj/datauno.cxx')
-rw-r--r--sc/source/ui/unoobj/datauno.cxx102
1 files changed, 19 insertions, 83 deletions
diff --git a/sc/source/ui/unoobj/datauno.cxx b/sc/source/ui/unoobj/datauno.cxx
index a955e551cb1d..a2a282e56c59 100644
--- a/sc/source/ui/unoobj/datauno.cxx
+++ b/sc/source/ui/unoobj/datauno.cxx
@@ -458,7 +458,7 @@ ScSubTotalFieldObj::~ScSubTotalFieldObj()
// XSubTotalField
-sal_Int32 SAL_CALL ScSubTotalFieldObj::getGroupColumn() throw(uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL ScSubTotalFieldObj::getGroupColumn()
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -467,7 +467,7 @@ sal_Int32 SAL_CALL ScSubTotalFieldObj::getGroupColumn() throw(uno::RuntimeExcept
return aParam.nField[nPos];
}
-void SAL_CALL ScSubTotalFieldObj::setGroupColumn( sal_Int32 nGroupColumn ) throw(uno::RuntimeException, std::exception)
+void SAL_CALL ScSubTotalFieldObj::setGroupColumn( sal_Int32 nGroupColumn )
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -479,7 +479,6 @@ void SAL_CALL ScSubTotalFieldObj::setGroupColumn( sal_Int32 nGroupColumn ) throw
}
uno::Sequence<sheet::SubTotalColumn> SAL_CALL ScSubTotalFieldObj::getSubTotalColumns()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -499,7 +498,6 @@ uno::Sequence<sheet::SubTotalColumn> SAL_CALL ScSubTotalFieldObj::getSubTotalCol
void SAL_CALL ScSubTotalFieldObj::setSubTotalColumns(
const uno::Sequence<sheet::SubTotalColumn>& aSubTotalColumns )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -551,7 +549,7 @@ ScSubTotalFieldObj* ScSubTotalDescriptorBase::GetObjectByIndex_Impl(sal_uInt16 n
return nullptr;
}
-void SAL_CALL ScSubTotalDescriptorBase::clear() throw(uno::RuntimeException, std::exception)
+void SAL_CALL ScSubTotalDescriptorBase::clear()
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -567,7 +565,7 @@ void SAL_CALL ScSubTotalDescriptorBase::clear() throw(uno::RuntimeException, std
void SAL_CALL ScSubTotalDescriptorBase::addNew(
const uno::Sequence<sheet::SubTotalColumn>& aSubTotalColumns,
- sal_Int32 nGroupColumn ) throw(uno::RuntimeException, std::exception)
+ sal_Int32 nGroupColumn )
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -618,7 +616,6 @@ void SAL_CALL ScSubTotalDescriptorBase::addNew(
// XEnumerationAccess
uno::Reference<container::XEnumeration> SAL_CALL ScSubTotalDescriptorBase::createEnumeration()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
return new ScIndexEnumeration(this, OUString("com.sun.star.sheet.SubTotalFieldsEnumeration"));
@@ -626,7 +623,7 @@ uno::Reference<container::XEnumeration> SAL_CALL ScSubTotalDescriptorBase::creat
// XIndexAccess
-sal_Int32 SAL_CALL ScSubTotalDescriptorBase::getCount() throw(uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL ScSubTotalDescriptorBase::getCount()
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -639,8 +636,6 @@ sal_Int32 SAL_CALL ScSubTotalDescriptorBase::getCount() throw(uno::RuntimeExcept
}
uno::Any SAL_CALL ScSubTotalDescriptorBase::getByIndex( sal_Int32 nIndex )
- throw(lang::IndexOutOfBoundsException,
- lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference<sheet::XSubTotalField> xField(GetObjectByIndex_Impl((sal_uInt16)nIndex));
@@ -650,13 +645,13 @@ uno::Any SAL_CALL ScSubTotalDescriptorBase::getByIndex( sal_Int32 nIndex )
throw lang::IndexOutOfBoundsException();
}
-uno::Type SAL_CALL ScSubTotalDescriptorBase::getElementType() throw(uno::RuntimeException, std::exception)
+uno::Type SAL_CALL ScSubTotalDescriptorBase::getElementType()
{
SolarMutexGuard aGuard;
return cppu::UnoType<sheet::XSubTotalField>::get();
}
-sal_Bool SAL_CALL ScSubTotalDescriptorBase::hasElements() throw(uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ScSubTotalDescriptorBase::hasElements()
{
SolarMutexGuard aGuard;
return ( getCount() != 0 );
@@ -665,7 +660,6 @@ sal_Bool SAL_CALL ScSubTotalDescriptorBase::hasElements() throw(uno::RuntimeExce
// XPropertySet
uno::Reference<beans::XPropertySetInfo> SAL_CALL ScSubTotalDescriptorBase::getPropertySetInfo()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
static uno::Reference<beans::XPropertySetInfo> aRef(
@@ -675,9 +669,6 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScSubTotalDescriptorBase::getPr
void SAL_CALL ScSubTotalDescriptorBase::setPropertyValue(
const OUString& aPropertyName, const uno::Any& aValue )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -716,8 +707,6 @@ void SAL_CALL ScSubTotalDescriptorBase::setPropertyValue(
}
uno::Any SAL_CALL ScSubTotalDescriptorBase::getPropertyValue( const OUString& aPropertyName )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScSubTotalParam aParam;
@@ -752,7 +741,7 @@ SC_IMPL_DUMMY_PROPERTY_LISTENER( ScSubTotalDescriptorBase )
// XUnoTunnel
sal_Int64 SAL_CALL ScSubTotalDescriptorBase::getSomething(
- const uno::Sequence<sal_Int8 >& rId ) throw(uno::RuntimeException, std::exception)
+ const uno::Sequence<sal_Int8 >& rId )
{
if ( rId.getLength() == 16 &&
0 == memcmp( getUnoTunnelId().getConstArray(),
@@ -841,21 +830,19 @@ void ScConsolidationDescriptor::SetParam( const ScConsolidateParam& rNew )
// XConsolidationDescriptor
-sheet::GeneralFunction SAL_CALL ScConsolidationDescriptor::getFunction() throw(uno::RuntimeException, std::exception)
+sheet::GeneralFunction SAL_CALL ScConsolidationDescriptor::getFunction()
{
SolarMutexGuard aGuard;
return ScDataUnoConversion::SubTotalToGeneral(aParam.eFunction);
}
void SAL_CALL ScConsolidationDescriptor::setFunction( sheet::GeneralFunction nFunction )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
aParam.eFunction = ScDPUtil::toSubTotalFunc(nFunction);
}
uno::Sequence<table::CellRangeAddress> SAL_CALL ScConsolidationDescriptor::getSources()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
sal_uInt16 nCount = aParam.nDataAreaCount;
@@ -882,7 +869,6 @@ uno::Sequence<table::CellRangeAddress> SAL_CALL ScConsolidationDescriptor::getSo
void SAL_CALL ScConsolidationDescriptor::setSources(
const uno::Sequence<table::CellRangeAddress>& aSources )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
sal_uInt16 nCount = (sal_uInt16)aSources.getLength();
@@ -906,7 +892,6 @@ void SAL_CALL ScConsolidationDescriptor::setSources(
}
table::CellAddress SAL_CALL ScConsolidationDescriptor::getStartOutputPosition()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
table::CellAddress aPos;
@@ -918,7 +903,6 @@ table::CellAddress SAL_CALL ScConsolidationDescriptor::getStartOutputPosition()
void SAL_CALL ScConsolidationDescriptor::setStartOutputPosition(
const table::CellAddress& aStartOutputPosition )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
aParam.nCol = (SCCOL)aStartOutputPosition.Column;
@@ -926,40 +910,37 @@ void SAL_CALL ScConsolidationDescriptor::setStartOutputPosition(
aParam.nTab = aStartOutputPosition.Sheet;
}
-sal_Bool SAL_CALL ScConsolidationDescriptor::getUseColumnHeaders() throw(uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ScConsolidationDescriptor::getUseColumnHeaders()
{
SolarMutexGuard aGuard;
return aParam.bByCol;
}
void SAL_CALL ScConsolidationDescriptor::setUseColumnHeaders( sal_Bool bUseColumnHeaders )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
aParam.bByCol = bUseColumnHeaders;
}
-sal_Bool SAL_CALL ScConsolidationDescriptor::getUseRowHeaders() throw(uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ScConsolidationDescriptor::getUseRowHeaders()
{
SolarMutexGuard aGuard;
return aParam.bByRow;
}
void SAL_CALL ScConsolidationDescriptor::setUseRowHeaders( sal_Bool bUseRowHeaders )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
aParam.bByRow = bUseRowHeaders;
}
-sal_Bool SAL_CALL ScConsolidationDescriptor::getInsertLinks() throw(uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ScConsolidationDescriptor::getInsertLinks()
{
SolarMutexGuard aGuard;
return aParam.bReferenceData;
}
void SAL_CALL ScConsolidationDescriptor::setInsertLinks( sal_Bool bInsertLinks )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
aParam.bReferenceData = bInsertLinks;
@@ -992,7 +973,6 @@ void ScFilterDescriptorBase::Notify( SfxBroadcaster&, const SfxHint& rHint )
// XSheetFilterDescriptor and XSheetFilterDescriptor2
uno::Sequence<sheet::TableFilterField> SAL_CALL ScFilterDescriptorBase::getFilterFields()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1209,7 +1189,6 @@ void fillQueryParam(
}
uno::Sequence<sheet::TableFilterField2> SAL_CALL ScFilterDescriptorBase::getFilterFields2()
-throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1260,7 +1239,6 @@ throw(uno::RuntimeException, std::exception)
}
uno::Sequence<sheet::TableFilterField3> SAL_CALL ScFilterDescriptorBase::getFilterFields3()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1321,7 +1299,6 @@ uno::Sequence<sheet::TableFilterField3> SAL_CALL ScFilterDescriptorBase::getFilt
void SAL_CALL ScFilterDescriptorBase::setFilterFields(
const uno::Sequence<sheet::TableFilterField>& aFilterFields )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1387,7 +1364,6 @@ void SAL_CALL ScFilterDescriptorBase::setFilterFields(
void SAL_CALL ScFilterDescriptorBase::setFilterFields2(
const uno::Sequence<sheet::TableFilterField2>& aFilterFields )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1398,7 +1374,6 @@ void SAL_CALL ScFilterDescriptorBase::setFilterFields2(
void SAL_CALL ScFilterDescriptorBase::setFilterFields3(
const uno::Sequence<sheet::TableFilterField3>& aFilterFields )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1412,7 +1387,6 @@ void SAL_CALL ScFilterDescriptorBase::setFilterFields3(
// XPropertySet
uno::Reference<beans::XPropertySetInfo> SAL_CALL ScFilterDescriptorBase::getPropertySetInfo()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
static uno::Reference<beans::XPropertySetInfo> aRef(
@@ -1422,9 +1396,6 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScFilterDescriptorBase::getProp
void SAL_CALL ScFilterDescriptorBase::setPropertyValue(
const OUString& aPropertyName, const uno::Any& aValue )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1469,8 +1440,6 @@ void SAL_CALL ScFilterDescriptorBase::setPropertyValue(
}
uno::Any SAL_CALL ScFilterDescriptorBase::getPropertyValue( const OUString& aPropertyName )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScQueryParam aParam;
@@ -1667,14 +1636,13 @@ ScDBData* ScDatabaseRangeObj::GetDBData_Impl() const
// XNamed
-OUString SAL_CALL ScDatabaseRangeObj::getName() throw(uno::RuntimeException, std::exception)
+OUString SAL_CALL ScDatabaseRangeObj::getName()
{
SolarMutexGuard aGuard;
return aName;
}
void SAL_CALL ScDatabaseRangeObj::setName( const OUString& aNewName )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if (pDocShell)
@@ -1688,7 +1656,7 @@ void SAL_CALL ScDatabaseRangeObj::setName( const OUString& aNewName )
// XDatabaseRange
-table::CellRangeAddress SAL_CALL ScDatabaseRangeObj::getDataArea() throw(uno::RuntimeException, std::exception)
+table::CellRangeAddress SAL_CALL ScDatabaseRangeObj::getDataArea()
{
SolarMutexGuard aGuard;
table::CellRangeAddress aAddress;
@@ -1707,7 +1675,6 @@ table::CellRangeAddress SAL_CALL ScDatabaseRangeObj::getDataArea() throw(uno::Ru
}
void SAL_CALL ScDatabaseRangeObj::setDataArea( const table::CellRangeAddress& aDataArea )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScDBData* pData = GetDBData_Impl();
@@ -1723,7 +1690,6 @@ void SAL_CALL ScDatabaseRangeObj::setDataArea( const table::CellRangeAddress& aD
}
uno::Sequence<beans::PropertyValue> SAL_CALL ScDatabaseRangeObj::getSortDescriptor()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScSortParam aParam;
@@ -1795,7 +1761,6 @@ void ScDatabaseRangeObj::SetQueryParam(const ScQueryParam& rQueryParam)
}
uno::Reference<sheet::XSheetFilterDescriptor> SAL_CALL ScDatabaseRangeObj::getFilterDescriptor()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
return new ScRangeFilterDescriptor(pDocShell, this);
@@ -1855,14 +1820,12 @@ void ScDatabaseRangeObj::SetSubTotalParam(const ScSubTotalParam& rSubTotalParam)
}
uno::Reference<sheet::XSubTotalDescriptor> SAL_CALL ScDatabaseRangeObj::getSubTotalDescriptor()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
return new ScRangeSubTotalDescriptor(this);
}
uno::Sequence<beans::PropertyValue> SAL_CALL ScDatabaseRangeObj::getImportDescriptor()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScImportParam aParam;
@@ -1877,7 +1840,7 @@ uno::Sequence<beans::PropertyValue> SAL_CALL ScDatabaseRangeObj::getImportDescri
// XRefreshable
-void SAL_CALL ScDatabaseRangeObj::refresh() throw(uno::RuntimeException, std::exception)
+void SAL_CALL ScDatabaseRangeObj::refresh()
{
SolarMutexGuard aGuard;
ScDBData* pData = GetDBData_Impl();
@@ -1906,7 +1869,6 @@ void SAL_CALL ScDatabaseRangeObj::refresh() throw(uno::RuntimeException, std::ex
void SAL_CALL ScDatabaseRangeObj::addRefreshListener(
const uno::Reference<util::XRefreshListener >& xListener )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
aRefreshListeners.push_back( uno::Reference<util::XRefreshListener>( xListener ));
@@ -1918,7 +1880,6 @@ void SAL_CALL ScDatabaseRangeObj::addRefreshListener(
void SAL_CALL ScDatabaseRangeObj::removeRefreshListener(
const uno::Reference<util::XRefreshListener >& xListener )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
sal_uInt16 nCount = aRefreshListeners.size();
@@ -1946,7 +1907,6 @@ void ScDatabaseRangeObj::Refreshed_Impl()
// XCellRangeSource
uno::Reference<table::XCellRange> SAL_CALL ScDatabaseRangeObj::getReferredCells()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScRange aRange;
@@ -1967,7 +1927,6 @@ uno::Reference<table::XCellRange> SAL_CALL ScDatabaseRangeObj::getReferredCells(
// XPropertySet
uno::Reference<beans::XPropertySetInfo> SAL_CALL ScDatabaseRangeObj::getPropertySetInfo()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
static uno::Reference<beans::XPropertySetInfo> aRef(
@@ -1977,9 +1936,6 @@ uno::Reference<beans::XPropertySetInfo> SAL_CALL ScDatabaseRangeObj::getProperty
void SAL_CALL ScDatabaseRangeObj::setPropertyValue(
const OUString& aPropertyName, const uno::Any& aValue )
- throw(beans::UnknownPropertyException, beans::PropertyVetoException,
- lang::IllegalArgumentException, lang::WrappedTargetException,
- uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
ScDBData* pData = GetDBData_Impl();
@@ -2073,8 +2029,6 @@ void SAL_CALL ScDatabaseRangeObj::setPropertyValue(
}
uno::Any SAL_CALL ScDatabaseRangeObj::getPropertyValue( const OUString& aPropertyName )
- throw(beans::UnknownPropertyException, lang::WrappedTargetException,
- uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Any aRet;
@@ -2157,19 +2111,17 @@ uno::Any SAL_CALL ScDatabaseRangeObj::getPropertyValue( const OUString& aPropert
SC_IMPL_DUMMY_PROPERTY_LISTENER( ScDatabaseRangeObj )
// XServiceInfo
-OUString SAL_CALL ScDatabaseRangeObj::getImplementationName() throw(uno::RuntimeException, std::exception)
+OUString SAL_CALL ScDatabaseRangeObj::getImplementationName()
{
return OUString( "ScDatabaseRangeObj" );
}
sal_Bool SAL_CALL ScDatabaseRangeObj::supportsService( const OUString& rServiceName )
- throw(uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, rServiceName);
}
uno::Sequence<OUString> SAL_CALL ScDatabaseRangeObj::getSupportedServiceNames()
- throw(uno::RuntimeException, std::exception)
{
return {"com.sun.star.sheet.DatabaseRange",
SCLINKTARGET_SERVICE};
@@ -2230,7 +2182,6 @@ ScDatabaseRangeObj* ScDatabaseRangesObj::GetObjectByName_Impl(const OUString& aN
void SAL_CALL ScDatabaseRangesObj::addNewByName( const OUString& aName,
const table::CellRangeAddress& aRange )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bDone = false;
@@ -2247,7 +2198,6 @@ void SAL_CALL ScDatabaseRangesObj::addNewByName( const OUString& aName,
}
void SAL_CALL ScDatabaseRangesObj::removeByName( const OUString& aName )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bDone = false;
@@ -2263,7 +2213,6 @@ void SAL_CALL ScDatabaseRangesObj::removeByName( const OUString& aName )
// XEnumerationAccess
uno::Reference<container::XEnumeration> SAL_CALL ScDatabaseRangesObj::createEnumeration()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
return new ScIndexEnumeration(this, OUString("com.sun.star.sheet.DatabaseRangesEnumeration"));
@@ -2271,7 +2220,7 @@ uno::Reference<container::XEnumeration> SAL_CALL ScDatabaseRangesObj::createEnum
// XIndexAccess
-sal_Int32 SAL_CALL ScDatabaseRangesObj::getCount() throw(uno::RuntimeException, std::exception)
+sal_Int32 SAL_CALL ScDatabaseRangesObj::getCount()
{
SolarMutexGuard aGuard;
@@ -2287,8 +2236,6 @@ sal_Int32 SAL_CALL ScDatabaseRangesObj::getCount() throw(uno::RuntimeException,
}
uno::Any SAL_CALL ScDatabaseRangesObj::getByIndex( sal_Int32 nIndex )
- throw(lang::IndexOutOfBoundsException,
- lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if (nIndex < 0)
@@ -2301,13 +2248,13 @@ uno::Any SAL_CALL ScDatabaseRangesObj::getByIndex( sal_Int32 nIndex )
throw lang::IndexOutOfBoundsException();
}
-uno::Type SAL_CALL ScDatabaseRangesObj::getElementType() throw(uno::RuntimeException, std::exception)
+uno::Type SAL_CALL ScDatabaseRangesObj::getElementType()
{
SolarMutexGuard aGuard;
return cppu::UnoType<sheet::XDatabaseRange>::get();
}
-sal_Bool SAL_CALL ScDatabaseRangesObj::hasElements() throw(uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL ScDatabaseRangesObj::hasElements()
{
SolarMutexGuard aGuard;
return ( getCount() != 0 );
@@ -2316,8 +2263,6 @@ sal_Bool SAL_CALL ScDatabaseRangesObj::hasElements() throw(uno::RuntimeException
// XNameAccess
uno::Any SAL_CALL ScDatabaseRangesObj::getByName( const OUString& aName )
- throw(container::NoSuchElementException,
- lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference<sheet::XDatabaseRange> xRange(GetObjectByName_Impl(aName));
@@ -2329,7 +2274,6 @@ uno::Any SAL_CALL ScDatabaseRangesObj::getByName( const OUString& aName )
}
uno::Sequence<OUString> SAL_CALL ScDatabaseRangesObj::getElementNames()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -2353,7 +2297,6 @@ uno::Sequence<OUString> SAL_CALL ScDatabaseRangesObj::getElementNames()
}
sal_Bool SAL_CALL ScDatabaseRangesObj::hasByName( const OUString& aName )
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -2395,8 +2338,6 @@ void ScUnnamedDatabaseRangesObj::Notify( SfxBroadcaster&, const SfxHint& rHint )
// XUnnamedDatabaseRanges
void ScUnnamedDatabaseRangesObj::setByTable( const table::CellRangeAddress& aRange )
- throw( uno::RuntimeException,
- lang::IndexOutOfBoundsException, std::exception )
{
SolarMutexGuard aGuard;
bool bDone = false;
@@ -2416,9 +2357,6 @@ void ScUnnamedDatabaseRangesObj::setByTable( const table::CellRangeAddress& aRan
}
uno::Any ScUnnamedDatabaseRangesObj::getByTable( sal_Int32 nTab )
- throw(uno::RuntimeException,
- lang::IndexOutOfBoundsException,
- container::NoSuchElementException, std::exception)
{
SolarMutexGuard aGuard;
if (pDocShell)
@@ -2437,8 +2375,6 @@ uno::Any ScUnnamedDatabaseRangesObj::getByTable( sal_Int32 nTab )
}
sal_Bool ScUnnamedDatabaseRangesObj::hasByTable( sal_Int32 nTab )
- throw (uno::RuntimeException,
- lang::IndexOutOfBoundsException, std::exception)
{
SolarMutexGuard aGuard;
if (pDocShell)