Kaydet (Commit) fe3ad864 authored tarafından Jeffrey Chang's avatar Jeffrey Chang Kaydeden (comit) Thorsten Behrens

Fixed template dimension problem on Impress.

This fixes fdo#32719.
üst 0c571e23
...@@ -1070,8 +1070,8 @@ Rectangle SdPage::GetLayoutRect() const ...@@ -1070,8 +1070,8 @@ Rectangle SdPage::GetLayoutRect() const
{ {
aLayoutPos.X() += long( aLayoutSize.Width() * 0.05 ); aLayoutPos.X() += long( aLayoutSize.Width() * 0.05 );
aLayoutPos.Y() += long( aLayoutSize.Height() * 0.234 ); aLayoutPos.Y() += long( aLayoutSize.Height() * 0.234 );
aLayoutSize.Width() = long( aLayoutSize.Width() * 0.9 ); aLayoutSize.Width() = long( aLayoutSize.Width() * 0.88 );
aLayoutSize.Height() = long( aLayoutSize.Height() * 0.66 ); aLayoutSize.Height() = long( aLayoutSize.Height() * 0.58 );
aLayoutRect.SetPos(aLayoutPos); aLayoutRect.SetPos(aLayoutPos);
aLayoutRect.SetSize(aLayoutSize); aLayoutRect.SetSize(aLayoutSize);
} }
...@@ -2416,11 +2416,6 @@ void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eO ...@@ -2416,11 +2416,6 @@ void SdPage::SetObjText(SdrTextObj* pObj, SdrOutliner* pOutliner, PresObjKind eO
aString += String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\n\t\t\t\t\t\t\t" )); aString += String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\n\t\t\t\t\t\t\t" ));
aString += String ( SdResId( STR_PRESOBJ_MPOUTLLAYER7 ) ); aString += String ( SdResId( STR_PRESOBJ_MPOUTLLAYER7 ) );
aString += String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\n\t\t\t\t\t\t\t\t" ));
aString += String ( SdResId( STR_PRESOBJ_MPOUTLLAYER8 ) );
aString += String::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "\n\t\t\t\t\t\t\t\t\t" ));
aString += String ( SdResId( STR_PRESOBJ_MPOUTLLAYER9 ) );
} }
} }
break; break;
......
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