sw/source/core/layout/wsfrm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1855ffeb9108d443deb1d0b6806a18908a5935b1 Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Mar 4 13:03:48 2015 +0100 Avoid unnecessary bad downcast Change-Id: I787f423a9e241c9f30c2fcdcaa4dbc4abc72029f diff --git a/sw/source/core/layout/wsfrm.cxx b/sw/source/core/layout/wsfrm.cxx index aa6e9f8..d6ee2fa 100644 --- a/sw/source/core/layout/wsfrm.cxx +++ b/sw/source/core/layout/wsfrm.cxx @@ -212,7 +212,7 @@ void SwTxtFrm::CheckDirection( bool bVert ) { const SwViewShell *pSh = getRootFrm()->GetCurrShell(); const bool bBrowseMode = pSh && pSh->GetViewOptions()->getBrowseMode(); - CheckDir( GetTxtNode()->GetSwAttrSet().GetFrmDir().GetValue(), bVert, + CheckDir( GetNode()->GetSwAttrSet().GetFrmDir().GetValue(), bVert, true, bBrowseMode ); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits