From 38b0c652e043c5ffee90db8de580046dc4bfa985 Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Sun, 26 Aug 2012 11:30:07 +0400 Subject: 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 --- sw/source/ui/uiview/pview.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'sw') 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), -- cgit v1.2.3