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 403da9e996c9..3f4db20ae2ed 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 VclPtr<SdHtmlAttrPreview>::Create(pParent, nWinStyle);
+ return new SdHtmlAttrPreview(pParent, nWinStyle);
}
SdHtmlAttrPreview::~SdHtmlAttrPreview()