diff options
Diffstat (limited to 'lotuswordpro/source/filter/lwpfribsection.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpfribsection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpfribsection.cxx b/lotuswordpro/source/filter/lwpfribsection.cxx index ccb7307b4fe7..de536253f24e 100644 --- a/lotuswordpro/source/filter/lwpfribsection.cxx +++ b/lotuswordpro/source/filter/lwpfribsection.cxx @@ -132,8 +132,8 @@ void LwpFribSection::SetSectionName() */ LwpPageLayout* LwpFribSection::GetPageLayout() { - if(GetSection()) - return GetSection()->GetPageLayout(); + if (LwpSection* pSection = GetSection()) + return pSection->GetPageLayout(); return nullptr; } |