diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 13:11:24 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-10 14:03:38 +0200 |
commit | 5eaa60143c8fec08ce996b3e9e0c3e67a06a834f (patch) | |
tree | 6c00b67598ebf1a2669eab8b0c9c4cf2fadcf8f5 /sc | |
parent | 0986d0d55881271e0c784399cf321e986df41fae (diff) |
Possibly uninitialized variables
Change-Id: Ie2b52f66c02f395d45fe24bbd2c3d897c7335add
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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. |