summaryrefslogtreecommitdiff
path: root/cui/source/options/optcolor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/options/optcolor.cxx')
-rw-r--r--cui/source/options/optcolor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index 65064c34c4a8..cdef298a0475 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -931,7 +931,7 @@ void ColorConfigCtrl_Impl::dispose()
VCL_BUILDER_DECL_FACTORY(ColorConfigCtrl)
{
(void)rMap;
- return new ColorConfigCtrl_Impl(pParent);
+ return VclPtr<ColorConfigCtrl_Impl>::Create(pParent);
}
void ColorConfigCtrl_Impl::Update ()