diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-02-11 18:09:45 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2013-02-12 08:46:02 +0100 |
commit | 98fa4be44290ceefd7f08ef167f0278743ade1c5 (patch) | |
tree | d0c801169cb5d51b9ffe9fc35fa34ac36005665c /sfx2/source/control/templateview.cxx | |
parent | 8eaac1d73140abf82631a60a99421d9e1b2c595d (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.cxx | 5 |
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: */ |