diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-01-08 14:25:45 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-01-09 00:00:46 +0100 |
commit | d7bebc89c19d70344a8d71c729bbcb3a59004114 (patch) | |
tree | 9cfc402af2678c8c017e3a37ae66b3915c4c1eb0 /sw/source/core | |
parent | 6b084f0001fc15112bf3c40d20a0c7096c83b7fe (diff) |
translate all remaining abuses of "ueberladen"
It is scary how many barely educated C++ programmers can't tell their
inclusion polymorphism from their ad-hoc polymorphism.
Change-Id: Id4df7d168ba5257eff522a7f131c841c1ddcbccd
Diffstat (limited to 'sw/source/core')
-rw-r--r-- | sw/source/core/txtnode/ndtxt.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx index dfc0536a3890..7d56f646d7da 100644 --- a/sw/source/core/txtnode/ndtxt.cxx +++ b/sw/source/core/txtnode/ndtxt.cxx @@ -3669,11 +3669,9 @@ void SwTxtNode::Modify( const SfxPoolItem* pOldValue, const SfxPoolItem* pNewVal bool bWasNotifiable = m_bNotifiable; m_bNotifiable = false; - // Bug 24616/24617: - // Modify ueberladen, damit beim Loeschen von Vorlagen diese - // wieder richtig verwaltet werden (Outline-Numerierung!!) - // Bug25481: - // bei Nodes im Undo nie _ChgTxtCollUpdateNum rufen. + // Override Modify so that deleting styles works properly (outline + // numbering!). + // Never call _ChgTxtCollUpdateNum for Nodes in Undo. if( pOldValue && pNewValue && RES_FMT_CHG == pOldValue->Which() && GetRegisteredIn() == static_cast<const SwFmtChg*>(pNewValue)->pChangedFmt && GetNodes().IsDocNodes() ) |