Kaydet (Commit) 3022266d authored tarafından Caolán McNamara's avatar Caolán McNamara Kaydeden (comit) Andras Timar

guard against infinite recursion

Change-Id: I43e195df570990f21c780311a98be64b682e5315
(cherry picked from commit 338c6ba3)
Reviewed-on: https://gerrit.libreoffice.org/20582Reviewed-by: 's avatarDavid Tardon <dtardon@redhat.com>
Tested-by: 's avatarDavid Tardon <dtardon@redhat.com>
(cherry picked from commit 1aba52d1)
üst e97016f4
......@@ -540,7 +540,7 @@ LwpDocument* LwpDocument::GetPreviousDivision()
LwpDocument* pDivision = GetLastDivision();
while(pDivision)
while (pDivision && pDivision != this)
{
LwpDocument* pContentDivision = pDivision->GetLastDivisionWithContents();
if(pContentDivision)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment