diff --git a/include/sfx2/frmdescr.hxx b/include/sfx2/frmdescr.hxx index 2c0c178a3795..dae89392d709 100644 --- a/include/sfx2/frmdescr.hxx +++ b/include/sfx2/frmdescr.hxx @@ -71,7 +71,7 @@ class SFX2_DLLPUBLIC SfxFrameDescriptor { INetURLObject aURL; INetURLObject aActualURL; - String aName; + OUString aName; Size aMargin; long nWidth; ScrollingMode eScroll; @@ -92,11 +92,11 @@ public: SfxItemSet* GetArgs(); const INetURLObject& GetURL() const { return aURL; } - void SetURL( const String& rURL ); + void SetURL( const OUString& rURL ); const INetURLObject& GetActualURL() const { return aActualURL; } void SetActualURL( const INetURLObject& rURL ); - void SetActualURL( const String& rURL ); + void SetActualURL( const OUString& rURL ); void SetReadOnly( sal_Bool bSet ) { bReadOnly = bSet;} sal_Bool IsReadOnly( ) const { return bReadOnly;} void SetEditable( sal_Bool bSet ); @@ -121,9 +121,9 @@ public: { bResizeHorizontal = bResizeVertical = bRes; } // FrameName - const String& GetName() const + const OUString& GetName() const { return aName; } - void SetName( const String& rName ) + void SetName( const OUString& rName ) { aName = rName; } // Margin, Scrolling @@ -172,8 +172,8 @@ public: // No block to implement a =operator struct SfxFrameProperties { - String aURL; - String aName; + OUString aURL; + OUString aName; long lMarginWidth; long lMarginHeight; long lSize; diff --git a/sfx2/source/doc/frmdescr.cxx b/sfx2/source/doc/frmdescr.cxx index 6fb6a10caef6..94ad20b687a4 100644 --- a/sfx2/source/doc/frmdescr.cxx +++ b/sfx2/source/doc/frmdescr.cxx @@ -72,13 +72,13 @@ SfxItemSet* SfxFrameDescriptor::GetArgs() return pImp->pArgs; } -void SfxFrameDescriptor::SetURL( const String& rURL ) +void SfxFrameDescriptor::SetURL( const OUString& rURL ) { aURL = INetURLObject(rURL); SetActualURL( aURL ); } -void SfxFrameDescriptor::SetActualURL( const String& rURL ) +void SfxFrameDescriptor::SetActualURL( const OUString& rURL ) { aActualURL = INetURLObject(rURL); if ( pImp->pArgs )