summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/htmlattr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/htmlattr.cxx')
-rw-r--r--sd/source/filter/html/htmlattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/html/htmlattr.cxx b/sd/source/filter/html/htmlattr.cxx
index 3f4db20ae2ed..403da9e996c9 100644
--- a/sd/source/filter/html/htmlattr.cxx
+++ b/sd/source/filter/html/htmlattr.cxx
@@ -35,7 +35,7 @@ VCL_BUILDER_DECL_FACTORY(SdHtmlAttrPreview)
if (!sBorder.isEmpty())
nWinStyle |= WB_BORDER;
- return new SdHtmlAttrPreview(pParent, nWinStyle);
+ return VclPtr<SdHtmlAttrPreview>::Create(pParent, nWinStyle);
}
SdHtmlAttrPreview::~SdHtmlAttrPreview()