summaryrefslogtreecommitdiff
path: root/sw/inc/tblafmt.hxx
diff options
context:
space:
mode:
authorJakub Trzebiatowski <ubap.dev@gmail.com>2016-08-02 14:57:17 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-08-10 07:40:53 +0000
commit0943ee2decb8d5a1a2a5bf3b1c233934a89e9c97 (patch)
tree535b6bdbc808ab4119a5e6aa73d408645414c4b5 /sw/inc/tblafmt.hxx
parent1b482aec4e7b6aec86fb20bcda555c4060a80332 (diff)
GSoC Writer Table Styles; Create by example; fix undo
- Create style by example, tracked by undo; - Fixed delete style, now is tracked by undo Change-Id: Ic39b549b0b970b1b15001d527a82fb26e4a630aa Reviewed-on: https://gerrit.libreoffice.org/27990 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sw/inc/tblafmt.hxx')
-rw-r--r--sw/inc/tblafmt.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/tblafmt.hxx b/sw/inc/tblafmt.hxx
index 92bd534cdc28..c403cb0d0435 100644
--- a/sw/inc/tblafmt.hxx
+++ b/sw/inc/tblafmt.hxx
@@ -358,6 +358,8 @@ public:
void EraseAutoFormat(size_t i);
void EraseAutoFormat(const OUString& rName);
std::unique_ptr<SwTableAutoFormat> ReleaseAutoFormat(size_t i);
+ /// Removes an autoformat. Returns pointer to the removed autoformat or nullptr.
+ std::unique_ptr<SwTableAutoFormat> ReleaseAutoFormat(const OUString& rName);
/// Find table style with the provided name, return nullptr when not found.
SwTableAutoFormat* FindAutoFormat(const OUString& rName) const;