[Libreoffice-commits] .: Branch 'libreoffice-3-6' - sd/source
Ivan Timofeev
ivantimofeev at kemper.freedesktop.org
Fri Jun 29 00:34:28 PDT 2012
sd/source/ui/view/drviewsa.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit ca4e735794a824ba34f372431659f7757be1971b
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
(cherry picked from commit bb7f52e9fc4fc692f14d76aee6e0a141ad864a3b)
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index 56ee97a..eac7b28 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