diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-06-08 17:04:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-06-08 17:35:00 +0100 |
commit | 8d5a2116bc198f51ee394ca48c48f04ef4ba1658 (patch) | |
tree | df0cb6f42a246bb8d39e322c86ad2ce1b6bce428 /include | |
parent | a941df0f89ab8222ebd22c697e23fb539a3730ed (diff) |
add (and call before dtor) Commit to SvtSearchOptions
i.e. follow up to
commit 465359c35fcd8c30a2bedd3d0beb07c0c1c36cba
Author: Michael Stahl <mstahl@redhat.com>
Date: Wed Mar 11 16:39:24 2015 +0100
do not call virtual Commit() from dtors of utl::ConfigItem subclasses
~SvtAppFilterOptions_Impl() demonstrates that this is a bad idea, by not
invoking its subclasses' ImplCommit() but its own.
to avoid assert in SvtSearchOptions dtor
Change-Id: I0eaf93450e1daddb81a9463f2c1df48a334dfb22
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/searchopt.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/unotools/searchopt.hxx b/include/unotools/searchopt.hxx index 83bbed45b5cb..a34e4490b56f 100644 --- a/include/unotools/searchopt.hxx +++ b/include/unotools/searchopt.hxx @@ -35,6 +35,8 @@ public: SvtSearchOptions(); ~SvtSearchOptions(); + void Commit(); + sal_Int32 GetTransliterationFlags() const; // General Options |