[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sd/source
Caolán McNamara
caolanm at redhat.com
Tue Sep 9 07:42:37 PDT 2014
sd/source/core/stlsheet.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c4c11a1b9e7b9c88dc7f64bfb5eb5d316c7b5366
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Sep 9 15:32:49 2014 +0100
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 at redhat.com>
Tested-by: Michael Stahl <mstahl at redhat.com>
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index b103ab0..5df055f 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)
More information about the Libreoffice-commits
mailing list