Kaydet (Commit) f9ce7311 authored tarafından Noel Grandin's avatar Noel Grandin

convert include/svl/urlbmk.hxx from String to OUString

Change-Id: I68d54bf9f351130d0eab14c36b004ffbbb3185bc
üst 5926f48a
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include "svl/svldllapi.h" #include "svl/svldllapi.h"
#include <svl/intitem.hxx> #include <svl/intitem.hxx>
class String;
struct SfxImageItem_Impl; struct SfxImageItem_Impl;
class SVL_DLLPUBLIC SfxImageItem : public SfxInt16Item class SVL_DLLPUBLIC SfxImageItem : public SfxInt16Item
{ {
......
...@@ -37,23 +37,23 @@ class INetBookmark ...@@ -37,23 +37,23 @@ class INetBookmark
*/ */
{ {
String aUrl; OUString aUrl;
String aDescr; OUString aDescr;
protected: protected:
void SetURL( const String& rS ) { aUrl = rS; } void SetURL( const OUString& rS ) { aUrl = rS; }
void SetDescription( const String& rS ) { aDescr = rS; } void SetDescription( const OUString& rS ) { aDescr = rS; }
public: public:
INetBookmark( const String &rUrl, const String &rDescr ) INetBookmark( const OUString &rUrl, const OUString &rDescr )
: aUrl( rUrl ), aDescr( rDescr ) : aUrl( rUrl ), aDescr( rDescr )
{} {}
INetBookmark() INetBookmark()
{} {}
const String& GetURL() const { return aUrl; } const OUString& GetURL() const { return aUrl; }
const String& GetDescription() const { return aDescr; } const OUString& GetDescription() const { return aDescr; }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment