summaryrefslogtreecommitdiff
path: root/sd/source/core/drawdoc2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/core/drawdoc2.cxx')
-rw-r--r--sd/source/core/drawdoc2.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx
index c4a776605a30..cc27e8553d8e 100644
--- a/sd/source/core/drawdoc2.cxx
+++ b/sd/source/core/drawdoc2.cxx
@@ -288,8 +288,8 @@ void SdDrawDocument::UpdatePageRelativeURLs(const OUString& rOldName, const OUSt
{
if (aURL.getLength() == rOldName.getLength() + 1) // standard page name
{
- aURL = aURL.replaceAt(1, aURL.getLength() - 1, "");
- aURL += rNewName;
+ aURL = aURL.replaceAt(1, aURL.getLength() - 1, "") +
+ rNewName;
pURLField->SetURL(aURL);
}
else
@@ -298,8 +298,8 @@ void SdDrawDocument::UpdatePageRelativeURLs(const OUString& rOldName, const OUSt
if (aURL.getLength() == rOldName.getLength() + 2 + sNotes.getLength()
&& aURL.indexOf(sNotes, rOldName.getLength() + 2) == rOldName.getLength() + 2)
{
- aURL = aURL.replaceAt(1, aURL.getLength() - 1, "");
- aURL += rNewName + " " + sNotes;
+ aURL = aURL.replaceAt(1, aURL.getLength() - 1, "") +
+ rNewName + " " + sNotes;
pURLField->SetURL(aURL);
}
}