summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:34:43 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 16:34:43 +0000
commit2e36fc24652b6d3863bc1637094967dec98b1813 (patch)
treecdb4e36d2f5ef954c7d9d0dde1d4957c7efeb9c4 /basic
parent5e89a90608d9a8d39d996747017b85f5778ece3c (diff)
INTEGRATION: CWS warnings01 (1.7.30); FILE MERGED
2005/11/18 14:29:38 gh 1.7.30.2: solaris warnings (some more) 2005/10/28 12:36:16 gh 1.7.30.1: remove warnings for linux
Diffstat (limited to 'basic')
-rw-r--r--basic/source/app/brkpnts.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/basic/source/app/brkpnts.cxx b/basic/source/app/brkpnts.cxx
index b51ea1b2f96c..791b360ea195 100644
--- a/basic/source/app/brkpnts.cxx
+++ b/basic/source/app/brkpnts.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: brkpnts.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 21:14:16 $
+ * last change: $Author: hr $ $Date: 2006-06-19 17:34:43 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -65,7 +65,7 @@
#include "ttstrhlp.hxx"
#endif
-#include <brkpnts.hxx>
+#include "brkpnts.hxx"
#include "basic.hrc"
#include "resids.hrc"
@@ -83,8 +83,9 @@ ImageList* BreakpointWindow::pImages = NULL;
BreakpointWindow::BreakpointWindow( Window *pParent )
: Window( pParent )
, nCurYOffset( 0 )
-, pModule( NULL )
, nMarkerPos( MARKER_NOMARKER )
+, pModule( NULL )
+, bErrorMarker( FALSE )
{
if ( !pImages )
pImages = new ImageList( ResId( RID_IMGLST_LAYOUT ) );
@@ -332,7 +333,6 @@ Breakpoint* BreakpointWindow::FindBreakpoint( const Point& rMousePos )
void BreakpointWindow::ToggleBreakpoint( USHORT nLine )
{
- BOOL bNewBreakPoint = FALSE;
Breakpoint* pBrk = FindBreakpoint( nLine );
if ( pBrk ) // entfernen
{
@@ -402,8 +402,9 @@ void BreakpointWindow::SetMarkerPos( USHORT nLine, BOOL bError )
}
-void BreakpointWindow::Scroll( long nHorzScroll, long nVertScroll )
+void BreakpointWindow::Scroll( long nHorzScroll, long nVertScroll, USHORT nFlags )
{
+ (void) nFlags; /* avoid warning about unused parameter */
nCurYOffset -= nVertScroll;
Window::Scroll( nHorzScroll, nVertScroll );
}