diff options
author | Armin Le Grand <alg@apache.org> | 2012-07-30 16:36:56 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2012-07-30 16:36:56 +0000 |
commit | 5c6d55316b6cefab558bdf9ae84646933fd5e914 (patch) | |
tree | 42c8412264612e740fc60a3bce01a605428c0ae8 /sd/source | |
parent | 76741df0b60b9157710f8e66720275749dbf98bd (diff) |
#116001# Reverted revision 1366087
Notes
Notes:
ignore: reverted
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/ui/func/futext.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sd/source/ui/func/futext.cxx b/sd/source/ui/func/futext.cxx index 2a02c7cbfad2..3cb88f4530a1 100644 --- a/sd/source/ui/func/futext.cxx +++ b/sd/source/ui/func/futext.cxx @@ -593,7 +593,8 @@ void FuText::ImpSetAttributesFitToSize(SdrTextObj* pTxtObj) { // FitToSize (An Rahmen anpassen) SfxItemSet aSet(mpViewShell->GetPool(), SDRATTR_TEXT_AUTOGROWHEIGHT, SDRATTR_TEXT_AUTOGROWWIDTH); - aSet.Put(SdrTextFitToSizeTypeItem(sal_True)); + SdrFitToSizeType eFTS = SDRTEXTFIT_PROPORTIONAL; + aSet.Put(SdrTextFitToSizeTypeItem(eFTS)); aSet.Put(SdrTextAutoGrowHeightItem(sal_False)); aSet.Put(SdrTextAutoGrowWidthItem(sal_False)); pTxtObj->SetMergedItemSet(aSet); @@ -603,8 +604,10 @@ void FuText::ImpSetAttributesFitToSize(SdrTextObj* pTxtObj) // #97016# void FuText::ImpSetAttributesFitToSizeVertical(SdrTextObj* pTxtObj) { - SfxItemSet aSet(mpViewShell->GetPool(), SDRATTR_TEXT_AUTOGROWHEIGHT, SDRATTR_TEXT_AUTOGROWWIDTH); - aSet.Put(SdrTextFitToSizeTypeItem(sal_True)); + SfxItemSet aSet(mpViewShell->GetPool(), + SDRATTR_TEXT_AUTOGROWHEIGHT, SDRATTR_TEXT_AUTOGROWWIDTH); + SdrFitToSizeType eFTS = SDRTEXTFIT_PROPORTIONAL; + aSet.Put(SdrTextFitToSizeTypeItem(eFTS)); aSet.Put(SdrTextAutoGrowHeightItem(sal_False)); aSet.Put(SdrTextAutoGrowWidthItem(sal_False)); pTxtObj->SetMergedItemSet(aSet); |