Kaydet (Commit) 0ce1c006 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS warnings01 (1.12.220); FILE MERGED

2006/04/26 08:09:31 os 1.12.220.1: warnings removed
üst 44cf72db
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: _contdlg.cxx,v $ * $RCSfile: _contdlg.cxx,v $
* *
* $Revision: 1.12 $ * $Revision: 1.13 $
* *
* last change: $Author: rt $ $Date: 2005-09-08 20:31:36 $ * last change: $Author: hr $ $Date: 2006-06-19 14:59:11 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -118,8 +118,8 @@ SFX_IMPL_FLOATINGWINDOW( SvxContourDlgChildWindow, SID_CONTOUR_DLG ); ...@@ -118,8 +118,8 @@ SFX_IMPL_FLOATINGWINDOW( SvxContourDlgChildWindow, SID_CONTOUR_DLG );
|* |*
\************************************************************************/ \************************************************************************/
SvxContourDlgItem::SvxContourDlgItem( USHORT nId, SvxSuperContourDlg& rContourDlg, SfxBindings& rBindings ) : SvxContourDlgItem::SvxContourDlgItem( USHORT _nId, SvxSuperContourDlg& rContourDlg, SfxBindings& rBindings ) :
SfxControllerItem ( nId, rBindings ), SfxControllerItem ( _nId, rBindings ),
rDlg ( rContourDlg ) rDlg ( rContourDlg )
{ {
} }
...@@ -131,7 +131,7 @@ SvxContourDlgItem::SvxContourDlgItem( USHORT nId, SvxSuperContourDlg& rContourDl ...@@ -131,7 +131,7 @@ SvxContourDlgItem::SvxContourDlgItem( USHORT nId, SvxSuperContourDlg& rContourDl
|* |*
\************************************************************************/ \************************************************************************/
void SvxContourDlgItem::StateChanged( USHORT nSID, SfxItemState eState, const SfxPoolItem* pItem ) void SvxContourDlgItem::StateChanged( USHORT nSID, SfxItemState /*eState*/, const SfxPoolItem* pItem )
{ {
if ( pItem && ( SID_CONTOUR_EXEC == nSID ) ) if ( pItem && ( SID_CONTOUR_EXEC == nSID ) )
{ {
...@@ -153,11 +153,11 @@ void SvxContourDlgItem::StateChanged( USHORT nSID, SfxItemState eState, const Sf ...@@ -153,11 +153,11 @@ void SvxContourDlgItem::StateChanged( USHORT nSID, SfxItemState eState, const Sf
|* |*
\************************************************************************/ \************************************************************************/
SvxContourDlgChildWindow::SvxContourDlgChildWindow( Window* pParent, USHORT nId, SvxContourDlgChildWindow::SvxContourDlgChildWindow( Window* _pParent, USHORT nId,
SfxBindings* pBindings, SfxChildWinInfo* pInfo ) : SfxBindings* pBindings, SfxChildWinInfo* pInfo ) :
SfxChildWindow( pParent, nId ) SfxChildWindow( _pParent, nId )
{ {
SvxSuperContourDlg* pDlg = new SvxSuperContourDlg( pBindings, this, pParent, CONT_RESID( RID_SVXDLG_CONTOUR ) ); SvxSuperContourDlg* pDlg = new SvxSuperContourDlg( pBindings, this, _pParent, CONT_RESID( RID_SVXDLG_CONTOUR ) );
pWindow = pDlg; pWindow = pDlg;
if ( pInfo->nFlags & SFX_CHILDWIN_ZOOMIN ) if ( pInfo->nFlags & SFX_CHILDWIN_ZOOMIN )
...@@ -188,10 +188,10 @@ void SvxContourDlgChildWindow::UpdateContourDlg( const Graphic& rGraphic, BOOL b ...@@ -188,10 +188,10 @@ void SvxContourDlgChildWindow::UpdateContourDlg( const Graphic& rGraphic, BOOL b
|* |*
\************************************************************************/ \************************************************************************/
SvxContourDlg::SvxContourDlg( SfxBindings* pBindings, SfxChildWindow* pCW, SvxContourDlg::SvxContourDlg( SfxBindings* _pBindings, SfxChildWindow* pCW,
Window* pParent, const ResId& rResId ) : Window* _pParent, const ResId& rResId ) :
SfxFloatingWindow ( pBindings, pCW, pParent, rResId ) SfxFloatingWindow ( _pBindings, pCW, _pParent, rResId )
{ {
} }
...@@ -408,16 +408,16 @@ void SvxContourDlg::Update( const Graphic& rGraphic, BOOL bGraphicLinked, ...@@ -408,16 +408,16 @@ void SvxContourDlg::Update( const Graphic& rGraphic, BOOL bGraphicLinked,
|* |*
\************************************************************************/ \************************************************************************/
SvxSuperContourDlg::SvxSuperContourDlg( SfxBindings *pBindings, SfxChildWindow *pCW, SvxSuperContourDlg::SvxSuperContourDlg( SfxBindings *_pBindings, SfxChildWindow *pCW,
Window* pParent, const ResId& rResId ) : Window* _pParent, const ResId& rResId ) :
SvxContourDlg ( pBindings, pCW, pParent, rResId ), SvxContourDlg ( _pBindings, pCW, _pParent, rResId ),
aContourItem ( SID_CONTOUR_EXEC, *this, *pBindings ), pCheckObj ( NULL ),
aContourItem ( SID_CONTOUR_EXEC, *this, *_pBindings ),
aTbx1 ( this, ResId( TBX1 ) ), aTbx1 ( this, ResId( TBX1 ) ),
aMtfTolerance ( this, ResId( MTF_TOLERANCE ) ), aMtfTolerance ( this, ResId( MTF_TOLERANCE ) ),
aContourWnd ( this, ResId( CTL_CONTOUR) ), aContourWnd ( this, ResId( CTL_CONTOUR) ),
aStbStatus ( this, WB_BORDER | WB_3DLOOK | WB_LEFT ), aStbStatus ( this, WB_BORDER | WB_3DLOOK | WB_LEFT ),
nGrfChanged ( 0UL ), nGrfChanged ( 0UL ),
pCheckObj ( NULL ),
bExecState ( FALSE ), bExecState ( FALSE ),
bGraphicLinked ( FALSE ), bGraphicLinked ( FALSE ),
maImageList ( SVX_RES( CD_IMAPDLG ) ), maImageList ( SVX_RES( CD_IMAPDLG ) ),
...@@ -493,17 +493,17 @@ void SvxSuperContourDlg::Resize() ...@@ -493,17 +493,17 @@ void SvxSuperContourDlg::Resize()
if ( aNewSize.Height() >= aMinSize.Height() ) if ( aNewSize.Height() >= aMinSize.Height() )
{ {
Size aSize( aStbStatus.GetSizePixel() ); Size _aSize( aStbStatus.GetSizePixel() );
Point aPoint( 0, aNewSize.Height() - aSize.Height() ); Point aPoint( 0, aNewSize.Height() - _aSize.Height() );
// StatusBar positionieren // StatusBar positionieren
aStbStatus.SetPosSizePixel( aPoint, Size( aNewSize.Width(), aSize.Height() ) ); aStbStatus.SetPosSizePixel( aPoint, Size( aNewSize.Width(), _aSize.Height() ) );
aStbStatus.Show(); aStbStatus.Show();
// EditWindow positionieren // EditWindow positionieren
aSize.Width() = aNewSize.Width() - 18; _aSize.Width() = aNewSize.Width() - 18;
aSize.Height() = aPoint.Y() - aContourWnd.GetPosPixel().Y() - 6; _aSize.Height() = aPoint.Y() - aContourWnd.GetPosPixel().Y() - 6;
aContourWnd.SetSizePixel( aSize ); aContourWnd.SetSizePixel( _aSize );
aLastSize = aNewSize; aLastSize = aNewSize;
} }
...@@ -646,11 +646,11 @@ PolyPolygon SvxSuperContourDlg::GetPolyPolygon( BOOL bRescaleToGraphic ) ...@@ -646,11 +646,11 @@ PolyPolygon SvxSuperContourDlg::GetPolyPolygon( BOOL bRescaleToGraphic )
|* |*
\************************************************************************/ \************************************************************************/
void SvxSuperContourDlg::Update( const Graphic& rGraphic, BOOL bGraphicLinked, void SvxSuperContourDlg::Update( const Graphic& rGraphic, BOOL _bGraphicLinked,
const PolyPolygon* pPolyPoly, void* pEditingObj ) const PolyPolygon* pPolyPoly, void* pEditingObj )
{ {
aUpdateGraphic = rGraphic; aUpdateGraphic = rGraphic;
bUpdateGraphicLinked = bGraphicLinked; bUpdateGraphicLinked = _bGraphicLinked;
pUpdateEditingObject = pEditingObj; pUpdateEditingObject = pEditingObj;
if ( pPolyPoly ) if ( pPolyPoly )
...@@ -936,7 +936,7 @@ IMPL_LINK( SvxSuperContourDlg, GraphSizeHdl, ContourWindow*, pWnd ) ...@@ -936,7 +936,7 @@ IMPL_LINK( SvxSuperContourDlg, GraphSizeHdl, ContourWindow*, pWnd )
|* |*
\************************************************************************/ \************************************************************************/
IMPL_LINK( SvxSuperContourDlg, UpdateHdl, Timer*, pTimer ) IMPL_LINK( SvxSuperContourDlg, UpdateHdl, Timer*, EMPTYARG )
{ {
aUpdateTimer.Stop(); aUpdateTimer.Stop();
...@@ -969,7 +969,7 @@ IMPL_LINK( SvxSuperContourDlg, UpdateHdl, Timer*, pTimer ) ...@@ -969,7 +969,7 @@ IMPL_LINK( SvxSuperContourDlg, UpdateHdl, Timer*, pTimer )
|* |*
\************************************************************************/ \************************************************************************/
IMPL_LINK( SvxSuperContourDlg, CreateHdl, Timer*, pTimer ) IMPL_LINK( SvxSuperContourDlg, CreateHdl, Timer*, EMPTYARG )
{ {
aCreateTimer.Stop(); aCreateTimer.Stop();
...@@ -1093,7 +1093,6 @@ IMPL_LINK( SvxSuperContourDlg, PipetteClickHdl, ContourWindow*, pWnd ) ...@@ -1093,7 +1093,6 @@ IMPL_LINK( SvxSuperContourDlg, PipetteClickHdl, ContourWindow*, pWnd )
{ {
Bitmap aMask; Bitmap aMask;
const Color& rColor = pWnd->GetPipetteColor(); const Color& rColor = pWnd->GetPipetteColor();
Bitmap* pMask = NULL;
EnterWait(); EnterWait();
...@@ -1174,7 +1173,7 @@ void SvxSuperContourDlg::DataChanged( const DataChangedEvent& rDCEvt ) ...@@ -1174,7 +1173,7 @@ void SvxSuperContourDlg::DataChanged( const DataChangedEvent& rDCEvt )
|* |*
\************************************************************************/ \************************************************************************/
IMPL_LINK( SvxSuperContourDlg, MiscHdl, void*, p ) IMPL_LINK( SvxSuperContourDlg, MiscHdl, void*, EMPTYARG )
{ {
SvtMiscOptions aMiscOptions; SvtMiscOptions aMiscOptions;
aTbx1.SetOutStyle( aMiscOptions.GetToolboxStyle() ); aTbx1.SetOutStyle( aMiscOptions.GetToolboxStyle() );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment