From 81e16cea9a11185c209894973db8d1990fa9cce6 Mon Sep 17 00:00:00 2001 From: Luboš Luňák Date: Wed, 5 Dec 2012 00:37:01 +0100 Subject: mvoe rtl_(u)string_alloc to sal No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140 --- editeng/source/editeng/editdoc.cxx | 2 +- editeng/source/editeng/editobj.cxx | 2 -- editeng/source/items/flditem.cxx | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'editeng/source') diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx index 80556b98c562..9b96ed77fef5 100644 --- a/editeng/source/editeng/editdoc.cxx +++ b/editeng/source/editeng/editdoc.cxx @@ -2052,7 +2052,7 @@ XubString EditDoc::GetText( LineEnd eEnd ) const if ( nSepSize ) nLen += (nNodes - 1) * nSepSize; - rtl_uString* newStr = comphelper::string::rtl_uString_alloc(nLen); + rtl_uString* newStr = rtl_uString_alloc(nLen); sal_Unicode* pCur = newStr->buffer; size_t nLastNode = nNodes-1; for ( sal_uInt16 nNode = 0; nNode < nNodes; nNode++ ) diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx index 669f003fa607..275aa77c5a47 100644 --- a/editeng/source/editeng/editobj.cxx +++ b/editeng/source/editeng/editobj.cxx @@ -1435,8 +1435,6 @@ void BinTextObject::CreateData( SvStream& rIStream ) rIStream >> bUnicodeStrings; if ( bUnicodeStrings ) { - using comphelper::string::rtl_uString_alloc; - for ( sal_uInt16 nPara = 0; nPara < nParagraphs; nPara++ ) { ContentInfo& rC = aContents[nPara]; diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index c9eebe655f75..1c0a2c10d735 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -557,7 +557,6 @@ static rtl::OUString read_unicode( SvPersistStream & rStm ) rStm >> nL; if ( nL ) { - using comphelper::string::rtl_uString_alloc; pStr = rtl_uString_alloc(nL); //endian specific?, yipes! rStm.Read(pStr->buffer, nL*sizeof(sal_Unicode)); -- cgit