summaryrefslogtreecommitdiff
path: root/lotuswordpro/source/filter/lwplayout.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lotuswordpro/source/filter/lwplayout.cxx')
-rw-r--r--lotuswordpro/source/filter/lwplayout.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx
index d79217319ff3..ce17fab7970f 100644
--- a/lotuswordpro/source/filter/lwplayout.cxx
+++ b/lotuswordpro/source/filter/lwplayout.cxx
@@ -951,7 +951,7 @@ sal_uInt16 LwpMiddleLayout::GetScaleMode()
return GetLayoutScale()->GetScaleMode();
rtl::Reference<LwpObject> xBase(GetBasedOnStyle());
if (xBase.is())
- return dynamic_cast<LwpMiddleLayout&>(*xBase.get()).GetScaleMode();
+ return dynamic_cast<LwpMiddleLayout&>(*xBase).GetScaleMode();
else
return (LwpLayoutScale::FIT_IN_FRAME | LwpLayoutScale::MAINTAIN_ASPECT_RATIO);
}
@@ -963,7 +963,7 @@ sal_uInt16 LwpMiddleLayout::GetScaleTile()
? 1 : 0;
rtl::Reference<LwpObject> xBase(GetBasedOnStyle());
if (xBase.is())
- return dynamic_cast<LwpMiddleLayout&>(*xBase.get()).GetScaleTile();
+ return dynamic_cast<LwpMiddleLayout&>(*xBase).GetScaleTile();
else
return 0;
}
@@ -985,7 +985,7 @@ sal_uInt16 LwpMiddleLayout::GetScaleCenter()
{
rtl::Reference<LwpObject> xBase(GetBasedOnStyle());
if (xBase.is())
- nRet = dynamic_cast<LwpMiddleLayout&>(*xBase.get()).GetScaleCenter();
+ nRet = dynamic_cast<LwpMiddleLayout&>(*xBase).GetScaleCenter();
}
m_bGettingScaleCenter = false;