summaryrefslogtreecommitdiff
path: root/include/svx/numinf.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/numinf.hxx')
-rw-r--r--include/svx/numinf.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svx/numinf.hxx b/include/svx/numinf.hxx
index 694f8d5a3592..c99f9859c53c 100644
--- a/include/svx/numinf.hxx
+++ b/include/svx/numinf.hxx
@@ -61,7 +61,7 @@ public:
const OUString& GetValueString() const { return aStringVal; }
double GetValueDouble() const { return nDoubleVal; }
- const sal_uInt32* GetDelArray() const { return pDelFormatArr; }
+ const sal_uInt32* GetDelArray() const { return pDelFormatArr.get(); }
void SetDelFormatArray( const sal_uInt32* pData,
const sal_uInt32 nCount );
@@ -74,7 +74,8 @@ private:
OUString aStringVal;
double nDoubleVal;
- sal_uInt32* pDelFormatArr;
+ std::unique_ptr<sal_uInt32[]>
+ pDelFormatArr;
sal_uInt32 nDelCount;
};