diff options
author | Armin Weiss <aw@openoffice.org> | 2002-11-07 11:29:53 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2002-11-07 11:29:53 +0000 |
commit | 146dfe037b37591ce0071e2ac238a175a3750b3f (patch) | |
tree | 75a8597b8c67d49a84d35bbdaa8f50993e8db17e /svx/source/svdraw/svdotxed.cxx | |
parent | 577209204127c9c4a10713ab9cc7f09b3fd5fdcd (diff) |
#103516# For complete ver adjust support, set paper min height to 0, here.
Diffstat (limited to 'svx/source/svdraw/svdotxed.cxx')
-rw-r--r-- | svx/source/svdraw/svdotxed.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx index 7088a0df0682..03c745f0b4e0 100644 --- a/svx/source/svdraw/svdotxed.cxx +++ b/svx/source/svdraw/svdotxed.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdotxed.cxx,v $ * - * $Revision: 1.9 $ + * $Revision: 1.10 $ * - * last change: $Author: aw $ $Date: 2002-09-26 13:11:57 $ + * last change: $Author: aw $ $Date: 2002-11-07 12:29:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -256,9 +256,16 @@ void SdrTextObj::TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* p else aPaperMin.Height() = 0; // #33102# - if (eHAdj!=SDRTEXTHORZADJUST_BLOCK || bFitToSize) { + if(eHAdj!=SDRTEXTHORZADJUST_BLOCK || bFitToSize) { aPaperMin.Width()=0; } + + // #103516# For complete ver adjust support, set paper min height to 0, here. + if(SDRTEXTHORZADJUST_BLOCK != eVAdj || bFitToSize) + { + aPaperMin.Height() = 0; + } + if (pPaperMin!=NULL) *pPaperMin=aPaperMin; if (pPaperMax!=NULL) *pPaperMax=aPaperMax; if (pViewInit!=NULL) *pViewInit=aViewInit; |