From 5eaa60143c8fec08ce996b3e9e0c3e67a06a834f Mon Sep 17 00:00:00 2001 From: Fridrich Štrba Date: Mon, 10 Jun 2013 13:11:24 +0200 Subject: Possibly uninitialized variables Change-Id: Ie2b52f66c02f395d45fe24bbd2c3d897c7335add --- sc/source/filter/xml/XMLStylesExportHelper.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx index 9020d384e95d..6f87529df254 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.cxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx @@ -1278,8 +1278,8 @@ sal_Int32 ScRowStyles::GetStyleNameIndex(const sal_Int32 nTable, const sal_Int32 StylesType& r = aTables[nTable]; if (!r.is_tree_valid()) r.build_tree(); - sal_Int32 nStyle; - sal_Int32 nStart, nEnd; + sal_Int32 nStyle(0); + sal_Int32 nStart(0), nEnd(0); if (r.search_tree(nField, nStyle, &nStart, &nEnd).second) { // Cache this value for better performance. -- cgit