Kaydet (Commit) 3d3204be authored tarafından Markus Mohrhard's avatar Markus Mohrhard

fix previous commit

Change-Id: I3e3b0cf703162b5f01148aced9a1d5faabb5d50d
üst bd76d319
......@@ -700,9 +700,7 @@ const SvXMLTokenMap& ODBFilter::GetColumnElemTokenMap() const
SvXMLImportContext* ODBFilter::CreateStylesContext(sal_uInt16 _nPrefix,const OUString& rLocalName,
const uno::Reference< XAttributeList>& xAttrList, bool bIsAutoStyle )
{
SvXMLImportContext *pContext;
pContext = new OTableStylesContext(*this, _nPrefix, rLocalName, xAttrList, bIsAutoStyle);
SvXMLImportContext *pContext = new OTableStylesContext(*this, _nPrefix, rLocalName, xAttrList, bIsAutoStyle);
if (bIsAutoStyle)
SetAutoStyles(static_cast<SvXMLStylesContext*>(pContext));
else
......
......@@ -732,7 +732,7 @@ SvXMLImportContext *ScXMLDPSourceQueryContext::CreateChildContext( sal_uInt16 nP
const OUString& rLName,
const css::uno::Reference<css::xml::sax::XAttributeList>& /* xAttrList */ )
{
return pContext = new SvXMLImportContext( GetImport(), nPrefix, rLName );
return new SvXMLImportContext( GetImport(), nPrefix, rLName );
}
void ScXMLDPSourceQueryContext::EndElement()
......
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