diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-05 00:37:01 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-06 13:35:18 +0100 |
commit | 81e16cea9a11185c209894973db8d1990fa9cce6 (patch) | |
tree | 6b784ddae1e873ba282ca1a961a8dc4a32f83e16 /editeng/source | |
parent | f82a55ec476955d9d4467725a4ea3ce9e514d8dd (diff) |
mvoe rtl_(u)string_alloc to sal
No point in hidding something useful like this in some helper lib.
Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/editeng/editdoc.cxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editobj.cxx | 2 | ||||
-rw-r--r-- | editeng/source/items/flditem.cxx | 1 |
3 files changed, 1 insertions, 4 deletions
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)); |