From c49fbe94d4f704ea0c574047e9b6cc03992835b4 Mon Sep 17 00:00:00 2001 From: Rafael Dominguez Date: Sun, 12 Aug 2012 13:32:12 -0430 Subject: Dont let user create a repository with a duplicated name. Change-Id: I4175515b72f0e9aac8e4cf2905757381539cab1e --- sfx2/inc/sfx2/templateonlineview.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfx2/inc') 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& 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); -- cgit