diff options
Diffstat (limited to 'dbaccess/source/ui/browser/sbagrid.cxx')
-rw-r--r-- | dbaccess/source/ui/browser/sbagrid.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx index 030d38e3947b..c581844cfa8d 100644 --- a/dbaccess/source/ui/browser/sbagrid.cxx +++ b/dbaccess/source/ui/browser/sbagrid.cxx @@ -792,7 +792,7 @@ void SbaGridControl::SetColWidth(sal_uInt16 nColId) Any aWidth = xAffectedCol->getPropertyValue(PROPERTY_WIDTH); sal_Int32 nCurWidth = aWidth.hasValue() ? ::comphelper::getINT32(aWidth) : -1; - VclPtr<DlgSize> aDlgColWidth(new DlgSize(this, nCurWidth, false)); + ScopedVclPtr<DlgSize> aDlgColWidth(new DlgSize(this, nCurWidth, false)); if (aDlgColWidth->Execute()) { sal_Int32 nValue = aDlgColWidth->GetValue(); @@ -821,7 +821,7 @@ void SbaGridControl::SetRowHeight() Any aHeight = xCols->getPropertyValue(PROPERTY_ROW_HEIGHT); sal_Int32 nCurHeight = aHeight.hasValue() ? ::comphelper::getINT32(aHeight) : -1; - VclPtr<DlgSize> aDlgRowHeight(new DlgSize(this, nCurHeight, true)); + ScopedVclPtr<DlgSize> aDlgRowHeight(new DlgSize(this, nCurHeight, true)); if (aDlgRowHeight->Execute()) { sal_Int32 nValue = aDlgRowHeight->GetValue(); |