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>2020-05-18 08:39:48 +0200
commita6e4f1e18b510d0644802232262174b5e19085c6 (patch)
tree06580605dc57a4451a8cd3c341a1b0d3b379c7c0 /svtools
parentb703ac70fca000dc9e45f2faad33996305ca8ecf (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 Reviewed-on: https://gerrit.libreoffice.org/84759 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94206
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 )