From 14e81a12b0fa6a7bcd9fb29870db8b8bb67b25dd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 6 Aug 2014 18:31:58 +0200 Subject: Not every SwGluePortion is an SwFlyPortion Change-Id: Ia14993cc511cb2569b7110ad5169a977cbf7a200 --- sw/source/core/text/itradj.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') diff --git a/sw/source/core/text/itradj.cxx b/sw/source/core/text/itradj.cxx index 82fb1a7c63e3..3a9ce0e6ddeb 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(); -- cgit