summaryrefslogtreecommitdiff
path: root/starmath/source/dialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/dialog.cxx')
-rw-r--r--starmath/source/dialog.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index 564fccc56b7f..0ede24777ee4 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -808,9 +808,8 @@ void SmDistanceDialog::SetCategory(sal_uInt16 nCategory)
sal_uInt16 nDigits;
if (nCategory < 9)
{
- eUnit = FUNIT_CUSTOM;
+ eUnit = FUNIT_PERCENT;
nDigits = 0;
- pMF->SetCustomUnitText(OUString('%'));
}
else
{