diff options
Diffstat (limited to 'svx/source/tbxctrls/formatpaintbrushctrl.cxx')
-rw-r--r-- | svx/source/tbxctrls/formatpaintbrushctrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/tbxctrls/formatpaintbrushctrl.cxx b/svx/source/tbxctrls/formatpaintbrushctrl.cxx index 0089212bdd01..f67efd12c701 100644 --- a/svx/source/tbxctrls/formatpaintbrushctrl.cxx +++ b/svx/source/tbxctrls/formatpaintbrushctrl.cxx @@ -20,6 +20,7 @@ #include <svx/formatpaintbrushctrl.hxx> +#include <comphelper/propertyvalue.hxx> #include <svl/eitem.hxx> #include <vcl/toolbox.hxx> #include <vcl/settings.hxx> @@ -54,9 +55,8 @@ FormatPaintBrushToolBoxControl::~FormatPaintBrushToolBoxControl() void FormatPaintBrushToolBoxControl::impl_executePaintBrush() { - Sequence< PropertyValue > aArgs( 1 ); - aArgs[0].Name = "PersistentCopy"; - aArgs[0].Value <<= m_bPersistentCopy; + Sequence< PropertyValue > aArgs{ comphelper::makePropertyValue("PersistentCopy", + m_bPersistentCopy) }; Dispatch( ".uno:FormatPaintbrush" , aArgs ); } |