summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-06-29 11:29:24 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-06-29 11:32:38 +0400
commitbb7f52e9fc4fc692f14d76aee6e0a141ad864a3b (patch)
tree05961c62f883fd79ed52c609e11aaaf519aeb804
parentc064aad68b8b6e8579b53c9a86b73f43a6d2e3b8 (diff)
fdo#51543: fix incomplete slide number info in status bar
Change-Id: I73cdd236a9e167fb812b0e2c0922df5bd3e2537b
-rw-r--r--sd/source/ui/view/drviewsa.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index d99fd9bb3972..22464d2d56be 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