From e5dfee7337e2cda0ea517a04e6c7ffec1f67cfdc Mon Sep 17 00:00:00 2001 From: Oliver Specht Date: Mon, 15 Jan 2001 14:57:11 +0000 Subject: TextContent properties corrected --- sw/source/core/unocore/unofield.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sw/source/core/unocore/unofield.cxx b/sw/source/core/unocore/unofield.cxx index 084378483695..0d7c9131b961 100644 --- a/sw/source/core/unocore/unofield.cxx +++ b/sw/source/core/unocore/unofield.cxx @@ -2,9 +2,9 @@ * * $RCSfile: unofield.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: os $ $Date: 2001-01-12 16:12:45 $ + * last change: $Author: os $ $Date: 2001-01-15 15:57:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -2439,17 +2439,17 @@ uno::Any SwXTextField::getPropertyValue(const OUString& rPropertyName) throw UnknownPropertyException(); if(FN_UNO_TEXT_WRAP == pMap->nWID) { - aRet <<= (INT16) WrapTextMode_NONE; + aRet <<= WrapTextMode_NONE; } else if(FN_UNO_ANCHOR_TYPE == pMap->nWID) { - aRet <<= (INT16) TextContentAnchorType_AT_PARAGRAPH; + aRet <<= TextContentAnchorType_AS_CHARACTER; } else if(FN_UNO_ANCHOR_TYPES == pMap->nWID) { uno::Sequence aTypes(1); TextContentAnchorType* pArray = aTypes.getArray(); - pArray[0] = TextContentAnchorType_AT_PARAGRAPH; + pArray[0] = TextContentAnchorType_AS_CHARACTER; aRet.setValue(&aTypes, ::getCppuType((uno::Sequence*)0)); } else if(pField) -- cgit v1.2.3