summaryrefslogtreecommitdiff
path: root/svx/source/form/formcontrolfactory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/form/formcontrolfactory.cxx')
-rw-r--r--svx/source/form/formcontrolfactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/form/formcontrolfactory.cxx b/svx/source/form/formcontrolfactory.cxx
index ac4be38cbc38..10b238eb8669 100644
--- a/svx/source/form/formcontrolfactory.cxx
+++ b/svx/source/form/formcontrolfactory.cxx
@@ -445,7 +445,7 @@ namespace svxform
case FormComponentType::CHECKBOX:
case FormComponentType::FIXEDTEXT:
{
- ::rtl::OUString sVertAlignPropertyName( RTL_CONSTASCII_USTRINGPARAM( "VerticalAlign" ) );
+ ::rtl::OUString sVertAlignPropertyName( "VerticalAlign" );
if ( xPSI->hasPropertyByName( sVertAlignPropertyName ) )
_rxControlModel->setPropertyValue( sVertAlignPropertyName, makeAny( VerticalAlignment_MIDDLE ) );
}
@@ -454,7 +454,7 @@ namespace svxform
case FormComponentType::IMAGEBUTTON:
case FormComponentType::IMAGECONTROL:
{
- const ::rtl::OUString sScaleModeProperty( RTL_CONSTASCII_USTRINGPARAM( "ScaleMode" ) );
+ const ::rtl::OUString sScaleModeProperty( "ScaleMode" );
if ( xPSI->hasPropertyByName( sScaleModeProperty ) )
_rxControlModel->setPropertyValue( sScaleModeProperty, makeAny( ImageScaleMode::Isotropic ) );
}