summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-11 13:31:09 +0200
committerNoel Grandin <noel@peralex.com>2013-10-15 12:25:41 +0200
commit14204eae79c0d6b7a884ea9aa73d53d2a80faf7c (patch)
tree15965dee429c224b546b67e920b4e1115eb8eee5 /sw
parentdfb1195ac4d8acf9d5ba42b796feb898daa7c3f7 (diff)
convert sw/inc/IDocumentFieldsAccess.hxx from String to OUString
Change-Id: I9b408ce07cb8763870a1480d3a0615b6162be2c1
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/IDocumentFieldsAccess.hxx2
-rw-r--r--sw/inc/doc.hxx2
-rw-r--r--sw/source/core/doc/docfld.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/sw/inc/IDocumentFieldsAccess.hxx b/sw/inc/IDocumentFieldsAccess.hxx
index 709abcf25adb..ff92fba7c725 100644
--- a/sw/inc/IDocumentFieldsAccess.hxx
+++ b/sw/inc/IDocumentFieldsAccess.hxx
@@ -50,7 +50,7 @@ namespace com { namespace sun { namespace star { namespace uno { class Any; } }
virtual SwFieldType *GetSysFldType( const sal_uInt16 eWhich ) const = 0;
- virtual SwFieldType* GetFldType(sal_uInt16 nResId, const String& rName, bool bDbFieldMatching) const = 0;
+ virtual SwFieldType* GetFldType(sal_uInt16 nResId, const OUString& rName, bool bDbFieldMatching) const = 0;
virtual void RemoveFldType(sal_uInt16 nFld) = 0;
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index cb2fb1fdcf45..725a02b16889 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -809,7 +809,7 @@ public:
virtual const SwFldTypes *GetFldTypes() const;
virtual SwFieldType *InsertFldType(const SwFieldType &);
virtual SwFieldType *GetSysFldType( const sal_uInt16 eWhich ) const;
- virtual SwFieldType* GetFldType(sal_uInt16 nResId, const String& rName, bool bDbFieldMatching) const;
+ virtual SwFieldType* GetFldType(sal_uInt16 nResId, const OUString& rName, bool bDbFieldMatching) const;
virtual void RemoveFldType(sal_uInt16 nFld);
virtual void UpdateFlds( SfxPoolItem* pNewHt, bool bCloseDB);
virtual void InsDeletedFldType(SwFieldType &);
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index be48fe258f2c..c685253f5b6d 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -252,7 +252,7 @@ const SwFldTypes* SwDoc::GetFldTypes() const
}
/// Find first type with ResId and name
-SwFieldType* SwDoc::GetFldType( sal_uInt16 nResId, const String& rName,
+SwFieldType* SwDoc::GetFldType( sal_uInt16 nResId, const OUString& rName,
bool bDbFieldMatching // used in some UNO calls for RES_DBFLD
// to use different string matching code
// #i51815#