summaryrefslogtreecommitdiff
path: root/sw/inc/reffld.hxx
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2013-07-14 15:21:18 +0200
committerCaolán McNamara <caolanm@redhat.com>2013-07-16 13:55:41 +0000
commit263153842741d7ce21cc0bf1c5296a55a1138024 (patch)
tree6fd3dd47fe08b5caa18e894cd4cb3a55576ff4a6 /sw/inc/reffld.hxx
parent6ef38bf1c04de2a0733e5bfd88c483416541d098 (diff)
String to OUString
Change-Id: I64f31d8a0bb02a2ecd8fcc993c90ca76923b35fb Reviewed-on: https://gerrit.libreoffice.org/4924 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/inc/reffld.hxx')
-rw-r--r--sw/inc/reffld.hxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/sw/inc/reffld.hxx b/sw/inc/reffld.hxx
index 9550de42539c..620190782307 100644
--- a/sw/inc/reffld.hxx
+++ b/sw/inc/reffld.hxx
@@ -72,7 +72,7 @@ public:
void MergeWithOtherDoc( SwDoc& rDestDoc );
- static SwTxtNode* FindAnchor( SwDoc* pDoc, const String& rRefMark,
+ static SwTxtNode* FindAnchor( SwDoc* pDoc, const OUString& rRefMark,
sal_uInt16 nSubType, sal_uInt16 nSeqNo,
sal_uInt16* pStt, sal_uInt16* pEnd = 0 );
};
@@ -82,27 +82,27 @@ class SW_DLLPUBLIC SwGetRefField : public SwField
{
private:
OUString sSetRefName;
- String sTxt;
+ OUString sTxt;
sal_uInt16 nSubType;
sal_uInt16 nSeqNo;
- virtual String Expand() const;
+ virtual OUString Expand() const;
virtual SwField* Copy() const;
// #i81002#
- String MakeRefNumStr( const SwTxtNode& rTxtNodeOfField,
+ OUString MakeRefNumStr( const SwTxtNode& rTxtNodeOfField,
const SwTxtNode& rTxtNodeOfReferencedItem,
const sal_uInt32 nRefNumFormat ) const;
public:
- SwGetRefField( SwGetRefFieldType*, const String& rSetRef,
+ SwGetRefField( SwGetRefFieldType*, const OUString& rSetRef,
sal_uInt16 nSubType, sal_uInt16 nSeqNo, sal_uLong nFmt );
virtual ~SwGetRefField();
- virtual String GetFieldName() const;
+ virtual OUString GetFieldName() const;
- const OUString& GetSetRefName() const { return sSetRefName; }
+ OUString GetSetRefName() const { return sSetRefName; }
// #i81002#
/** The <SwTxtFld> instance, which represents the text attribute for the
@@ -113,7 +113,7 @@ public:
no update for these reference format types. */
void UpdateField( const SwTxtFld* pFldTxtAttr );
- void SetExpand( const String& rStr ) { sTxt = rStr; }
+ void SetExpand( const OUString& rStr ) { sTxt = rStr; }
/// Get/set sub type.
virtual sal_uInt16 GetSubType() const;
@@ -124,7 +124,7 @@ public:
bool IsRefToNumItemCrossRefBookmark() const;
const SwTxtNode* GetReferencedTxtNode() const;
// #i85090#
- String GetExpandedTxtOfReferencedTxtNode() const;
+ OUString GetExpandedTxtOfReferencedTxtNode() const;
/// Get/set SequenceNo (of interest only for REF_SEQUENCEFLD).
@@ -132,7 +132,7 @@ public:
void SetSeqNo( sal_uInt16 n ) { nSeqNo = n; }
// Name of reference.
- virtual const OUString& GetPar1() const;
+ virtual OUString GetPar1() const;
virtual void SetPar1(const OUString& rStr);
virtual OUString GetPar2() const;
@@ -141,7 +141,7 @@ public:
void ConvertProgrammaticToUIName();
- virtual String GetDescription() const;
+ virtual OUString GetDescription() const;
};