summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/animatedimagespeer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/animatedimagespeer.cxx')
-rw-r--r--toolkit/source/awt/animatedimagespeer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/animatedimagespeer.cxx b/toolkit/source/awt/animatedimagespeer.cxx
index 5f540442b541..57614e993422 100644
--- a/toolkit/source/awt/animatedimagespeer.cxx
+++ b/toolkit/source/awt/animatedimagespeer.cxx
@@ -366,7 +366,7 @@ namespace toolkit
case BASEPROPERTY_IMAGE_SCALE_MODE:
{
- sal_Int16 nScaleMode( ImageScaleMode::Anisotropic );
+ sal_Int16 nScaleMode( ImageScaleMode::ANISOTROPIC );
ImageControl* pImageControl = dynamic_cast< ImageControl* >( GetWindow() );
if ( pImageControl && ( i_value >>= nScaleMode ) )
{
@@ -406,7 +406,7 @@ namespace toolkit
case BASEPROPERTY_IMAGE_SCALE_MODE:
{
ImageControl const* pImageControl = dynamic_cast< ImageControl* >( GetWindow() );
- aReturn <<= ( pImageControl ? pImageControl->GetScaleMode() : ImageScaleMode::Anisotropic );
+ aReturn <<= ( pImageControl ? pImageControl->GetScaleMode() : ImageScaleMode::ANISOTROPIC );
}
break;