diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-07-08 16:27:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-07-08 18:40:11 +0100 |
commit | d0e65716347377628635c053ccb425d6284e3533 (patch) | |
tree | 02b9e186282577a295a9fefaa35dd1fdb8ea1f82 /svx/source/svdraw | |
parent | 94956b3b29ae761a793363ec9e9e27fb612d7444 (diff) |
add degrees and pixels as known spin field units
Change-Id: I5937843a5c5485f469ef1fb6b5844aa15c33a14d
Diffstat (limited to 'svx/source/svdraw')
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdtrans.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index 06119bb91e52..e29c94a6b894 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -1040,6 +1040,8 @@ void SdrModel::ImpSetUIUnit() // TODO: Add code to handle the following if needed (added to remove warning) case FUNIT_CHAR : break; case FUNIT_LINE : break; + case FUNIT_PIXEL : break; + case FUNIT_DEGREE : 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 60710edb5229..b257530e249e 100644 --- a/svx/source/svdraw/svdtrans.cxx +++ b/svx/source/svdraw/svdtrans.cxx @@ -777,6 +777,8 @@ void GetMeterOrInch(FieldUnit eFU, short& rnKomma, long& rnMul, long& rnDiv, boo // TODO: Add code to handle the following (added to remove warning) case FUNIT_CHAR : break; case FUNIT_LINE : break; + case FUNIT_PIXEL : break; + case FUNIT_DEGREE : break; } // switch rnKomma=nKomma; rbMetr=bMetr; |