summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/unitconv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/unitconv.cxx')
-rw-r--r--sc/source/core/tool/unitconv.cxx11
1 files changed, 2 insertions, 9 deletions
diff --git a/sc/source/core/tool/unitconv.cxx b/sc/source/core/tool/unitconv.cxx
index 17fe72f5fdfe..883d02d98c69 100644
--- a/sc/source/core/tool/unitconv.cxx
+++ b/sc/source/core/tool/unitconv.cxx
@@ -27,14 +27,9 @@
using namespace utl;
using namespace com::sun::star::uno;
-
-// --------------------------------------------------------------------
-
const sal_Unicode cDelim = 0x01; // Delimiter zwischen From und To
-
-// --- ScUnitConverterData --------------------------------------------
-
+// ScUnitConverterData
ScUnitConverterData::ScUnitConverterData(
const OUString& rFromUnit, const OUString& rToUnit, double fValue ) :
maIndexString(BuildIndexString(rFromUnit, rToUnit)),
@@ -65,8 +60,7 @@ OUString ScUnitConverterData::BuildIndexString(
return aBuf.makeStringAndClear();
}
-// --- ScUnitConverter ------------------------------------------------
-
+// ScUnitConverter
#define CFGPATH_UNIT "Office.Calc/UnitConversion"
#define CFGSTR_UNIT_FROM "FromUnit"
#define CFGSTR_UNIT_TO "ToUnit"
@@ -147,5 +141,4 @@ bool ScUnitConverter::GetValue(
return true;
}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */