diff options
Diffstat (limited to 'sw/source/core/unocore/unoparagraph.cxx')
-rw-r--r-- | sw/source/core/unocore/unoparagraph.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/unocore/unoparagraph.cxx b/sw/source/core/unocore/unoparagraph.cxx index 194f66a795..5de8ca31eb 100644 --- a/sw/source/core/unocore/unoparagraph.cxx +++ b/sw/source/core/unocore/unoparagraph.cxx @@ -612,7 +612,7 @@ throw (lang::IllegalArgumentException, uno::RuntimeException) //SwNode& rTxtNode = pUnoCrsr->GetPoint()->nNode.GetNode(); //const SwAttrSet& rAttrSet = ((SwTxtNode&)rTxtNode).GetSwAttrSet(); - //USHORT nAttrCount = rAttrSet.Count(); + //sal_uInt16 nAttrCount = rAttrSet.Count(); const sal_Int32 nProps = rPropertyNames.getLength(); const OUString *pProp = rPropertyNames.getConstArray(); @@ -847,7 +847,7 @@ throw (uno::RuntimeException) ---------------------------------------------------------------------------*/ bool ::sw::GetDefaultTextContentValue( - uno::Any& rAny, const OUString& rPropertyName, USHORT nWID) + uno::Any& rAny, const OUString& rPropertyName, sal_uInt16 nWID) { if(!nWID) { @@ -858,7 +858,7 @@ bool ::sw::GetDefaultTextContentValue( else if(rPropertyName.equalsAsciiL( SW_PROP_NAME(UNO_NAME_TEXT_WRAP))) nWID = FN_UNO_TEXT_WRAP; else - return FALSE; + return sal_False; } switch(nWID) @@ -873,9 +873,9 @@ bool ::sw::GetDefaultTextContentValue( } break; default: - return FALSE; + return sal_False; } - return TRUE; + return sal_True; } /*-- 11.12.98 08:12:50--------------------------------------------------- @@ -986,7 +986,7 @@ throw (beans::UnknownPropertyException) break; lcl_SwXParagraph_getPropertyStateDEFAULT: default: - if((*ppSet) && SFX_ITEM_SET == (*ppSet)->GetItemState(rEntry.nWID, FALSE)) + if((*ppSet) && SFX_ITEM_SET == (*ppSet)->GetItemState(rEntry.nWID, sal_False)) eRet = beans::PropertyState_DIRECT_VALUE; break; } |