summaryrefslogtreecommitdiff
path: root/svtools/source/graphic/grfcache.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-22 09:02:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-22 15:01:04 +0100
commitac58231a01186d0935d0ff5fb2485d8750ed5022 (patch)
tree386ecb69491890ca62bd049a45bb7ee26e8dd5f5 /svtools/source/graphic/grfcache.cxx
parent8df9025eac81d8a65162c396d28d176c084d16b3 (diff)
ByteString->rtl::OString[Buffer]
Diffstat (limited to 'svtools/source/graphic/grfcache.cxx')
-rw-r--r--svtools/source/graphic/grfcache.cxx10
1 files changed, 5 insertions, 5 deletions
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)