summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/taborder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/taborder.cxx')
-rw-r--r--extensions/source/propctrlr/taborder.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/taborder.cxx b/extensions/source/propctrlr/taborder.cxx
index 63ce93e4948b..08c6670a69a4 100644
--- a/extensions/source/propctrlr/taborder.cxx
+++ b/extensions/source/propctrlr/taborder.cxx
@@ -311,10 +311,9 @@ namespace pcr
OString sBorder = VclBuilder::extractCustomProperty(rMap);
if (!sBorder.isEmpty())
nWinStyle |= WB_BORDER;
- return new TabOrderListBox(pParent, nWinStyle);
+ rRet = VclPtr<TabOrderListBox>::Create(pParent, nWinStyle);
}
-
TabOrderListBox::~TabOrderListBox()
{
}