summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/ndnotxt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/docnode/ndnotxt.cxx')
-rw-r--r--sw/source/core/docnode/ndnotxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndnotxt.cxx b/sw/source/core/docnode/ndnotxt.cxx
index 916a70fb1831..2d9559d3d8c3 100644
--- a/sw/source/core/docnode/ndnotxt.cxx
+++ b/sw/source/core/docnode/ndnotxt.cxx
@@ -64,7 +64,7 @@ void SwNoTxtNode::NewAttrSet( SwAttrPool& rPool )
// put names of parent style and conditional style:
const SwFmtColl* pFmtColl = GetFmtColl();
- String sVal;
+ OUString sVal;
SwStyleNameMapper::FillProgName( pFmtColl->GetName(), sVal, nsSwGetPoolIdFromName::GET_POOLID_TXTCOLL, true );
SfxStringItem aFmtColl( RES_FRMATR_STYLE_NAME, sVal );
aNewAttrSet.Put( aFmtColl );