summaryrefslogtreecommitdiff
path: root/forms/source/xforms/model_ui.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/xforms/model_ui.cxx')
-rw-r--r--forms/source/xforms/model_ui.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/forms/source/xforms/model_ui.cxx b/forms/source/xforms/model_ui.cxx
index b279301ad8fc..e5a899340836 100644
--- a/forms/source/xforms/model_ui.cxx
+++ b/forms/source/xforms/model_ui.cxx
@@ -68,7 +68,6 @@ using namespace com::sun::star::xml::xpath;
OUString Model::getDefaultServiceNameForNode( const XNode_t& xNode )
- throw( RuntimeException, std::exception )
{
// determine service for control. string/text field is default.
OUString sService = "com.sun.star.form.component.TextField";
@@ -250,7 +249,6 @@ OUString Model::getDefaultBindingExpressionForNode(
OUString Model::getDefaultBindingExpressionForNode( const XNode_t& xNode )
- throw( RuntimeException, std::exception )
{
return getDefaultBindingExpressionForNode( xNode, getEvaluationContext() );
}
@@ -274,7 +272,6 @@ static bool lcl_isWhitespace( const OUString& rString )
OUString Model::getNodeDisplayName( const XNode_t& xNode,
sal_Bool bDetail )
- throw( RuntimeException, std::exception )
{
OUStringBuffer aBuffer;
@@ -316,7 +313,6 @@ OUString Model::getNodeDisplayName( const XNode_t& xNode,
}
OUString Model::getNodeName( const XNode_t& xNode )
- throw( RuntimeException, std::exception )
{
OUStringBuffer aBuffer;
@@ -340,7 +336,6 @@ OUString Model::getNodeName( const XNode_t& xNode )
OUString Model::getBindingName( const XPropertySet_t& xBinding,
sal_Bool /*bDetail*/ )
- throw( RuntimeException, std::exception )
{
OUString sID;
xBinding->getPropertyValue( "BindingID" ) >>= sID;
@@ -360,7 +355,6 @@ OUString Model::getBindingName( const XPropertySet_t& xBinding,
OUString Model::getSubmissionName( const XPropertySet_t& xSubmission,
sal_Bool /*bDetail*/ )
- throw( RuntimeException, std::exception )
{
OUString sID;
xSubmission->getPropertyValue( "ID" ) >>= sID;
@@ -368,7 +362,6 @@ OUString Model::getSubmissionName( const XPropertySet_t& xSubmission,
}
Model::XPropertySet_t Model::cloneBindingAsGhost( const XPropertySet_t &xBinding )
- throw( RuntimeException, std::exception )
{
// Create a new binding instance first...
Binding *pBinding = new Binding();
@@ -385,7 +378,6 @@ Model::XPropertySet_t Model::cloneBindingAsGhost( const XPropertySet_t &xBinding
}
void Model::removeBindingIfUseless( const XPropertySet_t& xBinding )
- throw( RuntimeException, std::exception )
{
Binding* pBinding = Binding::getBinding( xBinding );
if( pBinding != nullptr )
@@ -398,7 +390,6 @@ void Model::removeBindingIfUseless( const XPropertySet_t& xBinding )
css::uno::Reference<css::xml::dom::XDocument> Model::newInstance( const OUString& sName,
const OUString& sURL,
sal_Bool bURLOnce )
- throw( RuntimeException, std::exception )
{
// create a default instance with <instanceData> element
css::uno::Reference<css::xml::dom::XDocument> xInstance = getDocumentBuilder()->newDocument();
@@ -449,7 +440,6 @@ void Model::renameInstance( const OUString& sFrom,
const OUString& sTo,
const OUString& sURL,
sal_Bool bURLOnce )
- throw( RuntimeException, std::exception )
{
sal_Int32 nPos = lcl_findInstance( mxInstances.get(), sFrom );
if( nPos != -1 )
@@ -487,7 +477,6 @@ void Model::renameInstance( const OUString& sFrom,
}
void Model::removeInstance( const OUString& sName )
- throw( RuntimeException, std::exception )
{
sal_Int32 nPos = lcl_findInstance( mxInstances.get(), sName );
if( nPos != -1 )
@@ -508,7 +497,6 @@ static Reference<XNameContainer> lcl_getModels(
css::uno::Reference<css::xforms::XModel> Model::newModel( const Reference<css::frame::XModel>& xCmp,
const OUString& sName )
- throw( RuntimeException, std::exception )
{
css::uno::Reference<css::xforms::XModel> xModel;
Reference<XNameContainer> xModels = lcl_getModels( xCmp );
@@ -530,7 +518,6 @@ css::uno::Reference<css::xforms::XModel> Model::newModel( const Reference<css::f
void Model::renameModel( const Reference<css::frame::XModel>& xCmp,
const OUString& sFrom,
const OUString& sTo )
- throw( RuntimeException, std::exception )
{
Reference<XNameContainer> xModels = lcl_getModels( xCmp );
if( xModels.is()
@@ -546,7 +533,6 @@ void Model::renameModel( const Reference<css::frame::XModel>& xCmp,
void Model::removeModel( const Reference<css::frame::XModel>& xCmp,
const OUString& sName )
- throw( RuntimeException, std::exception )
{
Reference<XNameContainer> xModels = lcl_getModels( xCmp );
if( xModels.is()
@@ -558,7 +544,6 @@ void Model::removeModel( const Reference<css::frame::XModel>& xCmp,
Model::XNode_t Model::createElement( const XNode_t& xParent,
const OUString& sName )
- throw( RuntimeException, std::exception )
{
Reference<XNode> xNode;
if( xParent.is()
@@ -573,7 +558,6 @@ Model::XNode_t Model::createElement( const XNode_t& xParent,
Model::XNode_t Model::createAttribute( const XNode_t& xParent,
const OUString& sName )
- throw( RuntimeException, std::exception )
{
Reference<XNode> xNode;
Reference<XElement> xElement( xParent, UNO_QUERY );
@@ -599,7 +583,6 @@ Model::XNode_t Model::createAttribute( const XNode_t& xParent,
Model::XNode_t Model::renameNode( const XNode_t& xNode,
const OUString& sName )
- throw( RuntimeException, std::exception )
{
// early out if we don't have to change the name
if( xNode->getNodeName() == sName )
@@ -683,7 +666,6 @@ Model::XNode_t Model::renameNode( const XNode_t& xNode,
Model::XPropertySet_t Model::getBindingForNode( const XNode_t& xNode,
sal_Bool bCreate )
- throw( RuntimeException, std::exception )
{
OSL_ENSURE( xNode.is(), "no node?" );
@@ -739,7 +721,6 @@ Model::XPropertySet_t Model::getBindingForNode( const XNode_t& xNode,
}
void Model::removeBindingForNode( const XNode_t& )
- throw( RuntimeException, std::exception )
{
// determine whether suitable binding is still used
}
@@ -880,7 +861,6 @@ OUString Model::getResultForExpression(
const XPropertySet_t& xBinding,
sal_Bool bIsBindingExpression,
const OUString& sExpression )
- throw( RuntimeException, std::exception )
{
Binding* pBinding = Binding::getBinding( xBinding );
if( pBinding == nullptr )
@@ -914,13 +894,11 @@ OUString Model::getResultForExpression(
}
sal_Bool Model::isValidXMLName( const OUString& sName )
- throw( RuntimeException, std::exception )
{
return isValidQName( sName, nullptr );
}
sal_Bool Model::isValidPrefixName( const OUString& sName )
- throw( RuntimeException, std::exception )
{
return ::isValidPrefixName( sName, nullptr );
}
@@ -928,7 +906,6 @@ sal_Bool Model::isValidPrefixName( const OUString& sName )
void Model::setNodeValue(
const XNode_t& xNode,
const OUString& sValue )
- throw( RuntimeException, std::exception )
{
setSimpleContent( xNode, sValue );
}