diff options
author | J. Fernando Lagrange <fernando+libreoffice@trankil.info> | 2014-02-02 16:09:02 +0100 |
---|---|---|
committer | Thorsten Behrens <thb@documentfoundation.org> | 2014-02-09 22:30:00 +0100 |
commit | ad5443b929962dea64985b3b197ea323aafab834 (patch) | |
tree | ca5bff5c8a8153a8c16fabddf6f707502e1a20bb | |
parent | 0419524c57a7c18386c6cdc893a59fd95e589de9 (diff) |
fdo#74383 - PagesField: do not count hidden slides
Change-Id: Ied09cc3ed4305c14583e9f4d9ce211514c2c90e1
-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(); } } |