Kaydet (Commit) 70934443 authored tarafından Michael Stahl's avatar Michael Stahl

xmlcondformat: warning C4701 pot. uninitialized variable pEntry used

Change-Id: Ic7edfe9c919cc2c0e3cd8b68d130919c4054686c
üst af452fda
......@@ -273,7 +273,7 @@ SvXMLImportContext* ScXMLDataBarFormatContext::CreateChildContext( sal_uInt16 nP
case XML_TOK_FORMATTING_ENTRY:
case XML_TOK_DATABAR_DATABARENTRY:
{
ScColorScaleEntry* pEntry;
ScColorScaleEntry* pEntry(0);
pContext = new ScXMLFormattingEntryContext( GetScImport(), nPrefix, rLocalName, xAttrList, pEntry );
if(mpFormatData->mpLowerLimit)
{
......@@ -353,7 +353,7 @@ SvXMLImportContext* ScXMLIconSetFormatContext::CreateChildContext( sal_uInt16 nP
{
case XML_TOK_FORMATTING_ENTRY:
{
ScColorScaleEntry* pEntry;
ScColorScaleEntry* pEntry(0);
pContext = new ScXMLFormattingEntryContext( GetScImport(), nPrefix, rLocalName, xAttrList, pEntry );
mpFormatData->maEntries.push_back(pEntry);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment