summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2012-09-06 15:48:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-06 16:08:17 +0200
commit803aac5aafe5597b8a39cf85062a22716e29bb33 (patch)
tree76b65c375ba0c897af9d517fe43f8f720651abc5 /sc
parentd344d772fc2490d02efc81bd6a5d155f013efd76 (diff)
assign correct value
(cherry picked from commit 160a88e18d868433813f3f09b340dcaf68f276b2) Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc')
-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 4c99b6d65d57..93e95fe809ac 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -413,7 +413,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)