Kaydet (Commit) 8461c405 authored tarafından Caolán McNamara's avatar Caolán McNamara

aOldFullName and aFullName are both supposed to be prefixed the same

i.e. a2b86b5f stuck the prefix
onto aFullName twice by accident

Change-Id: I3fdba4cf3dea77bad2278812d75788f175e8d221
üst 4bcc5153
......@@ -161,11 +161,10 @@ void SdPage::SetPresentationLayout(const OUString& rLayoutName,
for (sal_Int16 i = -1; i < 9; i++)
{
aOldFullName = aOldLayoutName;
aFullName = maLayoutName + " " +
OUString::number( (sal_Int32) (i <= 0 ) ? 1 : i + 1) +
" " +
aOldFullName = aOldLayoutName + " " +
OUString::number( (sal_Int32) (i <= 0 ) ? 1 : i + 1 );
aFullName = maLayoutName + " " +
OUString::number( (sal_Int32) (i <= 0 ) ? 1 : i + 1);
pSheet = pStShPool->Find(aOldFullName, SD_STYLE_FAMILY_MASTERPAGE);
DBG_ASSERT(pSheet, "Old outline style sheet not found");
aOldOutlineStyles.push_back(pSheet);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment