summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/detdata.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/detdata.cxx')
-rw-r--r--sc/source/core/tool/detdata.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/detdata.cxx b/sc/source/core/tool/detdata.cxx
index e7fb6c43287a..3cdd04370958 100644
--- a/sc/source/core/tool/detdata.cxx
+++ b/sc/source/core/tool/detdata.cxx
@@ -86,9 +86,9 @@ bool ScDetOpList::operator==( const ScDetOpList& r ) const
return bEqual;
}
-const ScDetOpData* ScDetOpList::GetObject( size_t nPos ) const
+const ScDetOpData& ScDetOpList::GetObject( size_t nPos ) const
{
- return &aDetOpDataVector[nPos];
+ return aDetOpDataVector[nPos];
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */