summaryrefslogtreecommitdiff
path: root/sfx2/source/appl/shellimpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/appl/shellimpl.cxx')
-rw-r--r--sfx2/source/appl/shellimpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/shellimpl.cxx b/sfx2/source/appl/shellimpl.cxx
index 84ed3de3f57d..2ef1a7fe31c2 100644
--- a/sfx2/source/appl/shellimpl.cxx
+++ b/sfx2/source/appl/shellimpl.cxx
@@ -39,7 +39,7 @@ SfxObjectShell* SfxObjectShellArr_Impl::operator[] ( size_t i )
return maData[i];
}
-void SfxObjectShellArr_Impl::erase( iterator it )
+void SfxObjectShellArr_Impl::erase( const iterator& it )
{
maData.erase(it);
}
@@ -74,7 +74,7 @@ SfxViewFrame* SfxViewFrameArr_Impl::operator[] ( size_t i )
return maData[i];
}
-void SfxViewFrameArr_Impl::erase( iterator it )
+void SfxViewFrameArr_Impl::erase( const iterator& it )
{
maData.erase(it);
}
@@ -109,7 +109,7 @@ SfxViewShell* SfxViewShellArr_Impl::operator[] ( size_t i )
return maData[i];
}
-void SfxViewShellArr_Impl::erase( iterator it )
+void SfxViewShellArr_Impl::erase( const iterator& it )
{
maData.erase(it);
}