summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-26 12:25:46 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:05 +0200
commitdf00d4c230d15951ad31405a3ea77e0faeebcb75 (patch)
treeba94eeced1948b943bcfbeb2fc614d4f396b335a /include
parent4779373d47341258cec36cc2178dff6ae11e5750 (diff)
convert include/sfx2/linksrc.hxx from String to OUString
Change-Id: I2ee2be4b87ef6f7fa9064ff742ccf4c854d7fea8
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/linksrc.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/sfx2/linksrc.hxx b/include/sfx2/linksrc.hxx
index 4ff77b6afa54..c19da26306f5 100644
--- a/include/sfx2/linksrc.hxx
+++ b/include/sfx2/linksrc.hxx
@@ -34,7 +34,9 @@ namespace com { namespace sun { namespace star { namespace uno
class Any;
}}}}
class Window;
-class String;
+namespace rtl {
+ class OUString;
+}
#ifndef ADVISEMODE_NODATA
// Must be the same value as Ole2 ADVF_*
@@ -69,14 +71,14 @@ public:
void SetUpdateTimeout( sal_uIntPtr nTime );
// notify the sink, the mime type is not
// a selection criterion
- void DataChanged( const String & rMimeType,
+ void DataChanged( const rtl::OUString & rMimeType,
const ::com::sun::star::uno::Any & rVal );
void SendDataChanged();
void NotifyDataChanged();
virtual sal_Bool Connect( SvBaseLink* );
virtual sal_Bool GetData( ::com::sun::star::uno::Any & rData /*out param*/,
- const String & rMimeType,
+ const rtl::OUString & rMimeType,
sal_Bool bSynchron = sal_False );
// sal_True => waitinmg for data
@@ -88,7 +90,7 @@ public:
virtual void Edit( Window *, SvBaseLink *, const Link& rEndEditHdl );
- void AddDataAdvise( SvBaseLink *, const String & rMimeType,
+ void AddDataAdvise( SvBaseLink *, const rtl::OUString & rMimeType,
sal_uInt16 nAdviceMode );
void RemoveAllDataAdvise( SvBaseLink * );