From ef5133e468e70966ef7499a7f1c70ffbfd89f641 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 3 Dec 2019 09:38:46 +0000 Subject: drop dbgutil SdrItemBrowser FloatingWindow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7a4ca90ea23271e7b6f60d7e47e4513978d3222d Reviewed-on: https://gerrit.libreoffice.org/84356 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/svdraw/svdedxv.cxx | 39 --------------------------------------- 1 file changed, 39 deletions(-) (limited to 'svx/source/svdraw/svdedxv.cxx') diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index f6861bdadee6..2deae4c913cb 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -45,9 +45,6 @@ #include #include #include -#ifdef DBG_UTIL -#include -#endif #include #include #include @@ -1325,10 +1322,6 @@ bool SdrObjEditView::SdrBeginTextEdit(SdrObject* pObj_, SdrPageView* pPV, vcl::W LINK(this, SdrObjEditView, ImpAfterCutOrPasteChainingEventHdl)); } -#ifdef DBG_UTIL - if (mpItemBrowser != nullptr) - mpItemBrowser->SetDirty(); -#endif pTextEditOutliner->ClearModifyFlag(); if (pTextObj->IsFitToSize()) @@ -1641,13 +1634,6 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(bool bDontDeleteReally) { GetMarkedObjectListWriteAccess().SetNameDirty(); } -#ifdef DBG_UTIL - if (mpItemBrowser) - { - GetMarkedObjectListWriteAccess().SetNameDirty(); - mpItemBrowser->SetDirty(); - } -#endif } if (pTEObj && !pTEObj->getSdrModelFromSdrObject().isLocked() && pTEObj->GetBroadcaster()) @@ -1826,10 +1812,6 @@ bool SdrObjEditView::KeyInput(const KeyEvent& rKEvt, vcl::Window* pWin) if (pWin != nullptr && pWin != pTextEditWin) SetTextEditWin(pWin); -#ifdef DBG_UTIL - if (mpItemBrowser != nullptr) - mpItemBrowser->SetDirty(); -#endif ImpMakeTextCursorAreaVisible(); return true; } @@ -1873,10 +1855,6 @@ bool SdrObjEditView::MouseButtonDown(const MouseEvent& rMEvt, OutputDevice* pWin if (pWin != nullptr && pWin != pTextEditWin && pWin->GetOutDevType() == OUTDEV_WINDOW) SetTextEditWin(static_cast(pWin)); -#ifdef DBG_UTIL - if (mpItemBrowser != nullptr) - mpItemBrowser->SetDirty(); -#endif ImpMakeTextCursorAreaVisible(); return true; } @@ -1915,10 +1893,6 @@ bool SdrObjEditView::MouseButtonUp(const MouseEvent& rMEvt, OutputDevice* pWin) rMEvt.GetModifier()); if (pTextEditOutlinerView->MouseButtonUp(aMEvt)) { -#ifdef DBG_UTIL - if (mpItemBrowser != nullptr) - mpItemBrowser->SetDirty(); -#endif ImpMakeTextCursorAreaVisible(); return true; } @@ -1962,10 +1936,6 @@ bool SdrObjEditView::MouseMove(const MouseEvent& rMEvt, OutputDevice* pWin) rMEvt.GetModifier()); if (pTextEditOutlinerView->MouseMove(aMEvt) && bSelMode) { -#ifdef DBG_UTIL - if (mpItemBrowser != nullptr) - mpItemBrowser->SetDirty(); -#endif ImpMakeTextCursorAreaVisible(); return true; } @@ -2011,10 +1981,6 @@ bool SdrObjEditView::Command(const CommandEvent& rCEvt, vcl::Window* pWin) pTextEditOutlinerView->Command(aCEvt); if (pWin != nullptr && pWin != pTextEditWin) SetTextEditWin(pWin); -#ifdef DBG_UTIL - if (mpItemBrowser != nullptr) - mpItemBrowser->SetDirty(); -#endif ImpMakeTextCursorAreaVisible(); return true; } @@ -2287,11 +2253,6 @@ bool SdrObjEditView::SetAttributes(const SfxItemSet& rSet, bool bReplaceAll) if (mpModel && pTEOutliner && pTEOutliner->IsModified()) mpModel->SetChanged(); -#ifdef DBG_UTIL - if (mpItemBrowser != nullptr) - mpItemBrowser->SetDirty(); -#endif - ImpMakeTextCursorAreaVisible(); } bRet = true; -- cgit