summaryrefslogtreecommitdiff
path: root/sw/inc/dbfld.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-10-04 17:52:07 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-10-05 12:39:45 +0200
commit4ada921dbb6a431b632cfccd06178dad68860ab6 (patch)
tree6ee46736cfcfe66ac5eefc18efc14dd546c9b59d /sw/inc/dbfld.hxx
parentc42dc1be0c3161e621ed0a667ae6b047f8bb23d4 (diff)
Evaluate family never passed a null SwDoc*
ditto: SwTemplNameFieldType ctor lcl_RestoreRedlines never passed a null SwDoc* lcl_InsAttr SwFileNameFieldType ctor SwRefPageGetFieldType ctor SwJumpEditFieldType ctor SwPostItFieldType ctor SwScriptFieldType ctor SwMacroFieldType ctor Change-Id: I61fa1b0e5fba16f9d1be1880dde6c487dca88374 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103927 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/dbfld.hxx')
-rw-r--r--sw/inc/dbfld.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/dbfld.hxx b/sw/inc/dbfld.hxx
index 1c0d0db2c30f..5d95036246a3 100644
--- a/sw/inc/dbfld.hxx
+++ b/sw/inc/dbfld.hxx
@@ -167,7 +167,7 @@ public:
virtual OUString ExpandImpl(SwRootFrame const* pLayout) const override;
virtual std::unique_ptr<SwField> Copy() const override;
- void Evaluate(SwDoc const *);
+ void Evaluate(const SwDoc&);
inline void SetCondValid(bool bCond);
inline bool IsCondValid() const;
@@ -209,7 +209,7 @@ public:
inline bool IsCondValid() const;
inline void SetCondValid(bool bCond);
- void Evaluate(SwDoc const *);
+ void Evaluate(const SwDoc&);
// Condition
virtual OUString GetPar1() const override;
@@ -271,7 +271,7 @@ public:
virtual OUString ExpandImpl(SwRootFrame const* pLayout) const override;
virtual std::unique_ptr<SwField> Copy() const override;
- void Evaluate(SwDoc const *);
+ void Evaluate(const SwDoc&);
inline long GetSetNumber() const;
inline void SetSetNumber(long nNum);