[Libreoffice-commits] core.git: sfx2/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Mon May 7 17:55:57 UTC 2018
sfx2/source/control/templatelocalview.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit f282662c222cc8d31a7a440f8e553dddc8b4dd3e
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Sun May 6 11:04:45 2018 +0200
cppcheck: accessMoved
Change-Id: Ia0d0761660a2096c308b1738ccc0294cb3b2a456
Reviewed-on: https://gerrit.libreoffice.org/53907
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index 530142a343f6..efc66dda09ab 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -382,7 +382,7 @@ sal_uInt16 TemplateLocalView::createRegion(const OUString &rName)
maRegions.push_back(std::move(pItem));
- return pItem->mnId;
+ return nItemId;
}
bool TemplateLocalView::renameRegion(const OUString &rTitle, const OUString &rNewTitle)
More information about the Libreoffice-commits
mailing list