summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorJeffrey Chang <jeffdchang@gmail.com>2011-08-17 23:30:02 +0800
committerThorsten Behrens <tbehrens@novell.com>2011-08-17 12:27:10 +0200
commitfe3ad86423b6f14097bd9ac2d5c2d1f029635010 (patch)
treeb9ad12b2792487595e8e8f20c76870415633db44 /sd
parent0c571e233f8824ab0ccd907e72dd8a81527f0998 (diff)
Fixed template dimension problem on Impress.
This fixes fdo#32719.
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/sdpage.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index d929dc9f8948..e1b8a2357aff 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -1070,8 +1070,8 @@ Rectangle SdPage::GetLayoutRect() const
{
aLayoutPos.X() += long( aLayoutSize.Width() * 0.05 );
aLayoutPos.Y() += long( aLayoutSize.Height() * 0.234 );
- aLayoutSize.Width() = long( aLayoutSize.Width() * 0.9 );
- aLayoutSize.Height() = long( aLayoutSize.Height() * 0.66 );
+ aLayoutSize.Width() = long( aLayoutSize.Width() * 0.88 );
+ aLayoutSize.Height() = long( aLayoutSize.Height() * 0.58 );
aLayoutRect.SetPos(aLayoutPos);
aLayoutRect.SetSize(aLayoutSize);
}
@@ -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 ( 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;