cppcheck: noExplicitConstructor
Change-Id: Ib80e7f6d055bead246db3028b4eab6edfabe3d2c
This commit is contained in:
parent
a6c47236a4
commit
442ab9ceee
@ -29,7 +29,7 @@ namespace dbaui
|
||||
class OQueryAddTabConnUndoAction : public OQueryTabConnUndoAction
|
||||
{
|
||||
public:
|
||||
OQueryAddTabConnUndoAction(OQueryTableView* pOwner);
|
||||
explicit OQueryAddTabConnUndoAction(OQueryTableView* pOwner);
|
||||
|
||||
virtual void Undo() SAL_OVERRIDE;
|
||||
virtual void Redo() SAL_OVERRIDE;
|
||||
@ -40,7 +40,7 @@ namespace dbaui
|
||||
class OQueryDelTabConnUndoAction : public OQueryTabConnUndoAction
|
||||
{
|
||||
public:
|
||||
OQueryDelTabConnUndoAction(OQueryTableView* pOwner);
|
||||
explicit OQueryDelTabConnUndoAction(OQueryTableView* pOwner);
|
||||
|
||||
virtual void Undo() SAL_OVERRIDE;
|
||||
virtual void Redo() SAL_OVERRIDE;
|
||||
|
@ -57,12 +57,12 @@ namespace dbaui
|
||||
sal_Int32 m_nCellIndex;
|
||||
|
||||
public:
|
||||
OTabFieldCellModifiedUndoAct(OSelectionBrowseBox* pSelBrwBox)
|
||||
explicit OTabFieldCellModifiedUndoAct(OSelectionBrowseBox* pSelBrwBox)
|
||||
: OQueryDesignFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_MODIFY_CELL)
|
||||
,m_nCellIndex(BROWSER_INVALIDID){ }
|
||||
|
||||
inline void SetCellContents(const OUString& str) { m_strNextCellContents = str; }
|
||||
inline void SetCellIndex(sal_Int32 nIndex) { m_nCellIndex = nIndex; }
|
||||
void SetCellContents(const OUString& str) { m_strNextCellContents = str; }
|
||||
void SetCellIndex(sal_Int32 nIndex) { m_nCellIndex = nIndex; }
|
||||
|
||||
virtual void Undo() SAL_OVERRIDE;
|
||||
virtual void Redo() SAL_OVERRIDE { Undo(); }
|
||||
@ -76,7 +76,7 @@ namespace dbaui
|
||||
long m_nNextWidth;
|
||||
|
||||
public:
|
||||
OTabFieldSizedUndoAct(OSelectionBrowseBox* pSelBrwBox) : OQueryDesignFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_SIZE_COLUMN), m_nNextWidth(0) { }
|
||||
explicit OTabFieldSizedUndoAct(OSelectionBrowseBox* pSelBrwBox) : OQueryDesignFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_SIZE_COLUMN), m_nNextWidth(0) { }
|
||||
|
||||
inline void SetOriginalWidth(long nWidth) { m_nNextWidth = nWidth; }
|
||||
|
||||
@ -106,7 +106,7 @@ namespace dbaui
|
||||
virtual void Redo() SAL_OVERRIDE { pOwner->EnterUndoMode();pOwner->RemoveColumn(pDescr->GetColumnId());pOwner->LeaveUndoMode(); }
|
||||
|
||||
public:
|
||||
OTabFieldDelUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDDELETE) { }
|
||||
explicit OTabFieldDelUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDDELETE) { }
|
||||
};
|
||||
|
||||
// OTabFieldDelUndoAct - Undo-Klasse fuer Anlegen eines Feldes
|
||||
@ -119,7 +119,7 @@ namespace dbaui
|
||||
virtual void Redo() SAL_OVERRIDE { pOwner->EnterUndoMode();pOwner->InsertColumn(pDescr, m_nColumnPostion);pOwner->LeaveUndoMode();}
|
||||
|
||||
public:
|
||||
OTabFieldCreateUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDCREATE) { }
|
||||
explicit OTabFieldCreateUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDCREATE) { }
|
||||
};
|
||||
|
||||
// OTabFieldMovedUndoAct - Undo class when a field was moved inside the selection
|
||||
@ -134,7 +134,7 @@ namespace dbaui
|
||||
}
|
||||
|
||||
public:
|
||||
OTabFieldMovedUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDMOVED) { }
|
||||
explicit OTabFieldMovedUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDMOVED) { }
|
||||
};
|
||||
}
|
||||
#endif // INCLUDED_DBACCESS_SOURCE_UI_QUERYDESIGN_QUERYDESIGNFIELDUNDOACT_HXX
|
||||
|
@ -29,7 +29,7 @@ namespace dbaui
|
||||
class OQueryTabWinShowUndoAct : public OQueryTabWinUndoAct
|
||||
{
|
||||
public:
|
||||
OQueryTabWinShowUndoAct(OQueryTableView* pOwner);
|
||||
explicit OQueryTabWinShowUndoAct(OQueryTableView* pOwner);
|
||||
virtual ~OQueryTabWinShowUndoAct();
|
||||
|
||||
virtual void Undo() SAL_OVERRIDE;
|
||||
@ -41,7 +41,7 @@ namespace dbaui
|
||||
class OQueryTabWinDelUndoAct : public OQueryTabWinUndoAct
|
||||
{
|
||||
public:
|
||||
OQueryTabWinDelUndoAct(OQueryTableView* pOwner);
|
||||
explicit OQueryTabWinDelUndoAct(OQueryTableView* pOwner);
|
||||
virtual ~OQueryTabWinDelUndoAct();
|
||||
|
||||
virtual void Undo() SAL_OVERRIDE;
|
||||
|
@ -250,7 +250,7 @@ namespace
|
||||
protected:
|
||||
virtual void Select() SAL_OVERRIDE;
|
||||
public:
|
||||
OSelectionBrwBoxHeader(OSelectionBrowseBox* pParent);
|
||||
explicit OSelectionBrwBoxHeader(OSelectionBrowseBox* pParent);
|
||||
virtual ~OSelectionBrwBoxHeader() { disposeOnce(); }
|
||||
virtual void dispose() SAL_OVERRIDE { m_pBrowseBox.clear(); ::svt::EditBrowserHeader::dispose(); }
|
||||
};
|
||||
|
@ -78,7 +78,8 @@ namespace dbaui
|
||||
bool m_bInUndoMode;
|
||||
|
||||
DECL_LINK_TYPED(OnInvalidateTimer, Timer*, void);
|
||||
public: OSelectionBrowseBox( vcl::Window* pParent );
|
||||
public:
|
||||
explicit OSelectionBrowseBox( vcl::Window* pParent );
|
||||
virtual ~OSelectionBrowseBox();
|
||||
virtual void dispose() SAL_OVERRIDE;
|
||||
|
||||
|
@ -31,7 +31,7 @@ class LimitBoxController: public svt::ToolboxController,
|
||||
public ::com::sun::star::lang::XServiceInfo
|
||||
{
|
||||
public:
|
||||
LimitBoxController(
|
||||
explicit LimitBoxController(
|
||||
const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& rxContext );
|
||||
virtual ~LimitBoxController();
|
||||
|
||||
|
@ -110,7 +110,7 @@ namespace dbaui
|
||||
}
|
||||
|
||||
public:
|
||||
OViewController(const Reference< XComponentContext >& _rM) : OQueryController(_rM){}
|
||||
explicit OViewController(const Reference< XComponentContext >& _rM) : OQueryController(_rM){}
|
||||
|
||||
// need by registration
|
||||
static OUString getImplementationName_Static() throw( RuntimeException )
|
||||
|
@ -121,7 +121,7 @@ namespace dbaui
|
||||
DECL_LINK(ControlPreNotifyHdl, NotifyEvent*);
|
||||
|
||||
public:
|
||||
OTableEditorCtrl(vcl::Window* pParentWin);
|
||||
explicit OTableEditorCtrl(vcl::Window* pParentWin);
|
||||
virtual ~OTableEditorCtrl();
|
||||
virtual void dispose() SAL_OVERRIDE;
|
||||
virtual bool CursorMoving(long nNewRow, sal_uInt16 nNewCol) SAL_OVERRIDE;
|
||||
|
@ -53,7 +53,7 @@ namespace dbaui
|
||||
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) SAL_OVERRIDE;
|
||||
|
||||
public:
|
||||
OTableFieldDescWin( vcl::Window* pParent);
|
||||
explicit OTableFieldDescWin( vcl::Window* pParent);
|
||||
virtual ~OTableFieldDescWin();
|
||||
virtual void dispose() SAL_OVERRIDE;
|
||||
|
||||
|
@ -98,7 +98,7 @@ namespace dbaui
|
||||
virtual void Redo() SAL_OVERRIDE;
|
||||
public:
|
||||
TYPEINFO_OVERRIDE();
|
||||
OTableEditorDelUndoAct( OTableEditorCtrl* pOwner );
|
||||
explicit OTableEditorDelUndoAct( OTableEditorCtrl* pOwner );
|
||||
virtual ~OTableEditorDelUndoAct();
|
||||
};
|
||||
|
||||
|
@ -39,7 +39,7 @@ namespace dbaui
|
||||
{
|
||||
|
||||
protected:
|
||||
OAdvancedSettingsDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB);
|
||||
explicit OAdvancedSettingsDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB);
|
||||
|
||||
public:
|
||||
// XTypeProvider
|
||||
|
@ -33,7 +33,7 @@ namespace dbaui
|
||||
private:
|
||||
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> m_xContext;
|
||||
public:
|
||||
OColumnControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& rxContext);
|
||||
explicit OColumnControl(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& rxContext);
|
||||
|
||||
// UnoControl
|
||||
virtual OUString GetComponentServiceName() SAL_OVERRIDE;
|
||||
|
@ -68,7 +68,7 @@ protected:
|
||||
OColumnControlModel(const OColumnControlModel* _pSource
|
||||
,const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory>& _rxFactory);
|
||||
public:
|
||||
OColumnControlModel(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory>& _rxFactory);
|
||||
explicit OColumnControlModel(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory>& _rxFactory);
|
||||
|
||||
// UNO Anbindung
|
||||
DECLARE_XINTERFACE( )
|
||||
|
@ -31,7 +31,7 @@ class ODBTypeWizDialog
|
||||
{
|
||||
|
||||
protected:
|
||||
ODBTypeWizDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB);
|
||||
explicit ODBTypeWizDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB);
|
||||
|
||||
public:
|
||||
// XTypeProvider
|
||||
|
Loading…
x
Reference in New Issue
Block a user