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

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

Change-Id: If3f918bba1571b99588d62148f7ac446d72de6c9
üst ffc782c2
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
struct SwPosition; struct SwPosition;
class SwStartNode; class SwStartNode;
class SwNode; class SwNode;
class String;
typedef sal_uInt16 RedlineMode_t; typedef sal_uInt16 RedlineMode_t;
namespace nsRedlineMode_t namespace nsRedlineMode_t
...@@ -188,12 +187,12 @@ public: ...@@ -188,12 +187,12 @@ public:
virtual sal_uInt16 GetRedlineAuthor() = 0; virtual sal_uInt16 GetRedlineAuthor() = 0;
// For Readers etc.: register new Author in table. // For Readers etc.: register new Author in table.
virtual sal_uInt16 InsertRedlineAuthor(const String& rAuthor) = 0; virtual sal_uInt16 InsertRedlineAuthor(const OUString& rAuthor) = 0;
// Place a comment at Redline at given position. // Place a comment at Redline at given position.
virtual bool SetRedlineComment( virtual bool SetRedlineComment(
/*[in]*/const SwPaM& rPam, /*[in]*/const SwPaM& rPam,
/*[in]*/const String& rComment) = 0; /*[in]*/const OUString& rComment) = 0;
virtual const ::com::sun::star::uno::Sequence <sal_Int8>& GetRedlinePassword() const = 0; virtual const ::com::sun::star::uno::Sequence <sal_Int8>& GetRedlinePassword() const = 0;
......
...@@ -781,8 +781,8 @@ public: ...@@ -781,8 +781,8 @@ public:
virtual const SwRedline* SelPrevRedline(/*[in]*/SwPaM& rPam) const; virtual const SwRedline* SelPrevRedline(/*[in]*/SwPaM& rPam) const;
virtual void UpdateRedlineAttr(); virtual void UpdateRedlineAttr();
virtual sal_uInt16 GetRedlineAuthor(); virtual sal_uInt16 GetRedlineAuthor();
virtual sal_uInt16 InsertRedlineAuthor(const String& rAuthor); virtual sal_uInt16 InsertRedlineAuthor(const OUString& rAuthor);
virtual bool SetRedlineComment(/*[in]*/const SwPaM& rPam, /*[in]*/const String& rComment); virtual bool SetRedlineComment(/*[in]*/const SwPaM& rPam, /*[in]*/const OUString& rComment);
virtual const ::com::sun::star::uno::Sequence <sal_Int8>& GetRedlinePassword() const; virtual const ::com::sun::star::uno::Sequence <sal_Int8>& GetRedlinePassword() const;
virtual void SetRedlinePassword(/*[in]*/const ::com::sun::star::uno::Sequence <sal_Int8>& rNewPassword); virtual void SetRedlinePassword(/*[in]*/const ::com::sun::star::uno::Sequence <sal_Int8>& rNewPassword);
......
...@@ -2483,7 +2483,7 @@ const SwRedline* SwDoc::SelPrevRedline( SwPaM& rPam ) const ...@@ -2483,7 +2483,7 @@ const SwRedline* SwDoc::SelPrevRedline( SwPaM& rPam ) const
} }
// Set comment at the Redline // Set comment at the Redline
bool SwDoc::SetRedlineComment( const SwPaM& rPaM, const String& rS ) bool SwDoc::SetRedlineComment( const SwPaM& rPaM, const OUString& rS )
{ {
bool bRet = false; bool bRet = false;
const SwPosition* pStt = rPaM.Start(), const SwPosition* pStt = rPaM.Start(),
...@@ -2517,7 +2517,7 @@ sal_uInt16 SwDoc::GetRedlineAuthor() ...@@ -2517,7 +2517,7 @@ sal_uInt16 SwDoc::GetRedlineAuthor()
} }
/// Insert new author into the Table for the Readers etc. /// Insert new author into the Table for the Readers etc.
sal_uInt16 SwDoc::InsertRedlineAuthor( const String& rNew ) sal_uInt16 SwDoc::InsertRedlineAuthor( const OUString& rNew )
{ {
return SW_MOD()->InsertRedlineAuthor(rNew); return SW_MOD()->InsertRedlineAuthor(rNew);
} }
......
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