diff options
Diffstat (limited to 'sc/inc/prnsave.hxx')
-rw-r--r-- | sc/inc/prnsave.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/inc/prnsave.hxx b/sc/inc/prnsave.hxx index 9bdbc28ecfd0..463a424451ad 100644 --- a/sc/inc/prnsave.hxx +++ b/sc/inc/prnsave.hxx @@ -22,6 +22,7 @@ #include "address.hxx" #include <vector> +#include <memory> class ScRange; @@ -51,8 +52,8 @@ public: class ScPrintRangeSaver { - SCTAB nTabCount; - ScPrintSaverTab* pData; ///< Array + SCTAB nTabCount; + std::unique_ptr<ScPrintSaverTab[]> pData; public: ScPrintRangeSaver( SCTAB nCount ); |