summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-06 15:48:01 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-06 15:51:27 +0200
commit160a88e18d868433813f3f09b340dcaf68f276b2 (patch)
tree7f30dadb9c03d86ff0d30ad8c3c08212e1877e19
parent35cbe7206d19afa8d30cb84e9285f45964dbaad8 (diff)
assign correct value
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 5776d72fd2a8..27af196063b5 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -411,7 +411,7 @@ SvXMLImportContext *XMLTableStyleContext::CreateChildContext(
if(!mpCondFormat)
mpCondFormat = new ScConditionalFormat( 0, GetScImport().GetDocument() );
ScXMLMapContext* pMapContext = new ScXMLMapContext(GetImport(), nPrefix, rLocalName, xAttrList);
- pContext = pContext;
+ pContext = pMapContext;
mpCondFormat->AddEntry(pMapContext->CreateConditionEntry());
}
if (!pContext)