diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-08-07 12:08:07 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2021-08-12 13:10:12 +0200 |
commit | 422150be82ed892ecf31a8ab76c1d1ca801dcda8 (patch) | |
tree | 9241383bb3c9604d7684c81987a1c7f97c3addc9 /sw/inc/swtblfmt.hxx | |
parent | 56ace1c8728ffc9f34901497fa907818412046ea (diff) |
Capsulate TableBox<>TableBoxFormat relation in a function
Change-Id: I731e9bae04147f7453721661228e78a16ed585db
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120160
Tested-by: Jenkins
Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org>
Diffstat (limited to 'sw/inc/swtblfmt.hxx')
-rw-r--r-- | sw/inc/swtblfmt.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/inc/swtblfmt.hxx b/sw/inc/swtblfmt.hxx index e61049919df1..a8ba7d31f630 100644 --- a/sw/inc/swtblfmt.hxx +++ b/sw/inc/swtblfmt.hxx @@ -60,6 +60,9 @@ class SAL_DLLPUBLIC_RTTI SwTableBoxFormat final: public SwFrameFormat public: virtual bool supportsFullDrawingLayerFillAttributeSet() const override; + SwTableBox* GetTableBox(); + const SwTableBox* GetTableBox() const + { return const_cast<SwTableBoxFormat*>(this)->GetTableBox(); }; }; #endif |