summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2012-08-26 11:30:07 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-08-26 12:50:42 +0400
commit38b0c652e043c5ffee90db8de580046dc4bfa985 (patch)
tree846ba386295958914952e0c7e3ce2462bd74c0b9 /sw
parent44dc8746f3d521b73123522f345d0f676622c2b3 (diff)
SwPagePreView: initialize sPageStr
this adds "Page " to the page number info in the statusbar and to the scrollbar's tooltip in the page preview mode. Change-Id: Ia1dda0e98777465ef87364f12437449ca7787510
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/uiview/pview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/uiview/pview.cxx b/sw/source/ui/uiview/pview.cxx
index 631f12bddbd9..b77ea42d0fa3 100644
--- a/sw/source/ui/uiview/pview.cxx
+++ b/sw/source/ui/uiview/pview.cxx
@@ -1189,6 +1189,7 @@ SwPagePreView::SwPagePreView(SfxViewFrame *pViewFrame, SfxViewShell* pOldSh):
SfxViewShell( pViewFrame, SWVIEWFLAGS ),
aViewWin( &pViewFrame->GetWindow(), *this ),
nNewPage(USHRT_MAX),
+ sPageStr(SW_RES(STR_PAGE)),
pHScrollbar(0),
pVScrollbar(0),
pPageUpBtn(0),