diff options
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/ReportController.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index 9e3ced29fdc2..0d4f3afb38a1 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -592,7 +592,7 @@ FeatureState OReportController::GetState(sal_uInt16 _nId) const break; case SID_INSERT_DIAGRAM: aReturn.bEnabled = isEditable(); - aReturn.bInvisible = optional< bool >(!m_bChartEnabled); + aReturn.bInvisible = !m_bChartEnabled; aReturn.bChecked = getDesignView()->GetInsertObj() == OBJ_OLE2; break; case SID_FM_FIXEDTEXT: |