summaryrefslogtreecommitdiffstats
path: root/sw/source/core/text/pormulti.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/text/pormulti.cxx')
-rw-r--r--sw/source/core/text/pormulti.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/text/pormulti.cxx b/sw/source/core/text/pormulti.cxx
index 5134593156f3..8f5ea538393f 100644
--- a/sw/source/core/text/pormulti.cxx
+++ b/sw/source/core/text/pormulti.cxx
@@ -1695,8 +1695,8 @@ bool SwTextFormatter::BuildMultiPortion( SwTextFormatInfo &rInf,
nMaxWidth = pUpperFrame ?
( rInf.GetTextFrame()->IsVertical() ?
- pUpperFrame->Prt().Width() :
- pUpperFrame->Prt().Height() ) :
+ pUpperFrame->getSwPrint().Width() :
+ pUpperFrame->getSwPrint().Height() ) :
USHRT_MAX;
}
else