diff options
Diffstat (limited to 'sc/source/ui/inc/inputhdl.hxx')
-rw-r--r-- | sc/source/ui/inc/inputhdl.hxx | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/sc/source/ui/inc/inputhdl.hxx b/sc/source/ui/inc/inputhdl.hxx index 99fd54f299a2..c470792fa662 100644 --- a/sc/source/ui/inc/inputhdl.hxx +++ b/sc/source/ui/inc/inputhdl.hxx @@ -60,9 +60,9 @@ private: EditView* pTableView; // associated active EditView EditView* pTopView; // EditView in the input row - ScTypedCaseStrSet* pColumnData; - ScTypedCaseStrSet* pFormulaData; - ScTypedCaseStrSet* pFormulaDataPara; + std::unique_ptr<ScTypedCaseStrSet> pColumnData; + std::unique_ptr<ScTypedCaseStrSet> pFormulaData; + std::unique_ptr<ScTypedCaseStrSet> pFormulaDataPara; ScTypedCaseStrSet::const_iterator miAutoPosColumn; ScTypedCaseStrSet::const_iterator miAutoPosFormula; @@ -109,12 +109,15 @@ private: ScTabViewShell* pActiveViewSh; const ScPatternAttr* pLastPattern; - SfxItemSet* pEditDefaults; + std::unique_ptr<SfxItemSet> + pEditDefaults; - ScInputHdlState* pLastState; - Timer* pDelayTimer; + std::unique_ptr<ScInputHdlState> + pLastState; + std::unique_ptr<Timer> pDelayTimer; - ScRangeFindList* pRangeFindList; + std::unique_ptr<ScRangeFindList> + pRangeFindList; static bool bAutoComplete; // from app options static bool bOptLoaded; @@ -232,7 +235,7 @@ public: void ShowRefFrame(); - ScRangeFindList* GetRangeFindList() { return pRangeFindList; } + ScRangeFindList* GetRangeFindList() { return pRangeFindList.get(); } void UpdateRange( sal_uInt16 nIndex, const ScRange& rNew ); |