summaryrefslogtreecommitdiff
path: root/toolkit/source/controls/animatedimages.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 13:37:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 17:00:25 +0200
commit87d368642c536880bd313a5993c30bfb9c250e9d (patch)
tree011acddd941394347de1bac4a393f2284d14d545 /toolkit/source/controls/animatedimages.cxx
parent8bf380f7d33f39eaa4cb96b38a82ac18e589deef (diff)
Just use Any ctor instead of makeAny in toolkit
Change-Id: I55115f115e98b00e199007da5c6d9ea44cf2bab0 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133756 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'toolkit/source/controls/animatedimages.cxx')
-rw-r--r--toolkit/source/controls/animatedimages.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/toolkit/source/controls/animatedimages.cxx b/toolkit/source/controls/animatedimages.cxx
index 8626bdd45156..99fd5df859ae 100644
--- a/toolkit/source/controls/animatedimages.cxx
+++ b/toolkit/source/controls/animatedimages.cxx
@@ -315,19 +315,19 @@ namespace toolkit {
switch ( i_propertyId )
{
case BASEPROPERTY_DEFAULTCONTROL:
- return makeAny( OUString("com.sun.star.awt.AnimatedImagesControl") );
+ return Any( OUString("com.sun.star.awt.AnimatedImagesControl") );
case BASEPROPERTY_BORDER:
- return makeAny( css::awt::VisualEffect::NONE );
+ return Any( css::awt::VisualEffect::NONE );
case BASEPROPERTY_STEP_TIME:
- return makeAny( sal_Int32(100) );
+ return Any( sal_Int32(100) );
case BASEPROPERTY_AUTO_REPEAT:
- return makeAny( true );
+ return Any( true );
case BASEPROPERTY_IMAGE_SCALE_MODE:
- return makeAny( ImageScaleMode::NONE );
+ return Any( ImageScaleMode::NONE );
default:
return UnoControlModel::ImplGetDefaultValue( i_propertyId );
@@ -352,7 +352,7 @@ namespace toolkit {
void SAL_CALL AnimatedImagesControlModel::setStepTime( ::sal_Int32 i_stepTime )
{
- setPropertyValue( GetPropertyName( BASEPROPERTY_STEP_TIME ), makeAny( i_stepTime ) );
+ setPropertyValue( GetPropertyName( BASEPROPERTY_STEP_TIME ), Any( i_stepTime ) );
}
@@ -366,7 +366,7 @@ namespace toolkit {
void SAL_CALL AnimatedImagesControlModel::setAutoRepeat( sal_Bool i_autoRepeat )
{
- setPropertyValue( GetPropertyName( BASEPROPERTY_AUTO_REPEAT ), makeAny( i_autoRepeat ) );
+ setPropertyValue( GetPropertyName( BASEPROPERTY_AUTO_REPEAT ), Any( i_autoRepeat ) );
}
@@ -380,7 +380,7 @@ namespace toolkit {
void SAL_CALL AnimatedImagesControlModel::setScaleMode( ::sal_Int16 i_scaleMode )
{
- setPropertyValue( GetPropertyName( BASEPROPERTY_IMAGE_SCALE_MODE ), makeAny( i_scaleMode ) );
+ setPropertyValue( GetPropertyName( BASEPROPERTY_IMAGE_SCALE_MODE ), Any( i_scaleMode ) );
}