summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/ndsect.cxx
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-09 19:45:06 +0100
commitf1fb3fae21d8e157978da4666eab15364ebb0660 (patch)
treed7bd1f085126db385a4c2448324a9fe08cd88b53 /sw/source/core/docnode/ndsect.cxx
parent6a5dbe73537642b06bcde782118a34b4593d17eb (diff)
actually use return value of GetUniqueSectionName() in SwDoc::UpdateSection()
Change-Id: I6d9ae98e900e5e42c5253ee9b2f71bec351b54d1
Diffstat (limited to 'sw/source/core/docnode/ndsect.cxx')
-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 7e265985b3a3..993cd8ea7eb0 100644
--- a/sw/source/core/docnode/ndsect.cxx
+++ b/sw/source/core/docnode/ndsect.cxx
@@ -691,7 +691,7 @@ void SwDoc::UpdateSection(sal_uInt16 const nPos, SwSectionData & rNewData,
OUString sSectName( rNewData.GetSectionName() );
if (sSectName != pSection->GetSectionName())
- GetUniqueSectionName( &sSectName );
+ sSectName = GetUniqueSectionName( &sSectName );
else
sSectName = OUString();