summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-09 18:39:35 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2015-01-09 18:48:46 +0100
commitc92c2a80d4e82193b811928aaff3b42a470d9510 (patch)
tree22459e5b4c637042fcf5604724870592d3b3e167
parenta66bf2318604a2cef24632a4642b4b7f6f2dbec0 (diff)
temp
Change-Id: Ia71c6f0b673f58b804403841a92f7ab30a619e3e
-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 8a00f211df78..5801bbc77624 100644
--- a/sc/source/filter/orcus/interface.cxx
+++ b/sc/source/filter/orcus/interface.cxx
@@ -222,6 +222,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);