summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/inc/formularesult.hxx2
-rw-r--r--sc/source/core/tool/interpr4.cxx2
-rw-r--r--sc/source/core/tool/token.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/formularesult.hxx b/sc/inc/formularesult.hxx
index 640573559606..1cc5faf5f77f 100644
--- a/sc/inc/formularesult.hxx
+++ b/sc/inc/formularesult.hxx
@@ -407,7 +407,7 @@ inline bool ScFormulaResult::IsEmptyDisplayedAsString() const
// don't need to test for mpToken here, GetType() already did it
const ScEmptyCellToken* p = dynamic_cast<const ScEmptyCellToken*>(
static_cast<const ScMatrixCellResultToken*>(
- mpToken)->GetUpperLeftToken().operator->());
+ mpToken)->GetUpperLeftToken().get());
if (p)
return p->IsDisplayedAsString();
}
diff --git a/sc/source/core/tool/interpr4.cxx b/sc/source/core/tool/interpr4.cxx
index 2f2d8826c670..05ff646b5514 100644
--- a/sc/source/core/tool/interpr4.cxx
+++ b/sc/source/core/tool/interpr4.cxx
@@ -4301,7 +4301,7 @@ StackVar ScInterpreter::Interpret()
if (eType == svMatrix)
// Results are immutable in case they would be reused as input for new
// interpreters.
- static_cast<ScToken*>(xResult.operator->())->GetMatrix()->SetImmutable( true);
+ static_cast<ScToken*>(xResult.get())->GetMatrix()->SetImmutable( true);
return eType;
}
diff --git a/sc/source/core/tool/token.cxx b/sc/source/core/tool/token.cxx
index c34a1ac9d801..f0dc5cf90418 100644
--- a/sc/source/core/tool/token.cxx
+++ b/sc/source/core/tool/token.cxx
@@ -1041,7 +1041,7 @@ const ScMatrix* ScMatrixCellResultToken::GetMatrix() const { return xMatrix.get
// satisfy vtable linkage.
ScMatrix* ScMatrixCellResultToken::GetMatrix()
{
- return const_cast<ScMatrix*>(xMatrix.operator->());
+ return const_cast<ScMatrix*>(xMatrix.get());
}
bool ScMatrixCellResultToken::operator==( const FormulaToken& r ) const
{