[Libreoffice-commits] .: sd/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Fri Jun 29 00:33:22 PDT 2012


 sd/source/ui/view/drviewsa.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit bb7f52e9fc4fc692f14d76aee6e0a141ad864a3b
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Fri Jun 29 11:29:24 2012 +0400

    fdo#51543: fix incomplete slide number info in status bar
    
    Change-Id: I73cdd236a9e167fb812b0e2c0922df5bd3e2537b

diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index d99fd9b..22464d2 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -748,9 +748,9 @@ void DrawViewShell::GetStatusBarState(SfxItemSet& rSet)
         // Allways show the slide/page number.
         OUString aOUString = SD_RESSTR(STR_SD_PAGE);
         aOUString += " ";
-        aOUString += OUString::valueOf( maTabControl.GetCurPageId() );
+        aOUString += OUString::valueOf( sal_Int32(maTabControl.GetCurPageId()) );
         aOUString += " / " ;
-        aOUString += OUString::valueOf( GetDoc()->GetSdPageCount( mePageKind ) );
+        aOUString += OUString::valueOf( sal_Int32(GetDoc()->GetSdPageCount(mePageKind)) );
 
         // If in layer mode additionally show the layer that contains all
         // selected shapes of the page.  If the shapes are distributed on


More information about the Libreoffice-commits mailing list