[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Wed Aug 6 09:32:24 PDT 2014


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

New commits:
commit 14e81a12b0fa6a7bcd9fb29870db8b8bb67b25dd
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Aug 6 18:31:58 2014 +0200

    Not every SwGluePortion is an SwFlyPortion
    
    Change-Id: Ia14993cc511cb2569b7110ad5169a977cbf7a200

diff --git a/sw/source/core/text/itradj.cxx b/sw/source/core/text/itradj.cxx
index 82fb1a7..3a9ce0e 100644
--- a/sw/source/core/text/itradj.cxx
+++ b/sw/source/core/text/itradj.cxx
@@ -651,7 +651,7 @@ void SwTxtAdjuster::CalcFlyAdjust( SwLineLayout *pCurrent )
                 }
             }
 
-            pGlue = (SwFlyPortion*)pPos;
+            pGlue = (SwGluePortion*)pPos;
             bComplete = false;
         }
         nLen = nLen + pPos->GetLen();


More information about the Libreoffice-commits mailing list