summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorRafael Dominguez <venccsralph@gmail.com>2012-08-12 13:32:12 -0430
committerRafael Dominguez <venccsralph@gmail.com>2012-08-12 14:29:24 -0430
commitc49fbe94d4f704ea0c574047e9b6cc03992835b4 (patch)
tree8725daa6cadac7966665994ddb3aac566e55b9ed /sfx2/inc
parent26502c4f51a22e2aaea25c10d484b1c163c4f004 (diff)
Dont let user create a repository with a duplicated name.
Change-Id: I4175515b72f0e9aac8e4cf2905757381539cab1e
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/templateonlineview.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/inc/sfx2/templateonlineview.hxx b/sfx2/inc/sfx2/templateonlineview.hxx
index 0d88d0bc3d71..78f623383749 100644
--- a/sfx2/inc/sfx2/templateonlineview.hxx
+++ b/sfx2/inc/sfx2/templateonlineview.hxx
@@ -40,7 +40,7 @@ public:
const std::vector<TemplateOnlineViewItem*>& getRepositories () const { return maRepositories; }
- void insertRepository (const OUString &rName, const OUString &rURL);
+ bool insertRepository (const OUString &rName, const OUString &rURL);
bool deleteRepository (const sal_uInt16 nRepositoryId);