summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/ContentHelper.cxx16
-rw-r--r--dbaccess/source/core/dataaccess/documentcontainer.cxx12
-rw-r--r--dbaccess/source/core/dataaccess/documentdefinition.cxx16
3 files changed, 22 insertions, 22 deletions
diff --git a/dbaccess/source/core/dataaccess/ContentHelper.cxx b/dbaccess/source/core/dataaccess/ContentHelper.cxx
index 7de44a4dd64a..4eea9fec1dbb 100644
--- a/dbaccess/source/core/dataaccess/ContentHelper.cxx
+++ b/dbaccess/source/core/dataaccess/ContentHelper.cxx
@@ -165,10 +165,10 @@ Any SAL_CALL OContentHelper::execute( const Command& aCommand, sal_Int32 /*Comma
{
OSL_FAIL( "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
- IllegalArgumentException(
+ makeAny( IllegalArgumentException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- -1 ),
+ -1 ) ),
Environment );
// Unreachable
}
@@ -183,10 +183,10 @@ Any SAL_CALL OContentHelper::execute( const Command& aCommand, sal_Int32 /*Comma
{
OSL_FAIL( "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
- IllegalArgumentException(
+ makeAny( IllegalArgumentException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- -1 ),
+ -1 ) ),
Environment );
// Unreachable
}
@@ -195,10 +195,10 @@ Any SAL_CALL OContentHelper::execute( const Command& aCommand, sal_Int32 /*Comma
{
OSL_FAIL( "No properties!" );
ucbhelper::cancelCommandExecution(
- IllegalArgumentException(
+ makeAny( IllegalArgumentException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- -1 ),
+ -1 ) ),
Environment );
// Unreachable
}
@@ -221,9 +221,9 @@ Any SAL_CALL OContentHelper::execute( const Command& aCommand, sal_Int32 /*Comma
OSL_FAIL( "Content::execute - unsupported command!" );
ucbhelper::cancelCommandExecution(
- UnsupportedCommandException(
+ makeAny( UnsupportedCommandException(
OUString(),
- static_cast< cppu::OWeakObject * >( this ) ),
+ static_cast< cppu::OWeakObject * >( this ) ) ),
Environment );
// Unreachable
}
diff --git a/dbaccess/source/core/dataaccess/documentcontainer.cxx b/dbaccess/source/core/dataaccess/documentcontainer.cxx
index d8a14c8df1c9..c7ddcb6686ac 100644
--- a/dbaccess/source/core/dataaccess/documentcontainer.cxx
+++ b/dbaccess/source/core/dataaccess/documentcontainer.cxx
@@ -402,10 +402,10 @@ Any SAL_CALL ODocumentContainer::execute( const Command& aCommand, sal_Int32 Com
{
OSL_FAIL( "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
- IllegalArgumentException(
+ makeAny( IllegalArgumentException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- -1 ),
+ -1 ) ),
Environment );
// Unreachable
}
@@ -429,10 +429,10 @@ Any SAL_CALL ODocumentContainer::execute( const Command& aCommand, sal_Int32 Com
{
// Unsupported.
ucbhelper::cancelCommandExecution(
- UnsupportedOpenModeException(
+ makeAny( UnsupportedOpenModeException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- sal_Int16( aOpenCommand.Mode ) ),
+ sal_Int16( aOpenCommand.Mode ) ) ),
Environment );
// Unreachable
}
@@ -446,10 +446,10 @@ Any SAL_CALL ODocumentContainer::execute( const Command& aCommand, sal_Int32 Com
{
OSL_FAIL( "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
- IllegalArgumentException(
+ makeAny( IllegalArgumentException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- -1 ),
+ -1 ) ),
Environment );
// Unreachable
}
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx
index 29c531c6fcd1..8818e685be2c 100644
--- a/dbaccess/source/core/dataaccess/documentdefinition.cxx
+++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx
@@ -883,10 +883,10 @@ Any ODocumentDefinition::onCommandOpenSomething( const Any& _rOpenArgument, cons
{
// not supported
ucbhelper::cancelCommandExecution(
- UnsupportedOpenModeException(
+ makeAny( UnsupportedOpenModeException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- sal_Int16( nOpenMode ) ),
+ sal_Int16( nOpenMode ) ) ),
_rxEnvironment );
// Unreachable
OSL_FAIL( "unreachable" );
@@ -1018,10 +1018,10 @@ Any SAL_CALL ODocumentDefinition::execute( const Command& aCommand, sal_Int32 Co
{
OSL_FAIL( "Wrong argument type!" );
ucbhelper::cancelCommandExecution(
- IllegalArgumentException(
+ makeAny( IllegalArgumentException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- -1 ),
+ -1 ) ),
Environment );
// Unreachable
}
@@ -1044,10 +1044,10 @@ Any SAL_CALL ODocumentDefinition::execute( const Command& aCommand, sal_Int32 Co
{
OSL_FAIL( "Wrong argument count!" );
ucbhelper::cancelCommandExecution(
- IllegalArgumentException(
+ makeAny( IllegalArgumentException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- -1 ),
+ -1 ) ),
Environment );
// Unreachable
}
@@ -1161,10 +1161,10 @@ void ODocumentDefinition::onCommandInsert( const OUString& _sURL, const Referenc
Sequence<OUString> aProps { PROPERTY_URL };
ucbhelper::cancelCommandExecution(
- MissingPropertiesException(
+ makeAny( MissingPropertiesException(
OUString(),
static_cast< cppu::OWeakObject * >( this ),
- aProps ),
+ aProps ) ),
Environment );
// Unreachable
}