summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/optuno.cxx
diff options
context:
space:
mode:
authorMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
committerMikhail Voytenko <mav@openoffice.org>2011-01-17 13:20:22 +0100
commitcd42389ad67b403a07a0dda8e2a6e213def49251 (patch)
tree51e19c743788a549502b7c801c64e11142103310 /sc/source/ui/unoobj/optuno.cxx
parent3d6a5a98cda10e18dacd96028f2bf0ec0b478988 (diff)
removetooltypes01: #i112600# remove tooltypes from sc
Diffstat (limited to 'sc/source/ui/unoobj/optuno.cxx')
-rw-r--r--sc/source/ui/unoobj/optuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/optuno.cxx b/sc/source/ui/unoobj/optuno.cxx
index 0d277fdb19fe..a23ad8fe4793 100644
--- a/sc/source/ui/unoobj/optuno.cxx
+++ b/sc/source/ui/unoobj/optuno.cxx
@@ -97,7 +97,7 @@ sal_Bool ScDocOptionsHelper::setPropertyValue( ScDocOptions& rOptions,
{
sal_Int32 nIntVal = 0;
if ( aValue >>= nIntVal )
- rOptions.SetIterCount( (USHORT)nIntVal );
+ rOptions.SetIterCount( (sal_uInt16)nIntVal );
}
break;
case PROP_UNO_ITEREPSILON :
@@ -176,7 +176,7 @@ uno::Any ScDocOptionsHelper::getPropertyValue(
break;
case PROP_UNO_NULLDATE:
{
- USHORT nD, nM, nY;
+ sal_uInt16 nD, nM, nY;
rOptions.GetDate( nD, nM, nY );
util::Date aDate( nD, nM, nY );
aRet <<= aDate;
@@ -216,7 +216,7 @@ void SAL_CALL ScDocOptionsObj::setPropertyValue(
{
ScUnoGuard aGuard;
- BOOL bDone = ScDocOptionsHelper::setPropertyValue( aOptions, *GetPropertySet().getPropertyMap(), aPropertyName, aValue );
+ sal_Bool bDone = ScDocOptionsHelper::setPropertyValue( aOptions, *GetPropertySet().getPropertyMap(), aPropertyName, aValue );
if (!bDone)
ScModelObj::setPropertyValue( aPropertyName, aValue );