summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlexprt.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlexprt.hxx')
-rw-r--r--sc/source/filter/xml/xmlexprt.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx
index cb2c5df7c758..6107aa86d102 100644
--- a/sc/source/filter/xml/xmlexprt.hxx
+++ b/sc/source/filter/xml/xmlexprt.hxx
@@ -90,24 +90,24 @@ class ScXMLExport : public SvXMLExport
rtl::Reference < SvXMLExportPropertyMapper > xColumnStylesExportPropertySetMapper;
rtl::Reference < SvXMLExportPropertyMapper > xRowStylesExportPropertySetMapper;
rtl::Reference < SvXMLExportPropertyMapper > xTableStylesExportPropertySetMapper;
- XMLNumberFormatAttributesExportHelper* pNumberFormatAttributesExportHelper;
+ std::unique_ptr<XMLNumberFormatAttributesExportHelper> pNumberFormatAttributesExportHelper;
typedef std::unordered_map<sal_Int32, sal_Int32> NumberFormatIndexMap;
NumberFormatIndexMap aNumFmtIndexMap;
ScMySharedData* pSharedData;
- ScColumnStyles* pColumnStyles;
- ScRowStyles* pRowStyles;
- ScFormatRangeStyles* pCellStyles;
- ScRowFormatRanges* pRowFormatRanges;
+ std::unique_ptr<ScColumnStyles> pColumnStyles;
+ std::unique_ptr<ScRowStyles> pRowStyles;
+ std::unique_ptr<ScFormatRangeStyles> pCellStyles;
+ std::unique_ptr<ScRowFormatRanges> pRowFormatRanges;
std::vector<OUString> aTableStyles;
ScRange aRowHeaderRange;
- ScMyOpenCloseColumnRowGroup* pGroupColumns;
- ScMyOpenCloseColumnRowGroup* pGroupRows;
- ScMyDefaultStyles* pDefaults;
+ std::unique_ptr<ScMyOpenCloseColumnRowGroup> pGroupColumns;
+ std::unique_ptr<ScMyOpenCloseColumnRowGroup> pGroupRows;
+ std::unique_ptr<ScMyDefaultStyles> pDefaults;
const ScMyCell* pCurrentCell;
- ScMyMergedRangesContainer* pMergedRangesContainer;
- ScMyValidationsContainer* pValidationsContainer;
- ScChangeTrackingExportHelper* pChangeTrackingExportHelper;
+ std::unique_ptr<ScMyMergedRangesContainer> pMergedRangesContainer;
+ std::unique_ptr<ScMyValidationsContainer> pValidationsContainer;
+ std::unique_ptr<ScChangeTrackingExportHelper> pChangeTrackingExportHelper;
const OUString sLayerID;
OUString sExternalRefTabStyleName;
OUString sAttrName;