summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/SvxColorValueSet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/tbxctrls/SvxColorValueSet.cxx')
-rw-r--r--svx/source/tbxctrls/SvxColorValueSet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/SvxColorValueSet.cxx b/svx/source/tbxctrls/SvxColorValueSet.cxx
index ef448a40720a..cec4efc10128 100644
--- a/svx/source/tbxctrls/SvxColorValueSet.cxx
+++ b/svx/source/tbxctrls/SvxColorValueSet.cxx
@@ -37,7 +37,7 @@ VCL_BUILDER_DECL_FACTORY(SvxColorValueSet)
if (!sBorder.isEmpty())
nWinBits |= WB_BORDER;
- return new SvxColorValueSet(pParent, nWinBits);
+ return VclPtr<SvxColorValueSet>::Create(pParent, nWinBits);
}
sal_uInt32 SvxColorValueSet::getMaxRowCount()