[Libreoffice-commits] .: 2 commits - binfilter/bf_sw
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Sun Jan 23 23:36:56 PST 2011
binfilter/bf_sw/source/core/text/sw_txtfly.cxx | 10 -------
binfilter/bf_sw/source/core/txtnode/sw_ndtxt.cxx | 32 -----------------------
2 files changed, 42 deletions(-)
New commits:
commit 922151e843fff009257218fe9f9ed0df98e3b7eb
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Mon Jan 24 01:51:03 2011 +0100
Remove VERT_DISTANCE directive.
diff --git a/binfilter/bf_sw/source/core/text/sw_txtfly.cxx b/binfilter/bf_sw/source/core/text/sw_txtfly.cxx
index 2628d3f..4e0a6f9 100644
--- a/binfilter/bf_sw/source/core/text/sw_txtfly.cxx
+++ b/binfilter/bf_sw/source/core/text/sw_txtfly.cxx
@@ -43,15 +43,8 @@
#include "frmtool.hxx" // ::DrawGraphic
#include <pormulti.hxx> // SwMultiPortion
-#ifdef VERT_DISTANCE
-#include <math.h>
-#endif
-
-
#include <bf_svx/obj3d.hxx>
-
#include <bf_svx/txtrange.hxx>
-
#include <bf_svx/lrspitem.hxx>
#include <bf_svx/ulspitem.hxx>
#include <txtflcnt.hxx>
@@ -59,9 +52,6 @@
#include <fmtanchr.hxx>
#include <fmtflcnt.hxx>
-
-
-
#include <pagefrm.hxx>
#include <pagedesc.hxx> // SwPageDesc
#include <tgrditem.hxx>
commit 8cfee684ae04ebd78072e8065305952341becffa
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Mon Jan 24 01:50:46 2011 +0100
Remove CUTNOEXPAND directive.
diff --git a/binfilter/bf_sw/source/core/txtnode/sw_ndtxt.cxx b/binfilter/bf_sw/source/core/txtnode/sw_ndtxt.cxx
index 4e01787..4a110ce 100644
--- a/binfilter/bf_sw/source/core/txtnode/sw_ndtxt.cxx
+++ b/binfilter/bf_sw/source/core/txtnode/sw_ndtxt.cxx
@@ -1652,22 +1652,6 @@ SV_DECL_PTRARR(SwpHts,SwTxtAttr*,1,1)
/*?*/ if( bUpdate )
/*?*/ // Update aller Indizies
/*?*/ Update( rDestStart, nLen );
-/*?*/ #ifdef CUTNOEXPAND
-/*?*/ else
-/*?*/ // wird am Ende eingefuegt, nur die Attribut-Indizies verschieben
-/*?*/ if( 0 < nLen && 0 < nInitSize && pSwpHints )
-/*?*/ {
-/*?*/ // siehe nach, ob an der Einfuegeposition das Ende eines
-/*?*/ // Attributes stand. Ist es kein Feld, muss es expandiert werden !!!
-/*?*/ for( n = 0; n < pSwpHints->Count(); n++ )
-/*?*/ {
-/*?*/ pHt = pSwpHints->GetHt(n);
-/*?*/ if( 0 != ( pEndIdx = pHt->GetEnd() ) &&
-/*?*/ *pEndIdx == nInitSize )
-/*?*/ *pEndIdx += nLen;
-/*?*/ }
-/*?*/ }
-/*?*/ #endif
/*?*/ CHECK_SWPHINTS(this);
/*?*/
/*?*/ Update( rStart, nLen, TRUE );
@@ -1703,22 +1687,6 @@ SV_DECL_PTRARR(SwpHts,SwTxtAttr*,1,1)
/*N*/ if( bUpdate )
/*N*/ // Update aller Indizies
/*N*/ pDest->Update( rDestStart, nLen);
-/*N*/ #ifdef CUTNOEXPAND
-/*N*/ else
-/*N*/ // wird am Ende eingefuegt, nur die Attribut-Indizies verschieben
-/*N*/ if( 0 < nLen && 0 < nInitSize && pDest->pSwpHints )
-/*N*/ {
-/*N*/ // siehe nach, ob an der Einfuegeposition das Ende eines
-/*N*/ // Attributes stand. Ist es kein Feld, muss es expandiert werden !!!
-/*N*/ for( USHORT n = 0; n < pDest->pSwpHints->Count(); n++ )
-/*N*/ {
-/*N*/ pHt = pDest->pSwpHints->GetHt(n);
-/*N*/ if( 0 != ( pEndIdx = pHt->GetEnd() ) &&
-/*N*/ *pEndIdx == nInitSize )
-/*N*/ *pEndIdx += nLen;
-/*N*/ }
-/*N*/ }
-/*N*/ #endif
/*N*/ CHECK_SWPHINTS(pDest);
/*N*/
/*N*/ USHORT nEnd = rStart.GetIndex() + nLen;
More information about the Libreoffice-commits
mailing list