[Libreoffice-commits] core.git: sd/source

J. Fernando Lagrange fernando+libreoffice at trankil.info
Sun Feb 9 13:38:33 PST 2014


 sd/source/ui/app/sdmod2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit ad5443b929962dea64985b3b197ea323aafab834
Author: J. Fernando Lagrange <fernando+libreoffice at trankil.info>
Date:   Sun Feb 2 16:09:02 2014 +0100

    fdo#74383 - PagesField: do not count hidden slides
    
    Change-Id: Ied09cc3ed4305c14583e9f4d9ce211514c2c90e1

diff --git a/sd/source/ui/app/sdmod2.cxx b/sd/source/ui/app/sdmod2.cxx
index 083abc5..5add228 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();
                 }
             }
 


More information about the Libreoffice-commits mailing list