summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/uno/unotxdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uno/unotxdoc.cxx')
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index cdff7acc2018..538e608853cf 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -230,7 +230,7 @@ static SwPrintUIOptions * lcl_GetPrintUIOptions(
const SwPageFrame *pPage = dynamic_cast<const SwPageFrame*>(pFrame->Lower());
while (pPage && nMax-- > 0)
{
- if (pPage->Frame().Height() == 0)
+ if (pPage->getSwFrame().Height() == 0)
nCurrentPage--;
pPage = static_cast<const SwPageFrame*>(pPage->GetNext());
}