summaryrefslogtreecommitdiffstats
path: root/svx/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-13 12:21:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-13 14:51:15 +0100
commit2235f495e36082ea1f2ccdd6b37b822a81e27279 (patch)
treefff0699bcbbc55b4c2604245bb71dd5b59fc22af /svx/source
parentadd a stock 'Play' button (diff)
downloadcore-2235f495e36082ea1f2ccdd6b37b822a81e27279.tar.gz
core-2235f495e36082ea1f2ccdd6b37b822a81e27279.zip
add a seconds unit
Change-Id: I3507caab5cd61c282102ab21bf034ec54e497af3
Diffstat (limited to 'svx/source')
-rw-r--r--svx/source/svdraw/svdmodel.cxx1
-rw-r--r--svx/source/svdraw/svdtrans.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index 91106dabeb3e..64510af58e76 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -1041,6 +1041,7 @@ void SdrModel::ImpSetUIUnit()
case FUNIT_LINE : break;
case FUNIT_PIXEL : break;
case FUNIT_DEGREE : break;
+ case FUNIT_SECOND : break;
} // switch
// check if mapping is from metric to inch and adapt
diff --git a/svx/source/svdraw/svdtrans.cxx b/svx/source/svdraw/svdtrans.cxx
index b257530e249e..806802c6a0f2 100644
--- a/svx/source/svdraw/svdtrans.cxx
+++ b/svx/source/svdraw/svdtrans.cxx
@@ -779,6 +779,7 @@ void GetMeterOrInch(FieldUnit eFU, short& rnKomma, long& rnMul, long& rnDiv, boo
case FUNIT_LINE : break;
case FUNIT_PIXEL : break;
case FUNIT_DEGREE : break;
+ case FUNIT_SECOND : break;
} // switch
rnKomma=nKomma;
rbMetr=bMetr;