diff options
Diffstat (limited to 'sd/source/ui/func/fudraw.cxx')
-rw-r--r-- | sd/source/ui/func/fudraw.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx index 3e36d5d78f76..d40f325f2392 100644 --- a/sd/source/ui/func/fudraw.cxx +++ b/sd/source/ui/func/fudraw.cxx @@ -468,7 +468,7 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt) if (mpView->IsDragObj()) { - if (SD_MOD()->GetWaterCan() && !mpView->PickHandle(aPnt)) + if (SdModule::get()->GetWaterCan() && !mpView->PickHandle(aPnt)) { // water can mode bDefPointer = false; @@ -479,7 +479,7 @@ void FuDraw::ForcePointer(const MouseEvent* pMEvt) { SdrHdl* pHdl = mpView->PickHandle(aPnt); - if (SD_MOD()->GetWaterCan() && !pHdl) + if (SdModule::get()->GetWaterCan() && !pHdl) { // water can mode bDefPointer = false; @@ -656,7 +656,7 @@ void FuDraw::DoubleClick(const MouseEvent& rMEvt) SfxCallMode::ASYNCHRON | SfxCallMode::RECORD ); } else if ( ( DynCastSdrTextObj( pObj ) != nullptr || dynamic_cast< const SdrObjGroup *>( pObj ) != nullptr ) && - !SD_MOD()->GetWaterCan() && + !SdModule::get()->GetWaterCan() && mpViewShell->GetFrameView()->IsDoubleClickTextEdit() && !mpDocSh->IsReadOnly()) { |