summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorArmin Le Grand <alg@apache.org>2012-07-26 16:02:57 +0000
committerArmin Le Grand <alg@apache.org>2012-07-26 16:02:57 +0000
commitc3f714be4453789706df803568dca9aa3086ed01 (patch)
treec832fb56f9434bbc7e023d21fa5b2916fd058ace /sw
parent0c170376f7e1896455f439237055e39df020e7ae (diff)
#116001# TextToFitSize item/property optimized to boolean
Notes
Notes: ignore: reverted
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8graf.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8graf.cxx b/sw/source/filter/ww8/ww8graf.cxx
index 61666de0d5ac..05075b611f88 100644
--- a/sw/source/filter/ww8/ww8graf.cxx
+++ b/sw/source/filter/ww8/ww8graf.cxx
@@ -1223,7 +1223,7 @@ SdrObject* SwWW8ImplReader::ReadTxtBox( WW8_DPHEAD* pHd, const WW8_DO* pDo,
SetStdAttr( rSet, aTxtB.aLnt, aTxtB.aShd );
SetFill( rSet, aTxtB.aFill );
- rSet.Put( SdrTextFitToSizeTypeItem( SDRTEXTFIT_NONE ) );
+ rSet.Put( SdrTextFitToSizeTypeItem( sal_False ) );
rSet.Put( SdrTextAutoGrowWidthItem(false));
rSet.Put( SdrTextAutoGrowHeightItem(false));
rSet.Put( SdrTextLeftDistItem( MIN_BORDER_DIST*2 ) );
@@ -2868,7 +2868,7 @@ SwFrmFmt* SwWW8ImplReader::MungeTextIntoDrawBox(SdrObject* pTrueObject,
SfxItemSet aSet(pDrawModel->GetItemPool());
aSet.Put(XFillStyleItem(XFILL_NONE));
aSet.Put(XLineStyleItem(XLINE_NONE));
- aSet.Put(SdrTextFitToSizeTypeItem( SDRTEXTFIT_NONE ));
+ aSet.Put(SdrTextFitToSizeTypeItem( sal_False ));
aSet.Put(SdrTextAutoGrowHeightItem(false));
aSet.Put(SdrTextAutoGrowWidthItem(false));
pSdrTextObj->SetMergedItemSet(aSet);