[Libreoffice-commits] core.git: lotuswordpro/source
Caolán McNamara
caolanm at redhat.com
Mon Jun 19 11:45:28 UTC 2017
lotuswordpro/source/filter/lwplayout.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3b998365f447b33f3e3932e0d20f6f4c9657a915
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jun 19 12:44:12 2017 +0100
pLayout can't be null here
Change-Id: Ic8a9691a8ddf32eaf58227a9533113f9bac596eb
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx
index c241e84f1898..373c6f34f9b5 100644
--- a/lotuswordpro/source/filter/lwplayout.cxx
+++ b/lotuswordpro/source/filter/lwplayout.cxx
@@ -371,12 +371,12 @@ LwpVirtualLayout* LwpVirtualLayout::FindChildByType(LWP_LAYOUT_TYPE eType)
while(!rID.IsNull())
{
LwpVirtualLayout * pLayout = dynamic_cast<LwpVirtualLayout *>(rID.obj().get());
- if(!pLayout)
+ if (!pLayout)
{
break;
}
- if (pLayout && pLayout->GetLayoutType() == eType)
+ if (pLayout->GetLayoutType() == eType)
{
return pLayout;
}
More information about the Libreoffice-commits
mailing list