summaryrefslogtreecommitdiff
path: root/sc/inc/paramisc.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/inc/paramisc.hxx')
-rw-r--r--sc/inc/paramisc.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/paramisc.hxx b/sc/inc/paramisc.hxx
index 0a21a1db83a6..5853051a4abd 100644
--- a/sc/inc/paramisc.hxx
+++ b/sc/inc/paramisc.hxx
@@ -25,9 +25,9 @@
struct ScSolveParam
{
- ScAddress aRefFormulaCell;
- ScAddress aRefVariableCell;
- OUString* pStrTargetVal;
+ ScAddress aRefFormulaCell;
+ ScAddress aRefVariableCell;
+ std::unique_ptr<OUString> pStrTargetVal;
ScSolveParam();
ScSolveParam( const ScSolveParam& r );
@@ -36,7 +36,7 @@ struct ScSolveParam
const OUString& rTargetValStr );
~ScSolveParam();
- ScSolveParam& operator= ( const ScSolveParam& r );
+ ScSolveParam& operator= ( const ScSolveParam& r );
bool operator== ( const ScSolveParam& r ) const;
};