diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-02 12:18:46 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2020-11-02 15:06:04 +0100 |
commit | 4839756fcb381e37f7c4cc65e392d772b325c8b4 (patch) | |
tree | 90862893a81d1c046288f919689bd984add6c5ed /sw/source/core/fields/fldbas.cxx | |
parent | d0292dd0a3bd241ab073bea6f5a985b8be154d78 (diff) |
SwFieldType: ModifyNotification no more ...
Change-Id: Idb6c0a6cca5df729037067f6def5594eed2cca19
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105178
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/source/core/fields/fldbas.cxx')
-rw-r--r-- | sw/source/core/fields/fldbas.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sw/source/core/fields/fldbas.cxx b/sw/source/core/fields/fldbas.cxx index ce63d378f3fd..2a8da69042cb 100644 --- a/sw/source/core/fields/fldbas.cxx +++ b/sw/source/core/fields/fldbas.cxx @@ -40,6 +40,7 @@ #include <authfld.hxx> #include <calbck.hxx> #include <viewsh.hxx> +#include <hints.hxx> using namespace ::com::sun::star; using namespace nsSwDocInfoSubType; @@ -144,6 +145,17 @@ void SwFieldType::PutValue( const uno::Any& , sal_uInt16 ) { } +void SwFieldType::UpdateFields() const +{ + const_cast<SwFieldType*>(this)->SwClientNotify(*this, sw::LegacyModifyHint(nullptr, nullptr)); +} + +void SwFieldType::PrintHiddenPara() +{ + const SwMsgPoolItem aHint(RES_HIDDENPARA_PRINT); + SwClientNotify(*this, sw::LegacyModifyHint(&aHint, nullptr)); +} + void SwFieldType::dumpAsXml(xmlTextWriterPtr pWriter) const { std::vector<SwFormatField*> vFields; |