diff options
author | Noel Grandin <noel@peralex.com> | 2013-10-11 12:19:09 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-10-15 12:25:41 +0200 |
commit | dfb1195ac4d8acf9d5ba42b796feb898daa7c3f7 (patch) | |
tree | 3ff28c236d2692a49a76c765a314b2f941b8d089 | |
parent | 324642325ccd0f7ea2d478d1693b431f639e7341 (diff) |
convert sw/inc/IDocumentLinksAdministration.hxx from String to OUString
Change-Id: If9e4f1f40ed14ff6a64bbd52367fe5f1fbc3b2dd
-rw-r--r-- | sw/inc/IDocumentLinksAdministration.hxx | 4 | ||||
-rw-r--r-- | sw/inc/doc.hxx | 4 | ||||
-rw-r--r-- | sw/source/core/doc/docdde.cxx | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sw/inc/IDocumentLinksAdministration.hxx b/sw/inc/IDocumentLinksAdministration.hxx index 1a2176b481dc..674bc32c9754 100644 --- a/sw/inc/IDocumentLinksAdministration.hxx +++ b/sw/inc/IDocumentLinksAdministration.hxx @@ -47,9 +47,9 @@ namespace sfx2 { class SvLinkSource; class LinkManager; } /** SS fuers Linken von Dokumentteilen / ?? for linking of parts of documents. */ - virtual bool GetData(const OUString& rItem, const String& rMimeType, ::com::sun::star::uno::Any& rValue) const = 0; + virtual bool GetData(const OUString& rItem, const OUString& rMimeType, ::com::sun::star::uno::Any& rValue) const = 0; - virtual bool SetData(const OUString& rItem, const String& rMimeType, const ::com::sun::star::uno::Any& rValue) = 0; + virtual bool SetData(const OUString& rItem, const OUString& rMimeType, const ::com::sun::star::uno::Any& rValue) = 0; virtual ::sfx2::SvLinkSource* CreateLinkSource(const OUString& rItem) = 0; diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index 8c8728d6e1e4..cb2fb1fdcf45 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -797,8 +797,8 @@ public: virtual sfx2::LinkManager& GetLinkManager(); virtual const sfx2::LinkManager& GetLinkManager() const; virtual void UpdateLinks(bool bUI); - virtual bool GetData(const OUString& rItem, const String& rMimeType, ::com::sun::star::uno::Any& rValue) const; - virtual bool SetData(const OUString& rItem, const String& rMimeType, const ::com::sun::star::uno::Any& rValue); + virtual bool GetData(const OUString& rItem, const OUString& rMimeType, ::com::sun::star::uno::Any& rValue) const; + virtual bool SetData(const OUString& rItem, const OUString& rMimeType, const ::com::sun::star::uno::Any& rValue); virtual ::sfx2::SvLinkSource* CreateLinkSource(const OUString& rItem); virtual bool EmbedAllLinks(); virtual void SetLinksUpdated(const bool bNewLinksUpdated); diff --git a/sw/source/core/doc/docdde.cxx b/sw/source/core/doc/docdde.cxx index e03a52a648c0..aebdf3a78b93 100644 --- a/sw/source/core/doc/docdde.cxx +++ b/sw/source/core/doc/docdde.cxx @@ -128,7 +128,7 @@ static bool lcl_FindTable( const SwFrmFmt* pTableFmt, _FindItem * const pItem ) return true; } -bool SwDoc::GetData( const OUString& rItem, const String& rMimeType, +bool SwDoc::GetData( const OUString& rItem, const OUString& rMimeType, uno::Any & rValue ) const { // search for bookmarks and sections case senstive at first. If nothing is found then try again case insensitive @@ -171,7 +171,7 @@ bool SwDoc::GetData( const OUString& rItem, const String& rMimeType, return sal_False; } -bool SwDoc::SetData( const OUString& rItem, const String& rMimeType, +bool SwDoc::SetData( const OUString& rItem, const OUString& rMimeType, const uno::Any & rValue ) { // search for bookmarks and sections case senstive at first. If nothing is found then try again case insensitive |