diff options
-rw-r--r-- | sw/source/core/layout/pagechg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/pagechg.cxx b/sw/source/core/layout/pagechg.cxx index f1307bcdd443..4808dd545e6e 100644 --- a/sw/source/core/layout/pagechg.cxx +++ b/sw/source/core/layout/pagechg.cxx @@ -2208,7 +2208,7 @@ bool SwRootFrm::IsLeftToRightViewLayout() const // #i88036# // Only ask a non-empty page frame for its layout direction const SwPageFrm& rPage = - dynamic_cast<const SwPageFrm*>(Lower())->GetFormatPage(); + dynamic_cast<const SwPageFrm&>(*Lower()).GetFormatPage(); return !rPage.IsRightToLeft() && !rPage.IsVertical(); } |