From df49f966fad67992ceedc755993c560eaf3148d6 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 13 Feb 2017 13:43:09 +0200 Subject: [PATCH] remove unused ModelSaved enumerator from SdrHintKind enum Change-Id: I0a236705efdcbc5f44cad8517f7f8f80d326934d Reviewed-on: https://gerrit.libreoffice.org/34209 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/svx/svdmodel.hxx | 1 - svx/source/svdraw/svdedxv.cxx | 6 ------ 2 files changed, 7 deletions(-) diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx index d2b4ef8a2f87..e53a42241c52 100644 --- a/include/svx/svdmodel.hxx +++ b/include/svx/svdmodel.hxx @@ -114,7 +114,6 @@ enum class SdrHintKind RefDeviceChange, // RefDevice changed DefaultTabChange, // Default tabulator width changed DefaultFontHeightChange, // Default FontHeight changed - ModelSaved, // Document was saved SwitchToPage, // #94278# UNDO/REDO at an object evtl. on another page BeginEdit, // Is called after the object has entered text edit mode EndEdit // Is called after the object has left text edit mode diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 9b4faf0dc396..408413aae08a 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -227,12 +227,6 @@ void SdrObjEditView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint) if (eKind==SdrHintKind::DefaultTabChange) { pTextEditOutliner->SetDefTab(mpModel->GetDefaultTabulator()); } - if (eKind==SdrHintKind::DefaultFontHeightChange) { - - } - if (eKind==SdrHintKind::ModelSaved) { - pTextEditOutliner->ClearModifyFlag(); - } } } }