summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2014-11-08 09:15:49 +0100
committerLuboš Luňák <l.lunak@collabora.com>2014-11-14 13:26:29 +0100
commit0524dee2a9a1b4ff43a19654ab73ff764e7cadef (patch)
treef53016abd6d03891abfa90920cd31991e973d61a
parente64428fa982838bd40d068ac65943fcf3c1ed76f (diff)
actually use return value of GetUniqueSectionName() in SwDoc::UpdateSection()
Change-Id: I6d9ae98e900e5e42c5253ee9b2f71bec351b54d1
-rw-r--r--sw/source/core/docnode/ndsect.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/ndsect.cxx b/sw/source/core/docnode/ndsect.cxx
index 9c389f1b906a..c6ae2921a821 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -689,7 +689,7 @@ void SwDoc::UpdateSection(sal_uInt16 const nPos, SwSectionData & rNewData,
String sSectName( rNewData.GetSectionName() );
if (sSectName != pSection->GetSectionName())
- GetUniqueSectionName( &sSectName );
+ sSectName = GetUniqueSectionName( &sSectName );
else
sSectName.Erase();