summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-01-15 14:57:11 +0000
committerOliver Specht <os@openoffice.org>2001-01-15 14:57:11 +0000
commite5dfee7337e2cda0ea517a04e6c7ffec1f67cfdc (patch)
tree058b61e73f0eeb6165be151bc3b32ddf9c43e64b
parent1ff9345a5683690126e80095c6e0466c71c7b623 (diff)
TextContent properties corrected
-rw-r--r--sw/source/core/unocore/unofield.cxx10
1 files 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<TextContentAnchorType> aTypes(1);
TextContentAnchorType* pArray = aTypes.getArray();
- pArray[0] = TextContentAnchorType_AT_PARAGRAPH;
+ pArray[0] = TextContentAnchorType_AS_CHARACTER;
aRet.setValue(&aTypes, ::getCppuType((uno::Sequence<TextContentAnchorType>*)0));
}
else if(pField)