summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-10 14:15:37 +0200
committerNoel Grandin <noel@peralex.com>2013-09-11 09:45:40 +0200
commitf9ce731120f2e308e8fe71eb1a1d981590362afb (patch)
treea86cd8f5a826b1fbaf8baeb8e41a9415e85532ea
parent5926f48a4515f71fe33b5119e7d0255637ebf588 (diff)
convert include/svl/urlbmk.hxx from String to OUString
Change-Id: I68d54bf9f351130d0eab14c36b004ffbbb3185bc
-rw-r--r--include/svl/imageitm.hxx2
-rw-r--r--include/svl/urlbmk.hxx14
2 files changed, 7 insertions, 9 deletions
diff --git a/include/svl/imageitm.hxx b/include/svl/imageitm.hxx
index 0a2e26f80086..66ae68f97722 100644
--- a/include/svl/imageitm.hxx
+++ b/include/svl/imageitm.hxx
@@ -23,8 +23,6 @@
#include "svl/svldllapi.h"
#include <svl/intitem.hxx>
-class String;
-
struct SfxImageItem_Impl;
class SVL_DLLPUBLIC SfxImageItem : public SfxInt16Item
{
diff --git a/include/svl/urlbmk.hxx b/include/svl/urlbmk.hxx
index cc04b226d146..672a9ec544a0 100644
--- a/include/svl/urlbmk.hxx
+++ b/include/svl/urlbmk.hxx
@@ -37,23 +37,23 @@ class INetBookmark
*/
{
- String aUrl;
- String aDescr;
+ OUString aUrl;
+ OUString aDescr;
protected:
- void SetURL( const String& rS ) { aUrl = rS; }
- void SetDescription( const String& rS ) { aDescr = rS; }
+ void SetURL( const OUString& rS ) { aUrl = rS; }
+ void SetDescription( const OUString& rS ) { aDescr = rS; }
public:
- INetBookmark( const String &rUrl, const String &rDescr )
+ INetBookmark( const OUString &rUrl, const OUString &rDescr )
: aUrl( rUrl ), aDescr( rDescr )
{}
INetBookmark()
{}
- const String& GetURL() const { return aUrl; }
- const String& GetDescription() const { return aDescr; }
+ const OUString& GetURL() const { return aUrl; }
+ const OUString& GetDescription() const { return aDescr; }
};