diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-06-07 08:44:18 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-06-07 06:10:03 +0000 |
commit | 916b3e30099ee01f6c33ba01c7a8adc24cf965cc (patch) | |
tree | 07f7e666d257483b8e4e53cee385ab7f2e5ee244 /include/sfx2/templateviewitem.hxx | |
parent | 397ad4d4b844d0c1a24fceb20cde460554b9910f (diff) |
Reset Default in Context Menu for default templates
Change-Id: Ifedb4f5b4dada0e9e0ac40ffcaed4c2821df501d
Reviewed-on: https://gerrit.libreoffice.org/25995
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/sfx2/templateviewitem.hxx')
-rw-r--r-- | include/sfx2/templateviewitem.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sfx2/templateviewitem.hxx b/include/sfx2/templateviewitem.hxx index 10d4634e4d52..c6bcbfb656dc 100644 --- a/include/sfx2/templateviewitem.hxx +++ b/include/sfx2/templateviewitem.hxx @@ -26,6 +26,8 @@ public: void showDefaultIcon(bool bVal) { mbIsDefaultTemplate = bVal; } + bool IsDefaultTemplate() const { return mbIsDefaultTemplate; } + Rectangle getDefaultIconArea() const; virtual void Paint (drawinglayer::processor2d::BaseProcessor2D *pProcessor, |