summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc/pview.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 11:08:14 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-09-27 11:08:14 +0000
commit277a5cd9b90d2b07615035e64ff73419fa8ddc02 (patch)
treec6241f15bf7da496a940038af8512a9e735effde /sw/source/ui/inc/pview.hxx
parente0a5faab58d2320ae00d93c8b9c00997a0ef2806 (diff)
INTEGRATION: CWS swwarnings (1.19.42); FILE MERGED
2007/08/20 15:53:04 tl 1.19.42.5: RESYNC: (1.19-1.20); FILE MERGED 2007/04/11 07:03:26 tl 1.19.42.4: #i69287# warning-free code 2007/03/05 12:45:48 tl 1.19.42.3: #i69287# warning-free code 2007/02/23 11:09:15 tl 1.19.42.2: #i69287# warning-free code 2007/02/22 15:06:47 tl 1.19.42.1: #i69287# warning-free code
Diffstat (limited to 'sw/source/ui/inc/pview.hxx')
-rw-r--r--sw/source/ui/inc/pview.hxx15
1 files changed, 8 insertions, 7 deletions
diff --git a/sw/source/ui/inc/pview.hxx b/sw/source/ui/inc/pview.hxx
index e95e72d5dec9..1d2e53684e4c 100644
--- a/sw/source/ui/inc/pview.hxx
+++ b/sw/source/ui/inc/pview.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: pview.hxx,v $
*
- * $Revision: 1.20 $
+ * $Revision: 1.21 $
*
- * last change: $Author: obo $ $Date: 2007-07-17 13:11:04 $
+ * last change: $Author: hr $ $Date: 2007-09-27 12:08:14 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -172,7 +172,8 @@ public:
return maPaintedPreviewDocRect;
}
- void Scroll(long nXMove, long nYMove);
+ using Window::Scroll;
+ void Scroll(long nXMove, long nYMove, USHORT nFlags = 0);
/** method to enable/disable book preview
@@ -219,7 +220,7 @@ class SW_DLLPUBLIC SwPagePreView: public SfxViewShell
SwScrollbar *pVScrollbar;
ImageButton *pPageUpBtn,
*pPageDownBtn;
- // Dummy-Window zum Fllen der rechten unteren Ecke, wenn beide Scrollbars
+ // Dummy-Window zum F�llen der rechten unteren Ecke, wenn beide Scrollbars
// aktiv sind
Window *pScrollFill;
@@ -235,7 +236,7 @@ class SW_DLLPUBLIC SwPagePreView: public SfxViewShell
SW_DLLPRIVATE void Init(const SwViewOption* = 0);
SW_DLLPRIVATE Point AlignToPixel(const Point& rPt) const;
- SW_DLLPRIVATE int _CreateScrollbar( int bHori );
+ SW_DLLPRIVATE int _CreateScrollbar( BOOL bHori );
SW_DLLPRIVATE DECL_LINK( ScrollHdl, SwScrollbar * );
SW_DLLPRIVATE DECL_LINK( EndScrollHdl, SwScrollbar * );
SW_DLLPRIVATE DECL_LINK( BtnPage, Button * );
@@ -250,7 +251,7 @@ class SW_DLLPUBLIC SwPagePreView: public SfxViewShell
const SfxItemSet &rOptions );
SW_DLLPRIVATE virtual PrintDialog* CreatePrintDialog( Window *pParent );
- SW_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, FASTBOOL bInner );
+ SW_DLLPRIVATE void CalcAndSetBorderPixel( SvBorder &rToFill, BOOL bInner );
/** help method to execute SfxRequest FN_PAGE_UP and FN_PAGE_DOWN
@@ -277,7 +278,7 @@ protected:
public:
SFX_DECL_VIEWFACTORY(SwPagePreView);
- SFX_DECL_INTERFACE(SW_PAGEPREVIEW);
+ SFX_DECL_INTERFACE(SW_PAGEPREVIEW)
TYPEINFO();
inline Window* GetFrameWindow() const { return &(GetViewFrame())->GetWindow(); }