diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-21 13:17:09 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2022-06-27 11:32:42 +0200 |
commit | 04073c5fedd33654f242fecb7e39afb07cf0e273 (patch) | |
tree | 467852ad2c7ca41b90c89eff2b6c9e4ae5544617 /sc | |
parent | 5b21b65572610df88986e700b81f1156aff14f65 (diff) |
replace oox::OptValue with std::optional
Change-Id: I16e7179b2851640b4d73665685dcc1e84042ddaf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136270
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/inc/autofilterbuffer.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/oox/autofilterbuffer.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/inc/autofilterbuffer.hxx b/sc/source/filter/inc/autofilterbuffer.hxx index 788be95615c1..6721c185f403 100644 --- a/sc/source/filter/inc/autofilterbuffer.hxx +++ b/sc/source/filter/inc/autofilterbuffer.hxx @@ -42,7 +42,7 @@ struct ApiFilterSettings typedef ::std::vector<css::sheet::TableFilterField3> FilterFieldVector; FilterFieldVector maFilterFields; /// List of UNO API filter settings. - OptValue< bool > mobNeedsRegExp; /// If set, requires regular expressions to be enabled/disabled. + std::optional< bool > mobNeedsRegExp; /// If set, requires regular expressions to be enabled/disabled. explicit ApiFilterSettings(); diff --git a/sc/source/filter/oox/autofilterbuffer.cxx b/sc/source/filter/oox/autofilterbuffer.cxx index 703de7bd510f..3295087d0c7d 100644 --- a/sc/source/filter/oox/autofilterbuffer.cxx +++ b/sc/source/filter/oox/autofilterbuffer.cxx @@ -732,7 +732,7 @@ void AutoFilter::finalizeImport( const Reference< XDatabaseRange >& rxDatabaseRa ::std::vector<TableFilterField3> aFilterFields; // track if columns require to enable or disable regular expressions - OptValue< bool > obNeedsRegExp; + std::optional< bool > obNeedsRegExp; /* Track whether the filter fields of the first filter column are connected with 'or'. In this case, other filter fields cannot be |