summaryrefslogtreecommitdiff
path: root/sc/source/ui/undo
diff options
context:
space:
mode:
authorDerrick Rocha <drocha616@gmail.com>2015-09-12 16:49:29 -0600
committerNoel Grandin <noelgrandin@gmail.com>2015-09-13 06:25:18 +0000
commit927447356fb7025d2b61073f525adc24643c7925 (patch)
treecd1f3b5471a91e1f56463fd2fe7f02f2ee8d4123 /sc/source/ui/undo
parentd8707b06e4b5a1dc6934ba4c15774d370eed6535 (diff)
replace boost::ptr_container with std::container<std::unique_ptr>
Change-Id: I8fd1121577c6443f9100b181402083d1b7c30b6b Reviewed-on: https://gerrit.libreoffice.org/18525 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r--sc/source/ui/undo/undocell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx
index c69c30816d0c..0f260972908c 100644
--- a/sc/source/ui/undo/undocell.cxx
+++ b/sc/source/ui/undo/undocell.cxx
@@ -922,7 +922,7 @@ void ScUndoDetective::Undo()
{
ScDetOpDataVector& rVec = pList->GetDataVector();
ScDetOpDataVector::iterator it = rVec.begin() + rVec.size() - 1;
- if ( it->GetOperation() == (ScDetOpType) nAction && it->GetPos() == aPos )
+ if ( (*it)->GetOperation() == (ScDetOpType) nAction && (*it)->GetPos() == aPos )
rVec.erase( it);
else
{