diff options
Diffstat (limited to 'sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx')
-rw-r--r-- | sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx index d557584ab7fd..e3b77fdb8fc4 100644 --- a/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx +++ b/sc/source/ui/sidebar/CellAppearancePropertyPanel.cxx @@ -53,7 +53,7 @@ namespace sc { namespace sidebar { svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellLineStylePopupControl(svx::sidebar::PopupContainer* pParent) { - return new CellLineStyleControl(pParent, *this); + return VclPtr<CellLineStyleControl>::Create(pParent, *this); } void CellAppearancePropertyPanel::EndCellLineStylePopupMode() @@ -66,7 +66,7 @@ void CellAppearancePropertyPanel::EndCellLineStylePopupMode() svx::sidebar::PopupControl* CellAppearancePropertyPanel::CreateCellBorderStylePopupControl(svx::sidebar::PopupContainer* pParent) { - return new CellBorderStyleControl(pParent, *this); + return VclPtr<CellBorderStyleControl>::Create(pParent, *this); } void CellAppearancePropertyPanel::EndCellBorderStylePopupMode() |