diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 12:06:47 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2013-04-07 14:23:11 +0200 |
commit | 1946794ae09ba732022fe6a74ea45e304ab70b84 (patch) | |
tree | e32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /sfx2/source/bastyp | |
parent | 5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff) |
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'sfx2/source/bastyp')
-rw-r--r-- | sfx2/source/bastyp/fltfnc.cxx | 98 | ||||
-rw-r--r-- | sfx2/source/bastyp/frmhtmlw.cxx | 32 | ||||
-rw-r--r-- | sfx2/source/bastyp/helper.cxx | 1 | ||||
-rw-r--r-- | sfx2/source/bastyp/mieclip.cxx | 4 | ||||
-rw-r--r-- | sfx2/source/bastyp/sfxhtml.cxx | 2 |
5 files changed, 68 insertions, 69 deletions
diff --git a/sfx2/source/bastyp/fltfnc.cxx b/sfx2/source/bastyp/fltfnc.cxx index 3acc3f0faef4..ff9d51ca88ac 100644 --- a/sfx2/source/bastyp/fltfnc.cxx +++ b/sfx2/source/bastyp/fltfnc.cxx @@ -247,12 +247,12 @@ const SfxFilter* SfxFilterContainer::GetDefaultFilter_Impl( const String& rName class SfxFilterMatcher_Impl { public: - ::rtl::OUString aName; + OUString aName; SfxFilterList_Impl* pList; // is created on demand void InitForIterating() const; void Update(); - SfxFilterMatcher_Impl(const ::rtl::OUString &rName) + SfxFilterMatcher_Impl(const OUString &rName) : aName(rName) , pList(0) { @@ -269,18 +269,18 @@ namespace public std::unary_function<SfxFilterMatcher_Impl, bool> { private: - const rtl::OUString& mrName; + const OUString& mrName; public: - hasName(const rtl::OUString &rName) : mrName(rName) {} + hasName(const OUString &rName) : mrName(rName) {} bool operator() (const SfxFilterMatcher_Impl& rImpl) const { return rImpl.aName == mrName; } }; - SfxFilterMatcher_Impl & getSfxFilterMatcher_Impl(const rtl::OUString &rName) + SfxFilterMatcher_Impl & getSfxFilterMatcher_Impl(const OUString &rName) { - rtl::OUString aName; + OUString aName; if (!rName.isEmpty()) aName = SfxObjectShell::GetServiceNameFromFactory(rName); @@ -307,7 +307,7 @@ SfxFilterMatcher::SfxFilterMatcher( const OUString& rName ) } SfxFilterMatcher::SfxFilterMatcher() - : m_rImpl( getSfxFilterMatcher_Impl(::rtl::OUString()) ) + : m_rImpl( getSfxFilterMatcher_Impl(OUString()) ) { // global FilterMatcher always uses global filter array (also created on // demand) @@ -380,8 +380,8 @@ sal_uInt32 SfxFilterMatcher::GuessFilterIgnoringContent( SfxFilterFlags nMust, SfxFilterFlags nDont ) const { - Reference< XTypeDetection > xDetection( ::comphelper::getProcessServiceFactory()->createInstance(::rtl::OUString("com.sun.star.document.TypeDetection")), UNO_QUERY ); - ::rtl::OUString sTypeName; + Reference< XTypeDetection > xDetection( ::comphelper::getProcessServiceFactory()->createInstance(OUString("com.sun.star.document.TypeDetection")), UNO_QUERY ); + OUString sTypeName; try { sTypeName = xDetection->queryTypeByURL( rMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) ); @@ -415,19 +415,19 @@ sal_uInt32 SfxFilterMatcher::GuessFilterControlDefaultUI( SfxMedium& rMedium, c const SfxFilter* pOldFilter = *ppFilter; // no detection service -> nothing to do ! - Reference< XTypeDetection > xDetection( ::comphelper::getProcessServiceFactory()->createInstance(::rtl::OUString("com.sun.star.document.TypeDetection")), UNO_QUERY ); + Reference< XTypeDetection > xDetection( ::comphelper::getProcessServiceFactory()->createInstance(OUString("com.sun.star.document.TypeDetection")), UNO_QUERY ); if (!xDetection.is()) return ERRCODE_ABORT; - ::rtl::OUString sTypeName; + OUString sTypeName; try { // open the stream one times only ... // Otherwhise it will be tried more then once and show the same interaction more then once ... - ::rtl::OUString sURL( rMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) ); + OUString sURL( rMedium.GetURLObject().GetMainURL( INetURLObject::NO_DECODE ) ); ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xInStream = rMedium.GetInputStream(); - rtl::OUString aFilterName; + OUString aFilterName; // stream exists => deep detection (with preselection ... if possible) if (xInStream.is()) @@ -443,8 +443,8 @@ sal_uInt32 SfxFilterMatcher::GuessFilterControlDefaultUI( SfxMedium& rMedium, c if ( pOldFilter ) { - aDescriptor[::comphelper::MediaDescriptor::PROP_TYPENAME() ] <<= ::rtl::OUString( pOldFilter->GetTypeName() ); - aDescriptor[::comphelper::MediaDescriptor::PROP_FILTERNAME()] <<= ::rtl::OUString( pOldFilter->GetFilterName() ); + aDescriptor[::comphelper::MediaDescriptor::PROP_TYPENAME() ] <<= OUString( pOldFilter->GetTypeName() ); + aDescriptor[::comphelper::MediaDescriptor::PROP_FILTERNAME()] <<= OUString( pOldFilter->GetFilterName() ); } ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > lDescriptor = aDescriptor.getAsConstPropertyValueList(); @@ -454,7 +454,7 @@ sal_uInt32 SfxFilterMatcher::GuessFilterControlDefaultUI( SfxMedium& rMedium, c { if (lDescriptor[i].Name == "FilterName") // Type detection picked a preferred filter for this format. - aFilterName = lDescriptor[i].Value.get<rtl::OUString>(); + aFilterName = lDescriptor[i].Value.get<OUString>(); } } // no stream exists => try flat detection without preselection as fallback @@ -476,7 +476,7 @@ sal_uInt32 SfxFilterMatcher::GuessFilterControlDefaultUI( SfxMedium& rMedium, c // The DocumentService property is only a preselection, and all preselections are considered as optional! // This "wrong" type will be sorted out now because we match only allowed filters to the detected type ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue > lQuery(1); - lQuery[0].Name = ::rtl::OUString("Name"); + lQuery[0].Name = OUString("Name"); lQuery[0].Value <<= sTypeName; pFilter = GetFilterForProps(lQuery, nMust, nDont); @@ -618,10 +618,10 @@ const SfxFilter* SfxFilterMatcher::GetFilterForProps( const com::sun::star::uno: while ( xEnum->hasMoreElements() ) { ::comphelper::SequenceAsHashMap aProps( xEnum->nextElement() ); - ::rtl::OUString aValue; + OUString aValue; // try to get the preferred filter (works without loading all filters!) - if ( (aProps[::rtl::OUString("PreferredFilter")] >>= aValue) && !aValue.isEmpty() ) + if ( (aProps[OUString("PreferredFilter")] >>= aValue) && !aValue.isEmpty() ) { const SfxFilter* pFilter = SfxFilter::GetFilterByName( aValue ); if ( !pFilter || (pFilter->GetFilterFlags() & nMust) != nMust || (pFilter->GetFilterFlags() & nDont ) ) @@ -636,7 +636,7 @@ const SfxFilter* SfxFilterMatcher::GetFilterForProps( const com::sun::star::uno: { // preferred filter belongs to another document type; now we must search the filter m_rImpl.InitForIterating(); - aProps[::rtl::OUString("Name")] >>= aValue; + aProps[OUString("Name")] >>= aValue; pFilter = GetFilter4EA( aValue, nMust, nDont ); if ( pFilter ) return pFilter; @@ -653,7 +653,7 @@ const SfxFilter* SfxFilterMatcher::GetFilterForProps( const com::sun::star::uno: return 0; } -const SfxFilter* SfxFilterMatcher::GetFilter4Mime( const ::rtl::OUString& rMediaType, SfxFilterFlags nMust, SfxFilterFlags nDont ) const +const SfxFilter* SfxFilterMatcher::GetFilter4Mime( const OUString& rMediaType, SfxFilterFlags nMust, SfxFilterFlags nDont ) const { if ( m_rImpl.pList ) { @@ -669,7 +669,7 @@ const SfxFilter* SfxFilterMatcher::GetFilter4Mime( const ::rtl::OUString& rMedia } com::sun::star::uno::Sequence < com::sun::star::beans::NamedValue > aSeq(1); - aSeq[0].Name = ::rtl::OUString("MediaType"); + aSeq[0].Name = OUString("MediaType"); aSeq[0].Value <<= rMediaType; return GetFilterForProps( aSeq, nMust, nDont ); } @@ -698,8 +698,8 @@ const SfxFilter* SfxFilterMatcher::GetFilter4EA( const String& rType,SfxFilterFl } com::sun::star::uno::Sequence < com::sun::star::beans::NamedValue > aSeq(1); - aSeq[0].Name = ::rtl::OUString("Name"); - aSeq[0].Value <<= ::rtl::OUString( rType ); + aSeq[0].Name = OUString("Name"); + aSeq[0].Value <<= OUString( rType ); return GetFilterForProps( aSeq, nMust, nDont ); } @@ -737,8 +737,8 @@ const SfxFilter* SfxFilterMatcher::GetFilter4Extension( const String& rExt, SfxF sExt.Erase(0,1); com::sun::star::uno::Sequence < com::sun::star::beans::NamedValue > aSeq(1); - aSeq[0].Name = ::rtl::OUString("Extensions"); - ::com::sun::star::uno::Sequence < ::rtl::OUString > aExts(1); + aSeq[0].Name = OUString("Extensions"); + ::com::sun::star::uno::Sequence < OUString > aExts(1); aExts[0] = sExt; aSeq[0].Value <<= aExts; return GetFilterForProps( aSeq, nMust, nDont ); @@ -750,8 +750,8 @@ const SfxFilter* SfxFilterMatcher::GetFilter4ClipBoardId( sal_uInt32 nId, SfxFil return 0; com::sun::star::uno::Sequence < com::sun::star::beans::NamedValue > aSeq(1); - ::rtl::OUString aName = SotExchange::GetFormatName( nId ); - aSeq[0].Name = ::rtl::OUString("ClipboardFormat"); + OUString aName = SotExchange::GetFormatName( nId ); + aSeq[0].Name = OUString("ClipboardFormat"); aSeq[0].Value <<= aName; return GetFilterForProps( aSeq, nMust, nDont ); } @@ -891,11 +891,11 @@ const SfxFilter* SfxFilterMatcherIter::Next() helper to build own formated string from given stringlist by using given seperator ---------------------------------------------------------------*/ -::rtl::OUString implc_convertStringlistToString( const ::com::sun::star::uno::Sequence< ::rtl::OUString >& lList , +OUString implc_convertStringlistToString( const ::com::sun::star::uno::Sequence< OUString >& lList , const sal_Unicode& cSeperator, - const ::rtl::OUString& sPrefix ) + const OUString& sPrefix ) { - ::rtl::OUStringBuffer sString ( 1000 ) ; + OUStringBuffer sString ( 1000 ) ; sal_Int32 nCount = lList.getLength(); sal_Int32 nItem = 0 ; for( nItem=0; nItem<nCount; ++nItem ) @@ -915,13 +915,13 @@ const SfxFilter* SfxFilterMatcherIter::Next() void SfxFilterContainer::ReadSingleFilter_Impl( - const ::rtl::OUString& rName, + const OUString& rName, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& xTypeCFG, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& xFilterCFG, sal_Bool bUpdate ) { - ::rtl::OUString sFilterName( rName ); + OUString sFilterName( rName ); SfxFilterList_Impl& rList = *pFilterArr; ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > lFilterProperties; ::com::sun::star::uno::Any aResult; @@ -942,15 +942,15 @@ void SfxFilterContainer::ReadSingleFilter_Impl( sal_Int32 nClipboardId = 0 ; sal_Int32 nDocumentIconId = 0 ; sal_Int32 nFormatVersion = 0 ; - ::rtl::OUString sMimeType ; - ::rtl::OUString sType ; - ::rtl::OUString sUIName ; - ::rtl::OUString sHumanName ; - ::rtl::OUString sDefaultTemplate ; - ::rtl::OUString sUserData ; - ::rtl::OUString sExtension ; - ::rtl::OUString sPattern ; - ::rtl::OUString sServiceName ; + OUString sMimeType ; + OUString sType ; + OUString sUIName ; + OUString sHumanName ; + OUString sDefaultTemplate ; + OUString sUserData ; + OUString sExtension ; + OUString sPattern ; + OUString sServiceName ; // first get directly available properties sal_Int32 nFilterPropertyCount = lFilterProperties.getLength(); @@ -975,9 +975,9 @@ void SfxFilterContainer::ReadSingleFilter_Impl( } else if ( lFilterProperties[nFilterProperty].Name == "UserData" ) { - ::com::sun::star::uno::Sequence< ::rtl::OUString > lUserData; + ::com::sun::star::uno::Sequence< OUString > lUserData; lFilterProperties[nFilterProperty].Value >>= lUserData; - sUserData = implc_convertStringlistToString( lUserData, ',', ::rtl::OUString() ); + sUserData = implc_convertStringlistToString( lUserData, ',', OUString() ); } else if ( lFilterProperties[nFilterProperty].Name == "DocumentService" ) { @@ -1028,16 +1028,16 @@ void SfxFilterContainer::ReadSingleFilter_Impl( { if (sExtension.isEmpty()) { - ::com::sun::star::uno::Sequence< ::rtl::OUString > lExtensions; + ::com::sun::star::uno::Sequence< OUString > lExtensions; lTypeProperties[nTypeProperty].Value >>= lExtensions; sExtension = implc_convertStringlistToString( lExtensions, ';', "*." ); } } else if ( lTypeProperties[nTypeProperty].Name == "URLPattern" ) { - ::com::sun::star::uno::Sequence< ::rtl::OUString > lPattern; + ::com::sun::star::uno::Sequence< OUString > lPattern; lTypeProperties[nTypeProperty].Value >>= lPattern; - sPattern = implc_convertStringlistToString( lPattern, ';', ::rtl::OUString() ); + sPattern = implc_convertStringlistToString( lPattern, ';', OUString() ); } } } @@ -1138,7 +1138,7 @@ void SfxFilterContainer::ReadFilters_Impl( sal_Bool bUpdate ) ) { // select right query to get right set of filters for search modul - ::com::sun::star::uno::Sequence< ::rtl::OUString > lFilterNames = xFilterCFG->getElementNames(); + ::com::sun::star::uno::Sequence< OUString > lFilterNames = xFilterCFG->getElementNames(); if ( lFilterNames.getLength() ) { // If list of filters already exist ... @@ -1163,7 +1163,7 @@ void SfxFilterContainer::ReadFilters_Impl( sal_Bool bUpdate ) { // Try to get filter .. but look for any exceptions! // May be filter was deleted by another thread ... - ::rtl::OUString sFilterName = lFilterNames[nFilter]; + OUString sFilterName = lFilterNames[nFilter]; ReadSingleFilter_Impl( sFilterName, xTypeCFG, xFilterCFG, bUpdate ); } } diff --git a/sfx2/source/bastyp/frmhtmlw.cxx b/sfx2/source/bastyp/frmhtmlw.cxx index bf79d7f4f924..1f24a5952288 100644 --- a/sfx2/source/bastyp/frmhtmlw.cxx +++ b/sfx2/source/bastyp/frmhtmlw.cxx @@ -72,7 +72,7 @@ void SfxFrameHTMLWriter::OutMeta( SvStream& rStrm, if( pIndent ) rStrm << pIndent; - rtl::OStringBuffer sOut; + OStringBuffer sOut; sOut.append('<').append(OOO_STRING_SVTOOLS_HTML_meta).append(' ') .append(bHTTPEquiv ? OOO_STRING_SVTOOLS_HTML_O_httpequiv : OOO_STRING_SVTOOLS_HTML_O_name).append("=\""); rStrm << sOut.makeStringAndClear().getStr(); @@ -96,7 +96,7 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const String& rBaseURL, if( pCharSet ) { - String aContentType = rtl::OUString(sHTML_MIME_text_html); + String aContentType = OUString(sHTML_MIME_text_html); aContentType.AppendAscii( pCharSet ); OutMeta( rStrm, pIndent, OOO_STRING_SVTOOLS_HTML_META_content_type, aContentType, sal_True, eDestEnc, pNonConvertableChars ); @@ -125,7 +125,7 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const String& rBaseURL, if( pIndent ) rStrm << pIndent; - rtl::OStringBuffer sOut; + OStringBuffer sOut; sOut.append('<').append(OOO_STRING_SVTOOLS_HTML_base).append(' ') .append(OOO_STRING_SVTOOLS_HTML_O_target).append("=\""); rStrm << sOut.makeStringAndClear().getStr(); @@ -136,7 +136,7 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const String& rBaseURL, // Who we are String sGenerator( SfxResId(STR_HTML_GENERATOR).toString() ); - ::rtl::OUString os( "$_OS" ); + OUString os( "$_OS" ); ::rtl::Bootstrap::expandMacros(os); sGenerator.SearchAndReplaceAscii( "%1", os ); OutMeta( rStrm, pIndent, OOO_STRING_SVTOOLS_HTML_META_generator, sGenerator, sal_False, eDestEnc, pNonConvertableChars ); @@ -227,11 +227,11 @@ void SfxFrameHTMLWriter::Out_DocInfo( SvStream& rStrm, const String& rBaseURL, { try { - ::rtl::OUString name = props[i].Name; + OUString name = props[i].Name; uno::Any aStr = xConverter->convertToSimpleType( xUserDefinedProps->getPropertyValue(name), uno::TypeClass_STRING); - ::rtl::OUString str; + OUString str; aStr >>= str; String valstr(comphelper::string::stripEnd(str, ' ')); OutMeta( rStrm, pIndent, name, valstr, sal_False, @@ -252,9 +252,9 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor( { try { - rtl::OStringBuffer sOut; - ::rtl::OUString aStr; - uno::Any aAny = xSet->getPropertyValue( ::rtl::OUString("FrameURL") ); + OStringBuffer sOut; + OUString aStr; + uno::Any aAny = xSet->getPropertyValue( OUString("FrameURL") ); if ( (aAny >>= aStr) && !aStr.isEmpty() ) { String aURL = INetURLObject( aStr ).GetMainURL( INetURLObject::DECODE_TO_IURI ); @@ -270,7 +270,7 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor( } } - aAny = xSet->getPropertyValue( ::rtl::OUString("FrameName") ); + aAny = xSet->getPropertyValue( OUString("FrameName") ); if ( (aAny >>= aStr) && !aStr.isEmpty() ) { sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_name) @@ -281,13 +281,13 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor( } sal_Int32 nVal = SIZE_NOT_SET; - aAny = xSet->getPropertyValue( ::rtl::OUString("FrameMarginWidth") ); + aAny = xSet->getPropertyValue( OUString("FrameMarginWidth") ); if ( (aAny >>= nVal) && nVal != SIZE_NOT_SET ) { sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_marginwidth) .append('=').append(nVal); } - aAny = xSet->getPropertyValue( ::rtl::OUString("FrameMarginHeight") ); + aAny = xSet->getPropertyValue( OUString("FrameMarginHeight") ); if ( (aAny >>= nVal) && nVal != SIZE_NOT_SET ) { sOut.append(' ').append(OOO_STRING_SVTOOLS_HTML_O_marginheight) @@ -295,10 +295,10 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor( } sal_Bool bVal = sal_True; - aAny = xSet->getPropertyValue( ::rtl::OUString("FrameIsAutoScroll") ); + aAny = xSet->getPropertyValue( OUString("FrameIsAutoScroll") ); if ( (aAny >>= bVal) && !bVal ) { - aAny = xSet->getPropertyValue( ::rtl::OUString("FrameIsScrollingMode") ); + aAny = xSet->getPropertyValue( OUString("FrameIsScrollingMode") ); if ( aAny >>= bVal ) { const sal_Char *pStr = bVal ? sHTML_SC_yes : sHTML_SC_no; @@ -308,10 +308,10 @@ void SfxFrameHTMLWriter::Out_FrameDescriptor( } // frame border (MS+Netscape-Extension) - aAny = xSet->getPropertyValue( ::rtl::OUString("FrameIsAutoBorder") ); + aAny = xSet->getPropertyValue( OUString("FrameIsAutoBorder") ); if ( (aAny >>= bVal) && !bVal ) { - aAny = xSet->getPropertyValue( ::rtl::OUString("FrameIsBorder") ); + aAny = xSet->getPropertyValue( OUString("FrameIsBorder") ); if ( aAny >>= bVal ) { const char* pStr = bVal ? sHTML_SC_yes : sHTML_SC_no; diff --git a/sfx2/source/bastyp/helper.cxx b/sfx2/source/bastyp/helper.cxx index 434d7a81e243..24b5de1b3a80 100644 --- a/sfx2/source/bastyp/helper.cxx +++ b/sfx2/source/bastyp/helper.cxx @@ -54,7 +54,6 @@ using namespace osl; using ::std::vector; -using ::rtl::OStringToOUString; std::vector<OUString> SfxContentHelper::GetResultSet( const OUString& rURL ) { diff --git a/sfx2/source/bastyp/mieclip.cxx b/sfx2/source/bastyp/mieclip.cxx index 7f6b9384f0b5..d9e50ea7c2fd 100644 --- a/sfx2/source/bastyp/mieclip.cxx +++ b/sfx2/source/bastyp/mieclip.cxx @@ -37,7 +37,7 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream ) if( pStrm ) delete pStrm, pStrm = 0; - rtl::OString sLine, sVersion; + OString sLine, sVersion; sal_Int32 nStt = -1, nEnd = -1, nFragStart = -1, nFragEnd = -1; sal_Int32 nIndex = 0; @@ -51,7 +51,7 @@ SvStream* MSE40HTMLClipFormatObj::IsValid( SvStream& rStream ) while( rStream.ReadLine( sLine ) ) { nIndex = 0; - rtl::OString sTmp(sLine.getToken(0, ':', nIndex)); + OString sTmp(sLine.getToken(0, ':', nIndex)); if (sTmp.equalsL(RTL_CONSTASCII_STRINGPARAM("StartHTML"))) nStt = sLine.copy(nIndex).toInt32(); else if (sTmp.equalsL(RTL_CONSTASCII_STRINGPARAM("EndHTML"))) diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx index c7d5dd8989f3..bbbd5de96fad 100644 --- a/sfx2/source/bastyp/sfxhtml.cxx +++ b/sfx2/source/bastyp/sfxhtml.cxx @@ -254,7 +254,7 @@ sal_Bool SfxHTMLParser::FinishFileDownload( String& rStr ) : STRING_MAXLEN; aStream.Seek( 0 ); - rtl::OString sBuffer = read_uInt8s_ToOString(aStream, nLen); + OString sBuffer = read_uInt8s_ToOString(aStream, nLen); rStr = S2U(sBuffer); } |