summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-08-19 14:08:08 -0430
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2012-08-20 06:40:49 +0200
commit6b697baf5bbfede880e1564111aa92503e4f3102 (patch)
treefee74155f0cad2cf444d8f5c1301e6e088ea0f6e /sfx2/inc
parentc0667d15539c0834ef69dda2267ba29084958658 (diff)
Ask user if it wants to overwrite a template
Change-Id: I4e0aa8938ebd197b4b77767b9930a389569ba98d
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/templatelocalview.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/inc/sfx2/templatelocalview.hxx b/sfx2/inc/sfx2/templatelocalview.hxx
index 03c4558943e2..268ca8e061ee 100644
--- a/sfx2/inc/sfx2/templatelocalview.hxx
+++ b/sfx2/inc/sfx2/templatelocalview.hxx
@@ -71,6 +71,8 @@ public:
com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rModel,
const OUString &rName);
+ bool isTemplateNameUnique (const sal_uInt16 nRegionItemId, const OUString &rName) const;
+
private:
virtual void OnItemDblClicked (ThumbnailViewItem *pRegionItem);