summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-09 18:39:35 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-08-28 02:03:42 +0200
commit9a556f56939e131f62de88cd0286f24c0fa6dc9c (patch)
tree7b8affca9eef3dcb8ef66c80aeb3fc1e59a74afa /sc
parentf1310337481f30465f47f46adac98f88b1f95104 (diff)
temp
Change-Id: Ia71c6f0b673f58b804403841a92f7ab30a619e3e
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/orcus/interface.cxx20
1 files changed, 20 insertions, 0 deletions
diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx
index 9cad8e9f8cf3..e1db5955554e 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -221,6 +221,26 @@ ScOrcusSheetProperties::~ScOrcusSheetProperties()
{
}
+namespace {
+
+double translateToInternal(double nVal, orcus::length_unit_t unit)
+{
+ switch(unit)
+ {
+ case orcus::length_unit_inch:
+ case orcus::length_unit_twip:
+ case orcus::length_unit_point:
+ case orcus::length_unit_centimeter:
+ case orcus::length_unit_unknown:
+ default:
+ break;
+ }
+ return 0;
+}
+
+
+}
+
void ScOrcusSheetProperties::set_column_width(os::col_t col, double width, orcus::length_unit_t /*unit*/)
{
mrDoc.getDoc().SetColWidthOnly(col, mnTab, width);