summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2018-11-09 15:52:14 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2018-11-10 09:16:53 +0100
commite3560f4770487c8d38463fb4a9a63325abc385f9 (patch)
treecc2ea6d5d18de966e4677ebfd846c1bf5ec5c216 /reportdesign
parent77e3cb338f576757fd875bc60952ac22530f6a7a (diff)
Replace deprecated boost::optional::reset(val) with operator =
Change-Id: I7340a561e0df0c781fd834388deb4b9f83800f9b Reviewed-on: https://gerrit.libreoffice.org/63221 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx2
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: