From ac58231a01186d0935d0ff5fb2485d8750ed5022 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 22 Sep 2011 09:02:16 +0100 Subject: ByteString->rtl::OString[Buffer] --- svtools/source/graphic/grfcache.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'svtools/source/graphic/grfcache.cxx') diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx index 573866020b42..3299deb23695 100644 --- a/svtools/source/graphic/grfcache.cxx +++ b/svtools/source/graphic/grfcache.cxx @@ -78,7 +78,7 @@ public: rID.mnID3 == mnID3 && rID.mnID4 == mnID4 ); } - ByteString GetIDString() const; + rtl::OString GetIDString() const; sal_Bool IsEmpty() const { return( 0 == mnID4 ); } }; @@ -134,7 +134,7 @@ GraphicID::GraphicID( const GraphicObject& rObj ) // ----------------------------------------------------------------------------- -ByteString GraphicID::GetIDString() const +rtl::OString GraphicID::GetIDString() const { rtl::OStringBuffer aHexStr; sal_Int32 nShift, nIndex = 0; @@ -587,7 +587,7 @@ GraphicCache::~GraphicCache() void GraphicCache::AddGraphicObject( const GraphicObject& rObj, Graphic& rSubstitute, - const ByteString* pID, + const rtl::OString* pID, const GraphicObject* pCopyObj ) { @@ -866,9 +866,9 @@ sal_Bool GraphicCache::IsInDisplayCache( OutputDevice* pOut, const Point& rPt, c // ----------------------------------------------------------------------------- -ByteString GraphicCache::GetUniqueID( const GraphicObject& rObj ) const +rtl::OString GraphicCache::GetUniqueID( const GraphicObject& rObj ) const { - ByteString aRet; + rtl::OString aRet; GraphicCacheEntry* pEntry = ( (GraphicCache*) this )->ImplGetCacheEntry( rObj ); // ensure that the entry is correctly initialized (it has to be read at least once) -- cgit v1.2.3