diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 18:37:04 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 18:37:04 +0000 |
commit | 35a1546ae434c4d9bb74f9f58180b7f183b593dd (patch) | |
tree | a375f885d7b3cc124dd70e48b0f59e7a47b65f5e /vcl/source/window/dockingarea.cxx | |
parent | 3147aabfde35718ba3a1d88890841132c61a80aa (diff) |
INTEGRATION: CWS warnings01 (1.5.70); FILE MERGED
2006/05/23 19:52:39 sb 1.5.70.3: RESYNC: (1.5-1.6); FILE MERGED
2006/03/17 16:12:55 pl 1.5.70.2: #i55991# removed warnings for windows platform
2005/11/10 20:06:33 pl 1.5.70.1: #i55991# removed warnings
Diffstat (limited to 'vcl/source/window/dockingarea.cxx')
-rw-r--r-- | vcl/source/window/dockingarea.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx index 75ca589497a8..4c34d67c8c42 100644 --- a/vcl/source/window/dockingarea.cxx +++ b/vcl/source/window/dockingarea.cxx @@ -4,9 +4,9 @@ * * $RCSfile: dockingarea.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: vg $ $Date: 2006-04-07 10:25:20 $ + * last change: $Author: hr $ $Date: 2006-06-19 19:37:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -163,7 +163,7 @@ WindowAlign DockingAreaWindow::GetAlign() const // ----------------------------------------------------------------------- -void DockingAreaWindow::Paint( const Rectangle& rRect ) +void DockingAreaWindow::Paint( const Rectangle& ) { EnableNativeWidget( TRUE ); // only required because the toolkit curently switches this flag off if( IsNativeControlSupported( CTRL_TOOLBAR, PART_ENTIRE_CONTROL ) ) @@ -190,8 +190,8 @@ void DockingAreaWindow::Paint( const Rectangle& rRect ) aCtrlRegion, nState, aControlValue, rtl::OUString() ); // each toolbar gets a thin border to better recognize its borders on the homogeneous docking area - int nChildren = GetChildCount(); - for( int n = 0; n < nChildren; n++ ) + USHORT nChildren = GetChildCount(); + for( USHORT n = 0; n < nChildren; n++ ) { Window* pChild = GetChild( n ); if ( pChild->IsVisible() ) @@ -215,8 +215,8 @@ void DockingAreaWindow::Paint( const Rectangle& rRect ) // create map to find toolbar lines Size aOutSz = GetOutputSizePixel(); std::map< int, int > ranges; - int nChildren = GetChildCount(); - for( int n = 0; n < nChildren; n++ ) + USHORT nChildren = GetChildCount(); + for( USHORT n = 0; n < nChildren; n++ ) { Window* pChild = GetChild( n ); Point aPos = pChild->GetPosPixel(); |