Kaydet (Commit) 1ed856c2 authored tarafından Caolán McNamara's avatar Caolán McNamara

UniString->rtl::OUString

üst 41e05511
...@@ -491,7 +491,7 @@ void BrwString_Impl::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16, ...@@ -491,7 +491,7 @@ void BrwString_Impl::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16,
if(aData.HasNumericValue()) if(aData.HasNumericValue())
{ {
rtl::OUStringBuffer sTxt; rtl::OUStringBuffer sTxt;
aTxt.append(' ').append(static_cast<sal_Int32>(aData.GetNumericValue())); sTxt.append(' ').append(static_cast<sal_Int32>(aData.GetNumericValue()));
rDev.SetFont( aFont ); rDev.SetFont( aFont );
rDev.DrawText( aNewPos, sTxt.makeStringAndClear() ); rDev.DrawText( aNewPos, sTxt.makeStringAndClear() );
} }
......
...@@ -173,7 +173,7 @@ public: ...@@ -173,7 +173,7 @@ public:
virtual SfxStyleSheetBase *operator[](sal_uInt16 nIdx); virtual SfxStyleSheetBase *operator[](sal_uInt16 nIdx);
virtual SfxStyleSheetBase* First(); virtual SfxStyleSheetBase* First();
virtual SfxStyleSheetBase* Next(); virtual SfxStyleSheetBase* Next();
virtual SfxStyleSheetBase* Find(const UniString& rStr); virtual SfxStyleSheetBase* Find(const rtl::OUString& rStr);
virtual ~SfxStyleSheetIterator(); virtual ~SfxStyleSheetIterator();
protected: protected:
......
...@@ -497,9 +497,9 @@ SfxStyleSheetBase* SfxStyleSheetIterator::Next() ...@@ -497,9 +497,9 @@ SfxStyleSheetBase* SfxStyleSheetIterator::Next()
} }
SfxStyleSheetBase* SfxStyleSheetIterator::Find(const XubString& rStr) SfxStyleSheetBase* SfxStyleSheetIterator::Find(const rtl::OUString& rStr)
{ {
for ( sal_uInt16 n = 0; n < pBasePool->aStyles.size(); n++ ) for ( sal_uInt16 n = 0; n < pBasePool->aStyles.size(); ++n )
{ {
SfxStyleSheetBase* pStyle = pBasePool->aStyles[n].get(); SfxStyleSheetBase* pStyle = pBasePool->aStyles[n].get();
......
...@@ -177,7 +177,7 @@ public: ...@@ -177,7 +177,7 @@ public:
virtual SfxStyleSheetBase *operator[](sal_uInt16 nIdx); virtual SfxStyleSheetBase *operator[](sal_uInt16 nIdx);
virtual SfxStyleSheetBase* First(); virtual SfxStyleSheetBase* First();
virtual SfxStyleSheetBase* Next(); virtual SfxStyleSheetBase* Next();
virtual SfxStyleSheetBase* Find(const UniString& rStr); virtual SfxStyleSheetBase* Find(const rtl::OUString& rStr);
virtual void Notify( SfxBroadcaster&, const SfxHint& ); virtual void Notify( SfxBroadcaster&, const SfxHint& );
}; };
......
...@@ -311,8 +311,8 @@ const SwNumRule* lcl_FindNumRule( SwDoc& rDoc, ...@@ -311,8 +311,8 @@ const SwNumRule* lcl_FindNumRule( SwDoc& rDoc,
} }
sal_uInt16 lcl_FindName( const SwPoolFmtList& rLst, SfxStyleFamily eFam, sal_uInt16 lcl_FindName(const SwPoolFmtList& rLst, SfxStyleFamily eFam,
const String& rName ) const rtl::OUString& rName)
{ {
if(!rLst.empty()) if(!rLst.empty())
{ {
...@@ -2762,7 +2762,7 @@ SfxStyleSheetBase* SwStyleSheetIterator::Next() ...@@ -2762,7 +2762,7 @@ SfxStyleSheetBase* SwStyleSheetIterator::Next()
return 0; return 0;
} }
SfxStyleSheetBase* SwStyleSheetIterator::Find( const UniString& rName ) SfxStyleSheetBase* SwStyleSheetIterator::Find(const rtl::OUString& rName)
{ {
// searching // searching
if( !bFirstCalled ) if( !bFirstCalled )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment