diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-19 11:45:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-22 10:49:24 +0200 |
commit | dde44b250ac5e6ca370faead7b500608063d3c3c (patch) | |
tree | c6f6944102bd8bc209dbe7795a58573d2a47b8ef /include/svtools | |
parent | 3139b8f3fa3aabda85c3221f83745cc53dca583a (diff) |
covnert include/svtools/grfmgr.hxx from String to OUString
Change-Id: I2f3d65925b75eb1b65075dc2995f52a28e712b07
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/grfmgr.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/include/svtools/grfmgr.hxx b/include/svtools/grfmgr.hxx index 0523cc24d804..23918952dbf5 100644 --- a/include/svtools/grfmgr.hxx +++ b/include/svtools/grfmgr.hxx @@ -169,9 +169,9 @@ private: sal_uLong mnSizeBytes; GraphicType meType; GraphicManager* mpMgr; - String* mpLink; + OUString maLink; Link* mpSwapStreamHdl; - String* mpUserData; + OUString maUserData; Timer* mpSwapOutTimer; GrfSimpleCacheObj* mpSimpleCache; sal_uLong mnAnimationLoopCount; @@ -343,7 +343,7 @@ public: const Graphic& GetGraphic() const; void SetGraphic( const Graphic& rGraphic, const GraphicObject* pCopyObj = 0); - void SetGraphic( const Graphic& rGraphic, const String& rLink ); + void SetGraphic( const Graphic& rGraphic, const OUString& rLink ); /** Get graphic transformed according to given attributes @@ -380,17 +380,17 @@ public: void SetAttr( const GraphicAttr& rAttr ); const GraphicAttr& GetAttr() const { return maAttr; } - sal_Bool HasLink() const { return( mpLink != NULL && mpLink->Len() > 0 ); } + sal_Bool HasLink() const { return !maLink.isEmpty(); } void SetLink(); - void SetLink( const String& rLink ); - String GetLink() const; + void SetLink( const OUString& rLink ); + OUString GetLink() const { return maLink; } - sal_Bool HasUserData() const { return( mpUserData != NULL && mpUserData->Len() > 0 ); } + sal_Bool HasUserData() const { return !maUserData.isEmpty(); } void SetUserData(); - void SetUserData( const String& rUserData ); - String GetUserData() const; + void SetUserData( const OUString& rUserData ); + OUString GetUserData() const { return maUserData; } - OString GetUniqueID() const; + OString GetUniqueID() const; GraphicType GetType() const { return meType; } const Size& GetPrefSize() const { return maPrefSize; } |