summaryrefslogtreecommitdiff
path: root/sfx2/source/control/templateview.cxx
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-02-11 18:09:45 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2013-02-12 08:46:02 +0100
commit98fa4be44290ceefd7f08ef167f0278743ade1c5 (patch)
treed0c801169cb5d51b9ffe9fc35fa34ac36005665c /sfx2/source/control/templateview.cxx
parent8eaac1d73140abf82631a60a99421d9e1b2c595d (diff)
Templates Manager: if the title can't be edited, don't update it in UI
Conflicts: sfx2/inc/sfx2/templatelocalview.hxx sfx2/source/control/templatelocalview.cxx sfx2/source/control/templateview.cxx Change-Id: Id16431fb3517c831a5e81ff72fafaa8569f99ef1
Diffstat (limited to 'sfx2/source/control/templateview.cxx')
-rw-r--r--sfx2/source/control/templateview.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/control/templateview.cxx b/sfx2/source/control/templateview.cxx
index 7073a6f90474..21b260389b0b 100644
--- a/sfx2/source/control/templateview.cxx
+++ b/sfx2/source/control/templateview.cxx
@@ -100,10 +100,11 @@ void TemplateView::Resize()
ThumbnailView::Resize();
}
-void TemplateView::renameItem(ThumbnailViewItem* pItem, rtl::OUString sNewTitle)
+bool TemplateView::renameItem(ThumbnailViewItem* pItem, rtl::OUString sNewTitle)
{
if (mpMasterView)
- mpMasterView->renameItem(pItem, sNewTitle);
+ return mpMasterView->renameItem(pItem, sNewTitle);
+ return false;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */