diff options
author | Michael Stahl <mst@openoffice.org> | 2010-01-08 17:13:53 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-01-08 17:13:53 +0100 |
commit | 5d6da5c1f774b02973085816bb0717d8a2c891a3 (patch) | |
tree | df43436ef08efd1842910a749095d940e2e0b004 /sw/source/filter/xml/xmlimp.cxx | |
parent | 1f8d8b1e17487074cf77595ab9d9569858e6f04e (diff) |
swunolocking1: #i105557#: SwXTextRange:
move static methods to namespace sw.
clean up the implementation a little.
Diffstat (limited to 'sw/source/filter/xml/xmlimp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlimp.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlimp.cxx b/sw/source/filter/xml/xmlimp.cxx index 003318dbe989..9059b98db6b8 100644 --- a/sw/source/filter/xml/xmlimp.cxx +++ b/sw/source/filter/xml/xmlimp.cxx @@ -713,9 +713,9 @@ void SwXMLImport::startDocument( void ) } if( pCrsrSh ) { - Reference<XTextRange> xInsertTextRange( - SwXTextRange::CreateTextRangeFromPosition( - pDoc, *pCrsrSh->GetCrsr()->GetPoint(), 0 ) ); + const uno::Reference<text::XTextRange> xInsertTextRange( + SwXTextRange::CreateXTextRange( + *pDoc, *pCrsrSh->GetCrsr()->GetPoint(), 0 ) ); setTextInsertMode( xInsertTextRange ); xTextCursor = GetTextImport()->GetCursor(); pTxtCrsr = 0; |