diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-09-09 15:32:49 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-09-09 14:42:13 +0000 |
commit | c4c11a1b9e7b9c88dc7f64bfb5eb5d316c7b5366 (patch) | |
tree | 24b837b2b3a39ee21c168ad5fc41b6870608ecda /sd | |
parent | a3de6b662444bafd3b102b6991866ed4c7206965 (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>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/core/stlsheet.cxx | 2 |
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) |