summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uno/unotxvw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxvw.cxx')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx109
1 files changed, 24 insertions, 85 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index 63cdd44f8306..acbd3f62eb26 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -131,7 +131,7 @@ void SwXTextView::Invalidate()
m_pView = nullptr;
}
-Sequence< uno::Type > SAL_CALL SwXTextView::getTypes( ) throw(uno::RuntimeException, std::exception)
+Sequence< uno::Type > SAL_CALL SwXTextView::getTypes( )
{
uno::Sequence< uno::Type > aBaseTypes = SfxBaseController::getTypes();
@@ -151,7 +151,7 @@ Sequence< uno::Type > SAL_CALL SwXTextView::getTypes( ) throw(uno::RuntimeExcep
return aBaseTypes;
}
-Sequence< sal_Int8 > SAL_CALL SwXTextView::getImplementationId( ) throw(uno::RuntimeException, std::exception)
+Sequence< sal_Int8 > SAL_CALL SwXTextView::getImplementationId( )
{
return css::uno::Sequence<sal_Int8>();
}
@@ -167,7 +167,6 @@ void SAL_CALL SwXTextView::release( )throw()
}
uno::Any SAL_CALL SwXTextView::queryInterface( const uno::Type& aType )
- throw (RuntimeException, std::exception)
{
uno::Any aRet;
if(aType == cppu::UnoType<view::XSelectionSupplier>::get())
@@ -221,8 +220,6 @@ uno::Any SAL_CALL SwXTextView::queryInterface( const uno::Type& aType )
}
sal_Bool SwXTextView::select(const uno::Any& aInterface)
- throw (lang::IllegalArgumentException, uno::RuntimeException,
- std::exception)
{
SolarMutexGuard aGuard;
@@ -320,7 +317,6 @@ sal_Bool SwXTextView::select(const uno::Any& aInterface)
}
uno::Any SwXTextView::getSelection()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference< uno::XInterface > aRef;
@@ -417,7 +413,6 @@ uno::Any SwXTextView::getSelection()
void SwXTextView::addSelectionChangeListener(
const uno::Reference< view::XSelectionChangeListener > & rxListener)
- throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
m_SelChangedListeners.addInterface(rxListener);
@@ -425,7 +420,6 @@ void SwXTextView::addSelectionChangeListener(
void SwXTextView::removeSelectionChangeListener(
const uno::Reference< view::XSelectionChangeListener > & rxListener)
- throw( uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
m_SelChangedListeners.removeInterface(rxListener);
@@ -449,7 +443,6 @@ SdrObject* SwXTextView::GetControl(
}
uno::Reference< awt::XControl > SwXTextView::getControl(const uno::Reference< awt::XControlModel > & xModel)
- throw( container::NoSuchElementException, uno::RuntimeException, std::exception )
{
SolarMutexGuard aGuard;
uno::Reference< awt::XControl > xRet;
@@ -457,7 +450,7 @@ uno::Reference< awt::XControl > SwXTextView::getControl(const uno::Reference< a
return xRet;
}
-uno::Reference< form::runtime::XFormController > SAL_CALL SwXTextView::getFormController( const uno::Reference< form::XForm >& Form ) throw (RuntimeException, std::exception)
+uno::Reference< form::runtime::XFormController > SAL_CALL SwXTextView::getFormController( const uno::Reference< form::XForm >& Form )
{
SolarMutexGuard aGuard;
@@ -473,7 +466,7 @@ uno::Reference< form::runtime::XFormController > SAL_CALL SwXTextView::getFormCo
return xController;
}
-sal_Bool SAL_CALL SwXTextView::isFormDesignMode( ) throw (uno::RuntimeException, std::exception)
+sal_Bool SAL_CALL SwXTextView::isFormDesignMode( )
{
SolarMutexGuard aGuard;
SwView* pView2 = GetView();
@@ -481,7 +474,7 @@ sal_Bool SAL_CALL SwXTextView::isFormDesignMode( ) throw (uno::RuntimeException
return !pFormShell || pFormShell->IsDesignMode();
}
-void SAL_CALL SwXTextView::setFormDesignMode( sal_Bool DesignMode ) throw (RuntimeException, std::exception)
+void SAL_CALL SwXTextView::setFormDesignMode( sal_Bool DesignMode )
{
SolarMutexGuard aGuard;
SwView* pView2 = GetView();
@@ -490,7 +483,7 @@ void SAL_CALL SwXTextView::setFormDesignMode( sal_Bool DesignMode ) throw (Runti
pFormShell->SetDesignMode( DesignMode );
}
-uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor() throw( uno::RuntimeException, std::exception )
+uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor()
{
SolarMutexGuard aGuard;
if(GetView())
@@ -505,7 +498,7 @@ uno::Reference< text::XTextViewCursor > SwXTextView::getViewCursor() throw( uno
throw uno::RuntimeException();
}
-uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings() throw( uno::RuntimeException, std::exception )
+uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings()
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -521,7 +514,6 @@ uno::Reference< beans::XPropertySet > SwXTextView::getViewSettings() throw( uno
}
Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAutomatic*/ )
- throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -567,7 +559,6 @@ Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAuto
void SAL_CALL SwXTextView::setRubyList(
const Sequence< Sequence< PropertyValue > >& rRubyList, sal_Bool /*bAutomatic*/ )
- throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -706,7 +697,6 @@ void SwXTextView::NotifyDBChanged()
}
uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXTextView::getPropertySetInfo( )
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
static uno::Reference< XPropertySetInfo > aRef = m_pPropSet->getPropertySetInfo();
@@ -715,7 +705,6 @@ uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXTextView::getPropertySetIn
void SAL_CALL SwXTextView::setPropertyValue(
const OUString& rPropertyName, const uno::Any& rValue )
- throw (beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
const SfxItemPropertySimpleEntry* pEntry = m_pPropSet->getPropertyMap().getByName( rPropertyName );
@@ -750,10 +739,6 @@ void SAL_CALL SwXTextView::setPropertyValue(
uno::Any SAL_CALL SwXTextView::getPropertyValue(
const OUString& rPropertyName )
- throw (beans::UnknownPropertyException,
- lang::WrappedTargetException,
- uno::RuntimeException,
- std::exception)
{
SolarMutexGuard aGuard;
@@ -804,7 +789,6 @@ uno::Any SAL_CALL SwXTextView::getPropertyValue(
void SAL_CALL SwXTextView::addPropertyChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*rxListener*/ )
- throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
OSL_FAIL("not implemented");
}
@@ -812,7 +796,6 @@ void SAL_CALL SwXTextView::addPropertyChangeListener(
void SAL_CALL SwXTextView::removePropertyChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XPropertyChangeListener >& /*rxListener*/ )
- throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
OSL_FAIL("not implemented");
}
@@ -820,7 +803,6 @@ void SAL_CALL SwXTextView::removePropertyChangeListener(
void SAL_CALL SwXTextView::addVetoableChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*rxListener*/ )
- throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
OSL_FAIL("not implemented");
}
@@ -828,22 +810,21 @@ void SAL_CALL SwXTextView::addVetoableChangeListener(
void SAL_CALL SwXTextView::removeVetoableChangeListener(
const OUString& /*rPropertyName*/,
const uno::Reference< beans::XVetoableChangeListener >& /*rxListener*/ )
- throw (beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException, std::exception)
{
OSL_FAIL("not implemented");
}
-OUString SwXTextView::getImplementationName() throw( RuntimeException, std::exception )
+OUString SwXTextView::getImplementationName()
{
return OUString("SwXTextView");
}
-sal_Bool SwXTextView::supportsService(const OUString& rServiceName) throw( RuntimeException, std::exception )
+sal_Bool SwXTextView::supportsService(const OUString& rServiceName)
{
return cppu::supportsService(this, rServiceName);
}
-Sequence< OUString > SwXTextView::getSupportedServiceNames() throw( RuntimeException, std::exception )
+Sequence< OUString > SwXTextView::getSupportedServiceNames()
{
Sequence< OUString > aRet(2);
OUString* pArray = aRet.getArray();
@@ -887,18 +868,18 @@ bool SwXTextViewCursor::IsTextSelection( bool bAllowTables ) const
return bRes;
}
-sal_Bool SwXTextViewCursor::isVisible() throw( uno::RuntimeException, std::exception )
+sal_Bool SwXTextViewCursor::isVisible()
{
OSL_FAIL("not implemented");
return true;
}
-void SwXTextViewCursor::setVisible(sal_Bool /*bVisible*/) throw( uno::RuntimeException, std::exception )
+void SwXTextViewCursor::setVisible(sal_Bool /*bVisible*/)
{
OSL_FAIL("not implemented");
}
-awt::Point SwXTextViewCursor::getPosition() throw( uno::RuntimeException, std::exception )
+awt::Point SwXTextViewCursor::getPosition()
{
SolarMutexGuard aGuard;
awt::Point aRet;
@@ -923,7 +904,6 @@ awt::Point SwXTextViewCursor::getPosition() throw( uno::RuntimeException, std::e
}
void SwXTextViewCursor::collapseToStart()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -947,7 +927,6 @@ void SwXTextViewCursor::collapseToStart()
}
void SwXTextViewCursor::collapseToEnd()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -971,7 +950,6 @@ void SwXTextViewCursor::collapseToEnd()
}
sal_Bool SwXTextViewCursor::isCollapsed()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -990,7 +968,6 @@ sal_Bool SwXTextViewCursor::isCollapsed()
}
sal_Bool SwXTextViewCursor::goLeft(sal_Int16 nCount, sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1007,7 +984,6 @@ sal_Bool SwXTextViewCursor::goLeft(sal_Int16 nCount, sal_Bool bExpand)
}
sal_Bool SwXTextViewCursor::goRight(sal_Int16 nCount, sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1027,7 +1003,6 @@ sal_Bool SwXTextViewCursor::goRight(sal_Int16 nCount, sal_Bool bExpand)
void SwXTextViewCursor::gotoRange(
const uno::Reference< text::XTextRange > & xRange,
sal_Bool bExpand)
- throw (RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView && xRange.is())
@@ -1167,7 +1142,6 @@ void SwXTextViewCursor::gotoRange(
}
void SwXTextViewCursor::gotoStart(sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -1182,7 +1156,6 @@ void SwXTextViewCursor::gotoStart(sal_Bool bExpand)
}
void SwXTextViewCursor::gotoEnd(sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -1197,7 +1170,6 @@ void SwXTextViewCursor::gotoEnd(sal_Bool bExpand)
}
sal_Bool SwXTextViewCursor::jumpToFirstPage()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1218,7 +1190,6 @@ sal_Bool SwXTextViewCursor::jumpToFirstPage()
}
sal_Bool SwXTextViewCursor::jumpToLastPage()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1239,7 +1210,7 @@ sal_Bool SwXTextViewCursor::jumpToLastPage()
return bRet;
}
-sal_Bool SwXTextViewCursor::jumpToPage(sal_Int16 nPage) throw( uno::RuntimeException, std::exception )
+sal_Bool SwXTextViewCursor::jumpToPage(sal_Int16 nPage)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1250,7 +1221,7 @@ sal_Bool SwXTextViewCursor::jumpToPage(sal_Int16 nPage) throw( uno::RuntimeExcep
return bRet;
}
-sal_Bool SwXTextViewCursor::jumpToNextPage() throw( uno::RuntimeException, std::exception )
+sal_Bool SwXTextViewCursor::jumpToNextPage()
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1261,7 +1232,7 @@ sal_Bool SwXTextViewCursor::jumpToNextPage() throw( uno::RuntimeException, std::
return bRet;
}
-sal_Bool SwXTextViewCursor::jumpToPreviousPage() throw( uno::RuntimeException, std::exception )
+sal_Bool SwXTextViewCursor::jumpToPreviousPage()
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1272,7 +1243,7 @@ sal_Bool SwXTextViewCursor::jumpToPreviousPage() throw( uno::RuntimeException, s
return bRet;
}
-sal_Bool SwXTextViewCursor::jumpToEndOfPage() throw( uno::RuntimeException, std::exception )
+sal_Bool SwXTextViewCursor::jumpToEndOfPage()
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1283,7 +1254,7 @@ sal_Bool SwXTextViewCursor::jumpToEndOfPage() throw( uno::RuntimeException, std:
return bRet;
}
-sal_Bool SwXTextViewCursor::jumpToStartOfPage() throw( uno::RuntimeException, std::exception )
+sal_Bool SwXTextViewCursor::jumpToStartOfPage()
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1295,7 +1266,6 @@ sal_Bool SwXTextViewCursor::jumpToStartOfPage() throw( uno::RuntimeException, st
}
sal_Int16 SwXTextViewCursor::getPage()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
sal_Int16 nRet = 0;
@@ -1311,7 +1281,6 @@ sal_Int16 SwXTextViewCursor::getPage()
}
sal_Bool SwXTextViewCursor::screenDown()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1328,7 +1297,6 @@ sal_Bool SwXTextViewCursor::screenDown()
}
sal_Bool SwXTextViewCursor::screenUp()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1345,7 +1313,6 @@ sal_Bool SwXTextViewCursor::screenUp()
}
uno::Reference< text::XText > SwXTextViewCursor::getText()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference< text::XText > xRet;
@@ -1365,7 +1332,6 @@ uno::Reference< text::XText > SwXTextViewCursor::getText()
}
uno::Reference< text::XTextRange > SwXTextViewCursor::getStart()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference< text::XTextRange > xRet;
@@ -1385,7 +1351,6 @@ uno::Reference< text::XTextRange > SwXTextViewCursor::getStart()
}
uno::Reference< text::XTextRange > SwXTextViewCursor::getEnd()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
uno::Reference< text::XTextRange > xRet;
@@ -1405,7 +1370,6 @@ uno::Reference< text::XTextRange > SwXTextViewCursor::getEnd()
}
OUString SwXTextViewCursor::getString()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
OUString uRet;
@@ -1438,7 +1402,6 @@ OUString SwXTextViewCursor::getString()
}
void SwXTextViewCursor::setString(const OUString& aString)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -1468,16 +1431,13 @@ void SwXTextViewCursor::setString(const OUString& aString)
}
}
-uno::Reference< XPropertySetInfo > SwXTextViewCursor::getPropertySetInfo( ) throw(RuntimeException, std::exception)
+uno::Reference< XPropertySetInfo > SwXTextViewCursor::getPropertySetInfo( )
{
static uno::Reference< XPropertySetInfo > xRef = m_pPropSet->getPropertySetInfo();
return xRef;
}
void SwXTextViewCursor::setPropertyValue( const OUString& rPropertyName, const Any& aValue )
- throw (UnknownPropertyException, PropertyVetoException,
- IllegalArgumentException, WrappedTargetException,
- RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -1498,8 +1458,6 @@ void SwXTextViewCursor::setPropertyValue( const OUString& rPropertyName, const
}
Any SwXTextViewCursor::getPropertyValue( const OUString& rPropertyName )
- throw (UnknownPropertyException, WrappedTargetException,
- RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
Any aRet;
@@ -1517,30 +1475,25 @@ Any SwXTextViewCursor::getPropertyValue( const OUString& rPropertyName )
void SwXTextViewCursor::addPropertyChangeListener(
const OUString& /*aPropertyName*/, const uno::Reference< XPropertyChangeListener >& /*xListener*/ )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
void SwXTextViewCursor::removePropertyChangeListener(
const OUString& /*aPropertyName*/, const uno::Reference< XPropertyChangeListener >& /*aListener*/ )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
void SwXTextViewCursor::addVetoableChangeListener(
const OUString& /*PropertyName*/, const uno::Reference< XVetoableChangeListener >& /*aListener*/ )
- throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
{
}
void SwXTextViewCursor::removeVetoableChangeListener(
- const OUString& /*PropertyName*/, const uno::Reference< XVetoableChangeListener >& /*aListener*/ ) throw(UnknownPropertyException, WrappedTargetException, RuntimeException, std::exception)
+ const OUString& /*PropertyName*/, const uno::Reference< XVetoableChangeListener >& /*aListener*/ )
{
}
PropertyState SwXTextViewCursor::getPropertyState( const OUString& rPropertyName )
- throw (UnknownPropertyException, RuntimeException,
- std::exception)
{
SolarMutexGuard aGuard;
PropertyState eState;
@@ -1558,8 +1511,6 @@ PropertyState SwXTextViewCursor::getPropertyState( const OUString& rPropertyNam
Sequence< PropertyState > SwXTextViewCursor::getPropertyStates(
const Sequence< OUString >& rPropertyNames )
- throw (UnknownPropertyException, RuntimeException,
- std::exception)
{
SolarMutexGuard aGuard;
Sequence< PropertyState > aRet;
@@ -1574,8 +1525,6 @@ Sequence< PropertyState > SwXTextViewCursor::getPropertyStates(
}
void SwXTextViewCursor::setPropertyToDefault( const OUString& rPropertyName )
- throw (UnknownPropertyException, RuntimeException,
- std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -1588,8 +1537,6 @@ void SwXTextViewCursor::setPropertyToDefault( const OUString& rPropertyName )
}
Any SwXTextViewCursor::getPropertyDefault( const OUString& rPropertyName )
- throw (UnknownPropertyException, WrappedTargetException,
- RuntimeException, std::exception)
{
Any aRet;
SolarMutexGuard aGuard;
@@ -1604,7 +1551,6 @@ Any SwXTextViewCursor::getPropertyDefault( const OUString& rPropertyName )
}
sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1621,7 +1567,6 @@ sal_Bool SwXTextViewCursor::goDown(sal_Int16 nCount, sal_Bool bExpand)
}
sal_Bool SwXTextViewCursor::goUp(sal_Int16 nCount, sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1638,7 +1583,6 @@ sal_Bool SwXTextViewCursor::goUp(sal_Int16 nCount, sal_Bool bExpand)
}
sal_Bool SwXTextViewCursor::isAtStartOfLine()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1655,7 +1599,6 @@ sal_Bool SwXTextViewCursor::isAtStartOfLine()
}
sal_Bool SwXTextViewCursor::isAtEndOfLine()
- throw(uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
bool bRet = false;
@@ -1672,7 +1615,6 @@ sal_Bool SwXTextViewCursor::isAtEndOfLine()
}
void SwXTextViewCursor::gotoEndOfLine(sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -1687,7 +1629,6 @@ void SwXTextViewCursor::gotoEndOfLine(sal_Bool bExpand)
}
void SwXTextViewCursor::gotoStartOfLine(sal_Bool bExpand)
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
if(m_pView)
@@ -1701,17 +1642,17 @@ void SwXTextViewCursor::gotoStartOfLine(sal_Bool bExpand)
throw uno::RuntimeException();
}
-OUString SwXTextViewCursor::getImplementationName() throw( RuntimeException, std::exception )
+OUString SwXTextViewCursor::getImplementationName()
{
return OUString("SwXTextViewCursor");
}
-sal_Bool SwXTextViewCursor::supportsService(const OUString& rServiceName) throw( RuntimeException, std::exception )
+sal_Bool SwXTextViewCursor::supportsService(const OUString& rServiceName)
{
return cppu::supportsService(this, rServiceName);
}
-Sequence< OUString > SwXTextViewCursor::getSupportedServiceNames() throw( RuntimeException, std::exception )
+Sequence< OUString > SwXTextViewCursor::getSupportedServiceNames()
{
Sequence< OUString > aRet(7);
OUString* pArray = aRet.getArray();
@@ -1738,7 +1679,6 @@ const uno::Sequence< sal_Int8 > & SwXTextViewCursor::getUnoTunnelId()
//XUnoTunnel
sal_Int64 SAL_CALL SwXTextViewCursor::getSomething(
const uno::Sequence< sal_Int8 >& rId )
- throw(uno::RuntimeException, std::exception)
{
if( rId.getLength() == 16
&& 0 == memcmp( getUnoTunnelId().getConstArray(),
@@ -1775,7 +1715,6 @@ SwPaM* SwXTextViewCursor::GetPaM()
}
uno::Reference< datatransfer::XTransferable > SAL_CALL SwXTextView::getTransferable()
- throw (uno::RuntimeException, std::exception)
{
SolarMutexGuard aGuard;
@@ -1799,7 +1738,7 @@ uno::Reference< datatransfer::XTransferable > SAL_CALL SwXTextView::getTransfera
}
}
-void SAL_CALL SwXTextView::insertTransferable( const uno::Reference< datatransfer::XTransferable >& xTrans ) throw (datatransfer::UnsupportedFlavorException, uno::RuntimeException, std::exception)
+void SAL_CALL SwXTextView::insertTransferable( const uno::Reference< datatransfer::XTransferable >& xTrans )
{
SolarMutexGuard aGuard;