diff options
-rw-r--r-- | sd/source/ui/app/sdmod2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx index 083abc5fac55..5add22808a29 100644 --- a/sd/source/ui/app/sdmod2.cxx +++ b/sd/source/ui/app/sdmod2.cxx @@ -275,7 +275,7 @@ IMPL_LINK(SdModule, CalcFieldValueHdl, EditFieldInfo*, pInfo) } else if( pDoc ) { - nPageCount = (sal_uInt16)pDoc->GetSdPageCount(PK_STANDARD); + nPageCount = (sal_uInt16)pDoc->GetActiveSdPageCount(); } } |