summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorgt <gt@openoffice.org>2001-09-12 06:43:09 +0000
committergt <gt@openoffice.org>2001-09-12 06:43:09 +0000
commit7cb25e41f491c5c894db7dfb35ecb0cdd0341878 (patch)
treec45e0b2baf102442529f72606e205a893c99ebfb /sfx2/source/inc
parent9dfa86673c3acf8c60424b9523df6e0c7a03dc56 (diff)
#83298# enable/rename button only when deletion is confirmed
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/templdgi.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index df4eb28af94e..85b267c4533d 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: templdgi.hxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: gt $ $Date: 2001-09-05 07:59:33 $
+ * last change: $Author: gt $ $Date: 2001-09-12 07:43:09 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -290,6 +290,8 @@ public:
SfxStyleFamily GetActualFamily() const;
String GetSelectedEntry() const;
SfxObjectShell* GetObjectShell() const { return pCurObjShell; }
+
+ virtual void PrepareDeleteAction(); // disable buttons, change button text, etc. when del is going to happen
};
// class SfxTemplateDialog_Impl ------------------------------------------
@@ -375,6 +377,8 @@ public:
~SfxTemplateCatalog_Impl();
friend class SfxTemplateCatalog;
+
+ virtual void PrepareDeleteAction();
};
#endif // #ifndef _SFX_TEMPDLGI_HXX