diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-02 12:49:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-05 08:54:21 +0200 |
commit | ea766508f7f8b4a89ca428db16b21ac6e0226882 (patch) | |
tree | c1383e117e9803bf5ae2313881a85cd62cc2bab3 | |
parent | 830171ff79c6a15711c8ca225911d19c90952343 (diff) |
convert include/svx/svdograf.hxx from String to OUString
Change-Id: I196259b9ba56827ffd8738bcd10363dd145ed29b
-rw-r--r-- | include/svx/svdograf.hxx | 6 | ||||
-rw-r--r-- | svx/source/svdraw/svdograf.cxx | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx index c97ba69a6f08..f6c7c924499c 100644 --- a/include/svx/svdograf.hxx +++ b/include/svx/svdograf.hxx @@ -131,13 +131,13 @@ public: const MapMode& GetGrafPrefMapMode() const; const Size& GetGrafPrefSize() const; - void SetGrafStreamURL( const String& rGraphicStreamURL ); - String GetGrafStreamURL() const; + void SetGrafStreamURL( const OUString& rGraphicStreamURL ); + OUString GetGrafStreamURL() const; void ForceSwapIn() const; void ForceSwapOut() const; - void SetGraphicLink(const OUString& rFileName, const String& rFilterName); + void SetGraphicLink(const OUString& rFileName, const OUString& rFilterName); void ReleaseGraphicLink(); bool IsLinkedGraphic() const; diff --git a/svx/source/svdraw/svdograf.cxx b/svx/source/svdraw/svdograf.cxx index 550ea103a99d..c54423a7ecdb 100644 --- a/svx/source/svdraw/svdograf.cxx +++ b/svx/source/svdraw/svdograf.cxx @@ -536,10 +536,10 @@ const Size& SdrGrafObj::GetGrafPrefSize() const return pGraphic->GetPrefSize(); } -void SdrGrafObj::SetGrafStreamURL( const String& rGraphicStreamURL ) +void SdrGrafObj::SetGrafStreamURL( const OUString& rGraphicStreamURL ) { mbIsPreview = false; - if( !rGraphicStreamURL.Len() ) + if( rGraphicStreamURL.isEmpty() ) { pGraphic->SetUserData(); } @@ -553,7 +553,7 @@ void SdrGrafObj::SetGrafStreamURL( const String& rGraphicStreamURL ) } } -String SdrGrafObj::GetGrafStreamURL() const +OUString SdrGrafObj::GetGrafStreamURL() const { return pGraphic->GetUserData(); } @@ -620,7 +620,7 @@ void SdrGrafObj::ImpLinkAbmeldung() } } -void SdrGrafObj::SetGraphicLink(const OUString& rFileName, const String& rFilterName) +void SdrGrafObj::SetGraphicLink(const OUString& rFileName, const OUString& rFilterName) { ImpLinkAbmeldung(); aFileName = rFileName; |