summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-12-04 16:18:01 +0200
committerTor Lillqvist <tml@collabora.com>2019-12-05 13:50:21 +0100
commit891b0c54ead076f0458197233a47d227b1b36f64 (patch)
tree1656f53efc4b4da9b22fb7d1e144f94148cdc0eb /svtools
parent55e596956e56b175ab17b682e7c8ac7daeb9289a (diff)
tdf#128468: Add Ruler::GetTabs()
Change-Id: I785f8af1eec54f36721a354c4d3f82d8b86ceb86 Reviewed-on: https://gerrit.libreoffice.org/84419 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-on: https://gerrit.libreoffice.org/84519 Tested-by: Jenkins
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ruler.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/svtools/source/control/ruler.cxx b/svtools/source/control/ruler.cxx
index d123e7e00ece..cee1ca0e70bb 100644
--- a/svtools/source/control/ruler.cxx
+++ b/svtools/source/control/ruler.cxx
@@ -2670,6 +2670,11 @@ void Ruler::SetTabs( sal_uInt32 aTabArraySize, const RulerTab* pTabArray )
ImplUpdate();
}
+const std::vector<RulerTab>& Ruler::GetTabs() const
+{
+ return mpData->pTabs;
+}
+
void Ruler::SetStyle( WinBits nStyle )
{
if ( mnWinStyle != nStyle )