diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2019-08-12 03:27:52 +0800 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2019-08-12 03:27:52 +0800 |
commit | 4bf7014ba4b265fa0947bf4e6cc8bbee8f2ab94f (patch) | |
tree | 977e4e6c567d2acb8aad08b2e2858b2691e687eb | |
parent | 816332b04ded68f0729bef34dd8774cb8fdabaf1 (diff) |
tdf#126837: fix incorrect handling of visible flag for chart titles
Change-Id: Idb8dfa18e924324dcf27339fd18ff90616651d40
-rw-r--r-- | chart2/source/view/main/VTitle.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chart2/source/view/main/VTitle.cxx b/chart2/source/view/main/VTitle.cxx index d0633263f8af..967edd72f55a 100644 --- a/chart2/source/view/main/VTitle.cxx +++ b/chart2/source/view/main/VTitle.cxx @@ -113,6 +113,9 @@ void VTitle::createShapes( m_nYPos = rPos.Y; uno::Reference< beans::XPropertySet > xTitleProperties( m_xTitle, uno::UNO_QUERY ); + sal_Bool bVisible = true; + if ((xTitleProperties->getPropertyValue("Visible") >>= bVisible) && !bVisible) + return; try { |