summaryrefslogtreecommitdiff
path: root/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/slidesorter/controller/SlsSlotManager.cxx')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSlotManager.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
index 048880f2a8aa..44e080ca0aa1 100644
--- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
@@ -1159,10 +1159,13 @@ void SlotManager::DuplicateSelectedSlides (SfxRequest& rRequest)
aPagesToSelect.end(),
::boost::bind(
static_cast<void (PageSelector::*)(const SdPage*)>(&PageSelector::SelectPage),
- rSelector,
- _1));
+ ::boost::ref(rSelector),
+ _1));
}
+
+
+
void SlotManager::ExecuteCommandAsynchronously (::std::auto_ptr<Command> pCommand)
{
// Ownership of command is (implicitely) transferred to the queue.