summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwpstory.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwpstory.cxx')
-rw-r--r--lotuswordpro/source/filter/lwpstory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/lwpstory.cxx b/lotuswordpro/source/filter/lwpstory.cxx
index db757cca43fc..0b15e79a633e 100644
--- a/lotuswordpro/source/filter/lwpstory.cxx
+++ b/lotuswordpro/source/filter/lwpstory.cxx
@@ -198,7 +198,7 @@ void LwpStory::SortPageLayout()
//Get all the pagelayout and store in list
std::vector<LwpPageLayout*> aLayoutList;
rtl::Reference<LwpVirtualLayout> xLayout(GetLayout(nullptr));
- while (xLayout.get())
+ while (xLayout)
{
LwpPageLayout *pLayout = xLayout->IsPage()
? dynamic_cast<LwpPageLayout*>(xLayout.get())
@@ -347,7 +347,7 @@ void LwpStory::XFConvertFrameInPage(XFContentContainer* pCont)
void LwpStory::XFConvertFrameInFrame(XFContentContainer* pCont)
{
rtl::Reference<LwpVirtualLayout> xLayout(GetLayout(nullptr));
- while (xLayout.get())
+ while (xLayout)
{
rtl::Reference<LwpVirtualLayout> xFrameLayout(dynamic_cast<LwpVirtualLayout*>(xLayout->GetChildHead().obj().get()));
o3tl::sorted_vector<LwpVirtualLayout*> aSeen;