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

convert sw/inc/IDocumentLinksAdministration.hxx from String to OUString

Change-Id: If9e4f1f40ed14ff6a64bbd52367fe5f1fbc3b2dd
üst 32464232
...@@ -47,9 +47,9 @@ namespace sfx2 { class SvLinkSource; class LinkManager; } ...@@ -47,9 +47,9 @@ namespace sfx2 { class SvLinkSource; class LinkManager; }
/** SS fuers Linken von Dokumentteilen / ?? for linking of parts of documents. /** 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; virtual ::sfx2::SvLinkSource* CreateLinkSource(const OUString& rItem) = 0;
......
...@@ -797,8 +797,8 @@ public: ...@@ -797,8 +797,8 @@ public:
virtual sfx2::LinkManager& GetLinkManager(); virtual sfx2::LinkManager& GetLinkManager();
virtual const sfx2::LinkManager& GetLinkManager() const; virtual const sfx2::LinkManager& GetLinkManager() const;
virtual void UpdateLinks(bool bUI); virtual void UpdateLinks(bool bUI);
virtual bool GetData(const OUString& rItem, const String& rMimeType, ::com::sun::star::uno::Any& rValue) const; virtual bool GetData(const OUString& rItem, const OUString& 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 SetData(const OUString& rItem, const OUString& rMimeType, const ::com::sun::star::uno::Any& rValue);
virtual ::sfx2::SvLinkSource* CreateLinkSource(const OUString& rItem); virtual ::sfx2::SvLinkSource* CreateLinkSource(const OUString& rItem);
virtual bool EmbedAllLinks(); virtual bool EmbedAllLinks();
virtual void SetLinksUpdated(const bool bNewLinksUpdated); virtual void SetLinksUpdated(const bool bNewLinksUpdated);
......
...@@ -128,7 +128,7 @@ static bool lcl_FindTable( const SwFrmFmt* pTableFmt, _FindItem * const pItem ) ...@@ -128,7 +128,7 @@ static bool lcl_FindTable( const SwFrmFmt* pTableFmt, _FindItem * const pItem )
return true; return true;
} }
bool SwDoc::GetData( const OUString& rItem, const String& rMimeType, bool SwDoc::GetData( const OUString& rItem, const OUString& rMimeType,
uno::Any & rValue ) const uno::Any & rValue ) const
{ {
// search for bookmarks and sections case senstive at first. If nothing is found then try again case insensitive // 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, ...@@ -171,7 +171,7 @@ bool SwDoc::GetData( const OUString& rItem, const String& rMimeType,
return sal_False; 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 ) const uno::Any & rValue )
{ {
// search for bookmarks and sections case senstive at first. If nothing is found then try again case insensitive // search for bookmarks and sections case senstive at first. If nothing is found then try again case insensitive
......
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