summaryrefslogtreecommitdiff
path: root/sw/source/core/fields/chpfld.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/fields/chpfld.cxx')
-rw-r--r--sw/source/core/fields/chpfld.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/fields/chpfld.cxx b/sw/source/core/fields/chpfld.cxx
index d1552abffb13..273d48c0e41e 100644
--- a/sw/source/core/fields/chpfld.cxx
+++ b/sw/source/core/fields/chpfld.cxx
@@ -120,10 +120,10 @@ void SwChapterField::ChangeExpansion(const SwFrm* pFrm,
void SwChapterField::ChangeExpansion(const SwTxtNode &rTxtNd, bool bSrchNum)
{
- sNumber = OUString();
- sTitle = OUString();
- sPost = OUString();
- sPre = OUString();
+ sNumber.clear();
+ sTitle.clear();
+ sPost.clear();
+ sPre.clear();
SwDoc* pDoc = (SwDoc*)rTxtNd.GetDoc();
const SwTxtNode *pTxtNd = rTxtNd.FindOutlineNodeOfLevel( nLevel );