diff options
Diffstat (limited to 'svx/source/form/fmtextcontrolshell.cxx')
-rw-r--r-- | svx/source/form/fmtextcontrolshell.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/form/fmtextcontrolshell.cxx b/svx/source/form/fmtextcontrolshell.cxx index eb13c53a4848..ea676a807cf0 100644 --- a/svx/source/form/fmtextcontrolshell.cxx +++ b/svx/source/form/fmtextcontrolshell.cxx @@ -37,6 +37,7 @@ #include <com/sun/star/util/URLTransformer.hpp> #include <comphelper/processfactory.hxx> +#include <comphelper/propertyvalue.hxx> #include <cppuhelper/implbase.hxx> #include <sfx2/app.hxx> #include <sfx2/bindings.hxx> @@ -695,9 +696,8 @@ namespace svx DBG_ASSERT( pBoolItem, "FmTextControlShell::executeAttributeDialog: no bool item?!" ); if ( pBoolItem ) { - aArgs.realloc( 1 ); - aArgs[ 0 ].Name = "Enable"; - aArgs[ 0 ].Value <<= pBoolItem->GetValue(); + aArgs = { comphelper::makePropertyValue("Enable", + pBoolItem->GetValue()) }; } } |