summaryrefslogtreecommitdiff
path: root/vcl/source/app/unohelp2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/app/unohelp2.cxx')
-rw-r--r--vcl/source/app/unohelp2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/app/unohelp2.cxx b/vcl/source/app/unohelp2.cxx
index 3d98b1219a58..d721fd4f42e4 100644
--- a/vcl/source/app/unohelp2.cxx
+++ b/vcl/source/app/unohelp2.cxx
@@ -62,14 +62,14 @@ namespace vcl { namespace unohelper {
}
// css::uno::XInterface
- uno::Any TextDataObject::queryInterface( const uno::Type & rType ) throw(uno::RuntimeException, std::exception)
+ uno::Any TextDataObject::queryInterface( const uno::Type & rType )
{
uno::Any aRet = ::cppu::queryInterface( rType, (static_cast< datatransfer::XTransferable* >(this)) );
return (aRet.hasValue() ? aRet : OWeakObject::queryInterface( rType ));
}
// css::datatransfer::XTransferable
- uno::Any TextDataObject::getTransferData( const datatransfer::DataFlavor& rFlavor ) throw(datatransfer::UnsupportedFlavorException, io::IOException, uno::RuntimeException, std::exception)
+ uno::Any TextDataObject::getTransferData( const datatransfer::DataFlavor& rFlavor )
{
uno::Any aAny;
@@ -85,14 +85,14 @@ namespace vcl { namespace unohelper {
return aAny;
}
- uno::Sequence< datatransfer::DataFlavor > TextDataObject::getTransferDataFlavors( ) throw(uno::RuntimeException, std::exception)
+ uno::Sequence< datatransfer::DataFlavor > TextDataObject::getTransferDataFlavors( )
{
uno::Sequence< datatransfer::DataFlavor > aDataFlavors(1);
SotExchange::GetFormatDataFlavor( SotClipboardFormatId::STRING, aDataFlavors.getArray()[0] );
return aDataFlavors;
}
- sal_Bool TextDataObject::isDataFlavorSupported( const datatransfer::DataFlavor& rFlavor ) throw(uno::RuntimeException, std::exception)
+ sal_Bool TextDataObject::isDataFlavorSupported( const datatransfer::DataFlavor& rFlavor )
{
SotClipboardFormatId nT = SotExchange::GetFormat( rFlavor );
return ( nT == SotClipboardFormatId::STRING );