sc/source/ui/inc/hdrcont.hxx | 1 + sc/source/ui/view/hdrcont.cxx | 6 ++++++ 2 files changed, 7 insertions(+)
New commits: commit 60c1d1922b706a8e94d652dd216312278363b972 Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Thu Feb 8 21:09:04 2018 +0100 add method to get selected range for header bar Change-Id: I71f5a1e5240ffbc34d3c6ce86f81b20213c26b6d Reviewed-on: https://gerrit.libreoffice.org/49455 Reviewed-by: Markus Mohrhard <markus.mohrh...@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrh...@googlemail.com> diff --git a/sc/source/ui/inc/hdrcont.hxx b/sc/source/ui/inc/hdrcont.hxx index 781edd4142ac..39da558aec72 100644 --- a/sc/source/ui/inc/hdrcont.hxx +++ b/sc/source/ui/inc/hdrcont.hxx @@ -121,6 +121,7 @@ public: long GetSmallWidth() const { return nSmallWidth; } long GetBigWidth() const { return nBigWidth; } void SetWidth( long nNew ); + void GetMarkRange(SCCOLROW& rStart, SCCOLROW& rEnd) const; }; #endif diff --git a/sc/source/ui/view/hdrcont.cxx b/sc/source/ui/view/hdrcont.cxx index 07b69115fdc8..75c149543cd0 100644 --- a/sc/source/ui/view/hdrcont.cxx +++ b/sc/source/ui/view/hdrcont.cxx @@ -1032,4 +1032,10 @@ void ScHeaderControl::SetMarking( bool /* bSet */ ) { } +void ScHeaderControl::GetMarkRange(SCCOLROW& rStart, SCCOLROW& rEnd) const +{ + rStart = nMarkStart; + rEnd = nMarkEnd; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits