diff options
author | Armin Weiss <aw@openoffice.org> | 2001-08-01 14:37:15 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2001-08-01 14:37:15 +0000 |
commit | 11e81ed1d04729dc2bb4d7c7edf635627be76436 (patch) | |
tree | 4bdde5a667e9f7da5d224596ec0413729d60030e /svx/source/svdraw/svdotxed.cxx | |
parent | d8d3e5b4fc9c7b17548f24d301b6a9ff60361299 (diff) |
#89459# set MinTextSize() when starting to edit a vertical text
Diffstat (limited to 'svx/source/svdraw/svdotxed.cxx')
-rw-r--r-- | svx/source/svdraw/svdotxed.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx index 07470bfb47ed..0f6d804ee250 100644 --- a/svx/source/svdraw/svdotxed.cxx +++ b/svx/source/svdraw/svdotxed.cxx @@ -2,9 +2,9 @@ * * $RCSfile: svdotxed.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: aw $ $Date: 2001-01-26 14:08:54 $ + * last change: $Author: aw $ $Date: 2001-08-01 15:37:15 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -240,7 +240,12 @@ void SdrTextObj::TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* p } // Die PaperSize soll in den meisten Faellen von selbst wachsen - aPaperMin.Height()=0; // #33102# + // #89459# + if(IsVerticalWriting()) + aPaperMin.Width() = 0; + else + aPaperMin.Height() = 0; // #33102# + if (eHAdj!=SDRTEXTHORZADJUST_BLOCK || bFitToSize) { aPaperMin.Width()=0; } |