diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-10-23 11:44:03 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-10-23 11:44:03 +0000 |
commit | 9609c3e5f4421916a4620e5a1b0594f11f1c7e3a (patch) | |
tree | e92e5d1682e1977633b94c0e996d04fd0defb27e /sc/source/filter/xml/XMLTableHeaderFooterContext.cxx | |
parent | cc111ca0f109267b49c2918d3c8a20b13076cefd (diff) |
#92924#: gcc-3.0.1 needs lvalue
Diffstat (limited to 'sc/source/filter/xml/XMLTableHeaderFooterContext.cxx')
-rw-r--r-- | sc/source/filter/xml/XMLTableHeaderFooterContext.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/filter/xml/XMLTableHeaderFooterContext.cxx b/sc/source/filter/xml/XMLTableHeaderFooterContext.cxx index 5c68c6ec6351..9a9383f08538 100644 --- a/sc/source/filter/xml/XMLTableHeaderFooterContext.cxx +++ b/sc/source/filter/xml/XMLTableHeaderFooterContext.cxx @@ -2,9 +2,9 @@ * * $RCSfile: XMLTableHeaderFooterContext.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: sab $ $Date: 2001-07-26 06:51:19 $ + * last change: $Author: hr $ $Date: 2001-10-23 12:44:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -236,7 +236,9 @@ SvXMLImportContext *XMLTableHeaderFooterContext::CreateChildContext( if (xText.is()) { xText->setString(sEmpty); - pContext = new XMLHeaderFooterRegionContext( GetImport(), nPrefix, rLocalName, xAttrList, xText->createTextCursor() ); + SvXMLImport aSvXMLImport( GetImport() ); + uno::Reference<text::XTextCursor> xTextCursor( xText->createTextCursor() ); + pContext = new XMLHeaderFooterRegionContext( aSvXMLImport, nPrefix, rLocalName, xAttrList, xTextCursor); } } } |