summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-09 15:32:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-09 15:34:04 +0100
commit3669242804e59c4e4d9f3db3d4e4534e223cbd78 (patch)
tree4c9e87f460c62d103d0f96f98f37455a6b1bf1cb /sd
parenta29ece90621b2fef9126a6e9a976561ce5d1b461 (diff)
crashtest: sep should be curSep
Change-Id: Ic83165ee4af86d0ed0bc77505aae8f50cfc1471a
Diffstat (limited to 'sd')
-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 aaeed2922be7..757c378b6854 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -931,7 +931,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)