diff options
Diffstat (limited to 'sw/source/core/view/viewsh.cxx')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 6ec563446366..90f49a0c42ed 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -630,7 +630,7 @@ Point SwViewShell::GetPagePos( sal_uInt16 nPageNum ) const return GetLayout()->GetPagePos( nPageNum ); } -sal_uInt16 SwViewShell::GetNumPages() +sal_uInt16 SwViewShell::GetNumPages() const { //It is possible that no layout exists when the method from //root-Ctor is called. |