summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-09 15:32:49 +0100
committerMichael Stahl <mstahl@redhat.com>2014-09-09 14:42:13 +0000
commitc4c11a1b9e7b9c88dc7f64bfb5eb5d316c7b5366 (patch)
tree24b837b2b3a39ee21c168ad5fc41b6870608ecda
parenta3de6b662444bafd3b102b6991866ed4c7206965 (diff)
crashtest: sep should be curSep
Change-Id: Ic83165ee4af86d0ed0bc77505aae8f50cfc1471a (cherry picked from commit 3669242804e59c4e4d9f3db3d4e4534e223cbd78) Reviewed-on: https://gerrit.libreoffice.org/11361 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--sd/source/core/stlsheet.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index b103ab00adec..5df055f62f54 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -978,7 +978,7 @@ void SAL_CALL SdStyleSheet::setParentStyle( const OUString& rParentName ) throw
OUString const curName(pStyle->GetName());
sal_Int32 const curSep(curName.indexOf(SD_LT_SEPARATOR));
OUString const curMaster((curSep == -1)
- ? OUString() : curName.copy(0, sep));
+ ? OUString() : curName.copy(0, curSep));
// check that the master matches, as msApiName exists once per
// master page
if (pSdStyleSheet->msApiName == rParentName && master == curMaster)