diff options
Diffstat (limited to 'sc/inc/autoform.hxx')
-rw-r--r-- | sc/inc/autoform.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/inc/autoform.hxx b/sc/inc/autoform.hxx index d0e8760561d2..8d36511a1c3c 100644 --- a/sc/inc/autoform.hxx +++ b/sc/inc/autoform.hxx @@ -51,6 +51,7 @@ #include "scdllapi.h" #include "zforauto.hxx" +#include <array> #include <memory> #include <map> @@ -261,7 +262,7 @@ private: // Writer-specific data AutoFormatSwBlob m_swFields; - ScAutoFormatDataField** ppDataField; + std::array<std::unique_ptr<ScAutoFormatDataField>,16> ppDataField; SAL_DLLPRIVATE ScAutoFormatDataField& GetField( sal_uInt16 nIndex ); SAL_DLLPRIVATE const ScAutoFormatDataField& GetField( sal_uInt16 nIndex ) const; |