diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 21:32:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-12-09 21:32:33 +0000 |
commit | 66686e443b568ad5aab1b32b3f25eb73487cfef6 (patch) | |
tree | a652ef355e52db2690aa05d91e74b4d4bf5a921d /lotuswordpro/source/filter/lwpnotes.cxx | |
parent | display as entire col/row also if both anchors relative, tdf#92779 (diff) | |
download | core-66686e443b568ad5aab1b32b3f25eb73487cfef6.tar.gz core-66686e443b568ad5aab1b32b3f25eb73487cfef6.zip |
guard against infinite recursion on registering styles
Change-Id: Iabedfcce9d8ef21172e6bd0d654f3a258aae97e3
Diffstat (limited to 'lotuswordpro/source/filter/lwpnotes.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpnotes.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwpnotes.cxx b/lotuswordpro/source/filter/lwpnotes.cxx index 854d46b798d7..7b2221a80a67 100644 --- a/lotuswordpro/source/filter/lwpnotes.cxx +++ b/lotuswordpro/source/filter/lwpnotes.cxx @@ -89,7 +89,7 @@ void LwpFribNote::RegisterNewStyle() LwpFrib::RegisterStyle(m_pPara->GetFoundry()); //register foonote style pLayout->SetFoundry(m_pPara->GetFoundry()); - pLayout->RegisterStyle(); + pLayout->DoRegisterStyle(); } } @@ -169,7 +169,7 @@ void LwpNoteLayout::RegisterStyle() if(pTextLayout) { pTextLayout->SetFoundry(GetFoundry()); - pTextLayout->RegisterStyle(); + pTextLayout->DoRegisterStyle(); } } @@ -281,7 +281,7 @@ void LwpNoteTextLayout::RegisterStyle() if(pContent.is()) { pContent->SetFoundry(GetFoundry()); - pContent->RegisterStyle(); + pContent->DoRegisterStyle(); } } |