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.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
index 0ff831453faf..e46dd4ed1e95 100644
--- a/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSlotManager.cxx
@@ -361,7 +361,7 @@ void SlotManager::FuSupport (SfxRequest& rRequest)
{
std::shared_ptr<DrawViewShell> pDrawViewShell (
std::dynamic_pointer_cast<DrawViewShell>(pBase->GetMainViewShell()));
- if (pDrawViewShell.get() != nullptr)
+ if (pDrawViewShell != nullptr)
pDrawViewShell->FuSupport(rRequest);
}
}
@@ -706,7 +706,7 @@ void SlotManager::GetClipboardState ( SfxItemSet& rSet)
{
std::shared_ptr<DrawViewShell> pDrawViewShell (
std::dynamic_pointer_cast<DrawViewShell>(pBase->GetMainViewShell()));
- if (pDrawViewShell.get() != nullptr)
+ if (pDrawViewShell != nullptr)
{
TransferableDataHelper aDataHelper (
TransferableDataHelper::CreateFromSystemClipboard(