summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chart2/source/view/main/VTitle.cxx3
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
{