[Libreoffice-commits] core.git: include/svx svx/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 5 08:39:17 UTC 2018
include/svx/svdmodel.hxx | 1 -
svx/source/svdraw/svdmodel.cxx | 1 -
svx/source/unodraw/unomod.cxx | 1 -
3 files changed, 3 deletions(-)
New commits:
commit dfe52570efbfdd988e5727aab9483f20b1975713
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Dec 4 10:26:48 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Wed Dec 5 09:38:53 2018 +0100
remove unused SdrHintKind enum value
Change-Id: I7b64c93e95a74942b5c7462d0489e52ee8831ec7
Reviewed-on: https://gerrit.libreoffice.org/64564
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index 5cddb416791f..e3e9edf86fd4 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -108,7 +108,6 @@ enum class SdrHintKind
ModelCleared, // deleted the whole model (no pages exist anymore). not impl.
RefDeviceChange, // RefDevice changed
DefaultTabChange, // Default tabulator width changed
- DefaultFontHeightChange, // Default FontHeight changed
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/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 462e7e173173..f9b7b8d08c2b 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -855,7 +855,6 @@ void SdrModel::SetDefaultFontHeight(sal_Int32 nVal)
{
if (nVal!=mnDefTextHgt) {
mnDefTextHgt=nVal;
- Broadcast(SdrHint(SdrHintKind::DefaultFontHeightChange));
ImpReformatAllTextObjects();
}
}
diff --git a/svx/source/unodraw/unomod.cxx b/svx/source/unodraw/unomod.cxx
index 13407a4b0f97..f6e60d5b022a 100644
--- a/svx/source/unodraw/unomod.cxx
+++ b/svx/source/unodraw/unomod.cxx
@@ -146,7 +146,6 @@ bool SvxUnoDrawMSFactory::createEvent( const SdrModel* pDoc, const SdrHint* pSdr
pObj = pSdrHint->GetObject();
break;
// SdrHintKind::DefaultTabChange, // default tab width changed
-// SdrHintKind::DefaultFontHeightChange, // default FontHeight changed
// SdrHintKind::SwitchToPage, // #94278# UNDO/REDO at an object evtl. on another page
// HINT_OBJLISTCLEAR // Is called before an SdrObjList will be cleared
default:
More information about the Libreoffice-commits
mailing list