sw/source/core/docnode/ndtbl1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0a2d29de086b71522e2b7751400dadcebc0845e9
Author: Stephan Bergmann <sberg...@redhat.com>
Date:   Sun Dec 20 15:48:19 2015 +0100

    loplugin:cstylecast
    
    Change-Id: I986a11f56fa8900bc8ee654ed4a614bb01c353c3

diff --git a/sw/source/core/docnode/ndtbl1.cxx 
b/sw/source/core/docnode/ndtbl1.cxx
index a95cec8..1a53db7 100644
--- a/sw/source/core/docnode/ndtbl1.cxx
+++ b/sw/source/core/docnode/ndtbl1.cxx
@@ -1220,7 +1220,7 @@ bool SwDoc::GetBoxAttr( const SwCursor& rCursor, 
SfxPoolItem& rToFill )
                                     
aBoxes[i]->GetFrameFormat()->GetVertOrient();
                     if( !bOneFound )
                     {
-                        (SwFormatVertOrient&)rToFill = rOrient;
+                        static_cast<SwFormatVertOrient&>(rToFill) = rOrient;
                         bOneFound = true;
                     }
                     else if( rToFill != rOrient )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to