summaryrefslogtreecommitdiff
path: root/svtools/source/misc/unitconv.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/unitconv.cxx')
-rw-r--r--svtools/source/misc/unitconv.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/svtools/source/misc/unitconv.cxx b/svtools/source/misc/unitconv.cxx
index fa92a6ecb0be..17adaeaecd81 100644
--- a/svtools/source/misc/unitconv.cxx
+++ b/svtools/source/misc/unitconv.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -6,9 +7,6 @@
*
* OpenOffice.org - a multi-platform office productivity suite
*
- * $RCSfile: dlgutil.cxx,v $
- * $Revision: 1.17 $
- *
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
@@ -63,6 +61,9 @@ void SetFieldUnit( MetricField& rField, FieldUnit eUnit, sal_Bool bAll )
rField.SetUnit( eUnit );
switch( eUnit )
{
+ // _CHAR and _LINE sets the step of "char" and "line" unit, they are same as FUNIT_MM
+ case FUNIT_CHAR:
+ case FUNIT_LINE:
case FUNIT_MM:
rField.SetSpinSize( 50 );
break;
@@ -761,3 +762,4 @@ long TransformMetric( long nVal, FieldUnit aOld, FieldUnit aNew )
return ConvertTable[nOld][nNew]( nVal );
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */