summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objxtor.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/doc/objxtor.cxx')
-rw-r--r--sfx2/source/doc/objxtor.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
index 5f2ff89adc0b..eddcb68f0057 100644
--- a/sfx2/source/doc/objxtor.cxx
+++ b/sfx2/source/doc/objxtor.cxx
@@ -464,7 +464,7 @@ OUString SfxObjectShell::CreateShellID( const SfxObjectShell* pShell )
SfxObjectShell* SfxObjectShell::GetFirst
(
- std::function<bool ( const SfxObjectShell* )> isObjectShell,
+ const std::function<bool ( const SfxObjectShell* )>& isObjectShell,
bool bOnlyVisible
)
{
@@ -491,7 +491,7 @@ SfxObjectShell* SfxObjectShell::GetFirst
SfxObjectShell* SfxObjectShell::GetNext
(
const SfxObjectShell& rPrev,
- std::function<bool ( const SfxObjectShell* )> isObjectShell,
+ const std::function<bool ( const SfxObjectShell* )>& isObjectShell,
bool bOnlyVisible
)
{