From 933ae1905617a2e2cc177a34a7060a2b26e5827c Mon Sep 17 00:00:00 2001 From: Jaskaran Singh Date: Thu, 28 Jul 2016 15:40:22 +0530 Subject: [PATCH] Reform orcus interface to set border width Change-Id: Ic93b334205221548e4bd7920551034b1ccee4fa8 --- sc/source/filter/inc/orcusinterface.hxx | 2 +- sc/source/filter/orcus/interface.cxx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sc/source/filter/inc/orcusinterface.hxx b/sc/source/filter/inc/orcusinterface.hxx index 9afc218..f3520b4 100644 --- a/sc/source/filter/inc/orcusinterface.hxx +++ b/sc/source/filter/inc/orcusinterface.hxx @@ -417,7 +417,7 @@ public: orcus::spreadsheet::color_elem_t red, orcus::spreadsheet::color_elem_t green, orcus::spreadsheet::color_elem_t blue) override; - virtual void set_border_width(orcus::spreadsheet::border_direction_t dir, orcus::length_t width) override; + virtual void set_border_width(orcus::spreadsheet::border_direction_t dir, double val, orcus::length_unit_t unit) override; virtual size_t commit_border() override; // cell protection diff --git a/sc/source/filter/orcus/interface.cxx b/sc/source/filter/orcus/interface.cxx index 5f30120..ff8c7465 100644 --- a/sc/source/filter/orcus/interface.cxx +++ b/sc/source/filter/orcus/interface.cxx @@ -1318,8 +1318,8 @@ void ScOrcusStyles::set_border_color(orcus::spreadsheet::border_direction_t dir, current_line.maColor = Color(alpha, red, green, blue); } -void ScOrcusStyles::set_border_width(orcus::spreadsheet::border_direction_t /* dir */, orcus::length_t /* width */) +void ScOrcusStyles::set_border_width(orcus::spreadsheet::border_direction_t /* dir */, double /* val */, orcus::length_unit_t /* unit */) { } size_t ScOrcusStyles::commit_border() -- 2.9.3