DYING_FLYFRAMEFORMAT not needed anymore
Change-Id: Id9ded246752903f692c0f8254a258fada299d9bf Reviewed-on: https://gerrit.libreoffice.org/34142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
This commit is contained in:
parent
4ae93f7d3b
commit
837545feb6
@ -262,7 +262,6 @@ namespace sw
|
||||
{
|
||||
enum class DrawFrameFormatHintId {
|
||||
DYING,
|
||||
DYING_FLYFRAMEFORMAT, /* possibly can be merged with DYING, if all client handle it and handle it the same */
|
||||
PREPPASTING,
|
||||
PREP_INSERT_FLY,
|
||||
PREP_DELETE_FLY,
|
||||
|
@ -594,17 +594,6 @@ void SwFlyDrawContact::SwClientNotify(const SwModify& rMod, const SfxHint& rHint
|
||||
{
|
||||
pKillDrawHint->m_rpContact = this;
|
||||
}
|
||||
else if (auto pDrawFrameFormatHint = dynamic_cast<const sw::DrawFrameFormatHint*>(&rHint))
|
||||
{
|
||||
switch(pDrawFrameFormatHint->m_eId)
|
||||
{
|
||||
case sw::DrawFrameFormatHintId::DYING_FLYFRAMEFORMAT:
|
||||
dynamic_cast<SwFlyFrameFormat*>(const_cast<SwModify*>(&rMod))->ClearContact();
|
||||
break;
|
||||
default:
|
||||
;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// SwDrawContact
|
||||
|
@ -2889,8 +2889,6 @@ SwFlyFrameFormat::~SwFlyFrameFormat()
|
||||
{
|
||||
SwFrame::DestroyFrame(pLast);
|
||||
} while( nullptr != ( pLast = aIter.Next() ));
|
||||
|
||||
CallSwClientNotify(sw::DrawFrameFormatHint(sw::DrawFrameFormatHintId::DYING_FLYFRAMEFORMAT));
|
||||
}
|
||||
|
||||
/// Creates the Frames if the format describes a paragraph-bound frame.
|
||||
|
Loading…
x
Reference in New Issue
Block a user