summaryrefslogtreecommitdiff
path: root/sw/source/ui/utlui/prcntfld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/utlui/prcntfld.cxx')
-rw-r--r--sw/source/ui/utlui/prcntfld.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/ui/utlui/prcntfld.cxx b/sw/source/ui/utlui/prcntfld.cxx
index 9ab9d9f47b34..f439c1fe1139 100644
--- a/sw/source/ui/utlui/prcntfld.cxx
+++ b/sw/source/ui/utlui/prcntfld.cxx
@@ -74,7 +74,7 @@ void PercentField::SetRefValue(sal_Int64 nValue)
Beschreibung:
--------------------------------------------------------------------*/
-void PercentField::ShowPercent(BOOL bPercent)
+void PercentField::ShowPercent(sal_Bool bPercent)
{
if ((bPercent && GetUnit() == FUNIT_CUSTOM) ||
(!bPercent && GetUnit() != FUNIT_CUSTOM))
@@ -293,10 +293,10 @@ sal_Int64 PercentField::DenormalizePercent(sal_Int64 nValue)
Beschreibung:
--------------------------------------------------------------------*/
-BOOL PercentField::IsValueModified()
+sal_Bool PercentField::IsValueModified()
{
if (GetUnit() == FUNIT_CUSTOM)
- return TRUE;
+ return sal_True;
else
return MetricField::IsValueModified();
}
@@ -305,9 +305,9 @@ BOOL PercentField::IsValueModified()
Beschreibung:
--------------------------------------------------------------------*/
-sal_Int64 PercentField::ImpPower10( USHORT n )
+sal_Int64 PercentField::ImpPower10( sal_uInt16 n )
{
- USHORT i;
+ sal_uInt16 i;
sal_Int64 nValue = 1;
for ( i=0; i < n; i++ )