diff options
author | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-28 13:26:20 -0430 |
---|---|---|
committer | Rafael Dominguez <venccsralph@gmail.com> | 2012-07-29 21:29:24 -0430 |
commit | 5dd1eb17806a7acebdb0323d76111006ce3ee7fb (patch) | |
tree | e2383d74b935394858c12bc7cf1acd2cc77591a6 /sfx2 | |
parent | 72b48950556820cac8198da467254b25f2e054c4 (diff) |
Return correct new region id.
Change-Id: Ifbe3a0dd13a286b6e39883ebd9a7e8d79c4602cf
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/templatefolderview.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/control/templatefolderview.cxx b/sfx2/source/control/templatefolderview.cxx index b7c5310fa1fb..59ef94bcfe69 100644 --- a/sfx2/source/control/templatefolderview.cxx +++ b/sfx2/source/control/templatefolderview.cxx @@ -442,7 +442,7 @@ sal_uInt16 TemplateFolderView::createRegion(const rtl::OUString &rName) if ( IsReallyVisible() && IsUpdateMode() ) Invalidate(); - return true; + return pItem->mnId; } bool TemplateFolderView::removeRegion(const sal_uInt16 nItemId) |