ooo-build r15291 - in branches/opensuse-11-1: . patches/dev300



Author: pmladek
Date: Thu Feb  5 14:47:26 2009
New Revision: 15291
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15291&view=rev

Log:
2009-02-05  Petr Mladek  <pmladek suse cz>

	* patches/dev300/sw-field-patch.diff: add missing aTxt definition
	  and initialization



Modified:
   branches/opensuse-11-1/ChangeLog
   branches/opensuse-11-1/patches/dev300/sw-field-patch.diff

Modified: branches/opensuse-11-1/patches/dev300/sw-field-patch.diff
==============================================================================
--- branches/opensuse-11-1/patches/dev300/sw-field-patch.diff	(original)
+++ branches/opensuse-11-1/patches/dev300/sw-field-patch.diff	Thu Feb  5 14:47:26 2009
@@ -1847,10 +1847,11 @@
  using namespace ::com::sun::star;
  using namespace ::com::sun::star::i18n;
  using namespace sw::util;
-@@ -288,12 +292,22 @@ xub_StrLen WW8_SwAttrIter::SearchNext( xub_StrLen nStartPos )
+@@ -288,12 +292,23 @@ xub_StrLen WW8_SwAttrIter::SearchNext( xub_StrLen nStartPos )
      xub_StrLen nMinPos = STRING_MAXLEN;
      xub_StrLen i=0;
  
++	const String aTxt = rNd.GetTxt();
 +	xub_StrLen posStart = aTxt.Search(CH_TXT_ATR_FIELDSTART, nStartPos);
 +	xub_StrLen posEnd=aTxt.Search(CH_TXT_ATR_FIELDEND, nStartPos);
 +	xub_StrLen posForm=aTxt.Search(CH_TXT_ATR_FORMELEMENT, nStartPos);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]