summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/cellbindinghandler.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 12:01:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 19:27:44 +0200
commit5e4134535391e9977e72c7001e3b4a5eea113c3c (patch)
treec48fdca598529e9964d6029c3e2c176b836177ec /extensions/source/propctrlr/cellbindinghandler.cxx
parent031173da38de93e5153c5d2c105706df07127b99 (diff)
Just use Any ctor instead of makeAny in extensions
Change-Id: I0441d30044168563b0d5b8406fcc99b51a9cbc1e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133817 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'extensions/source/propctrlr/cellbindinghandler.cxx')
-rw-r--r--extensions/source/propctrlr/cellbindinghandler.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/propctrlr/cellbindinghandler.cxx b/extensions/source/propctrlr/cellbindinghandler.cxx
index 32517a6c4be9..633a3574b966 100644
--- a/extensions/source/propctrlr/cellbindinghandler.cxx
+++ b/extensions/source/propctrlr/cellbindinghandler.cxx
@@ -129,7 +129,7 @@ namespace pcr
// ensure that the "transfer selection as" property is reset. Since we can't remember
// it at the object itself, but derive it from the binding only, we have to normalize
// it now that there *is* no binding anymore.
- setPropertyValue( PROPERTY_CELL_EXCHANGE_TYPE, makeAny( sal_Int16(0) ) );
+ setPropertyValue( PROPERTY_CELL_EXCHANGE_TYPE, Any( sal_Int16(0) ) );
}
}
break;
@@ -156,8 +156,8 @@ namespace pcr
{
if ( !xSource.is() )
{
- setPropertyValue( PROPERTY_STRINGITEMLIST, makeAny( Sequence< OUString >() ) );
- setPropertyValue( PROPERTY_TYPEDITEMLIST, makeAny( Sequence< Any >() ) );
+ setPropertyValue( PROPERTY_STRINGITEMLIST, Any( Sequence< OUString >() ) );
+ setPropertyValue( PROPERTY_TYPEDITEMLIST, Any( Sequence< Any >() ) );
}
}
catch( const Exception& )