From 34818723faba834b4e0d84558cd5623b08de5469 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 17 Jun 2002 09:19:03 +0000 Subject: [PATCH] #100196# Cannot have annotations outside maintext in msword :-( --- sw/source/filter/ww8/ww8atr.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index 4663ca9309ea..2d9d53b336b6 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ww8atr.cxx,v $ * - * $Revision: 1.37 $ + * $Revision: 1.38 $ * - * last change: $Author: cmc $ $Date: 2002-06-10 10:33:55 $ + * last change: $Author: cmc $ $Date: 2002-06-17 10:19:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2068,6 +2068,8 @@ static Writer& OutWW8_SwField( Writer& rWrt, const SfxPoolItem& rHt ) break; case RES_POSTITFLD: + //Sadly only possible for word in main document text + if (rWW8Wrt.nTxtTyp == TXT_MAINTEXT) { const SwPostItField& rPFld = *(SwPostItField*)pFld; rWW8Wrt.pAtn->Append( rWW8Wrt.Fc2Cp( rWrt.Strm().Tell() ), rPFld );