cppcheck: noExplicitConstructor
Change-Id: Id0a6cd461b2ba56e3b9b944514f3b0d0eb75cc44
This commit is contained in:
parent
80ee8f832f
commit
93f9a32cdf
@ -104,7 +104,7 @@ namespace
|
|||||||
ScDocument& m_rDoc;
|
ScDocument& m_rDoc;
|
||||||
bool m_bUndoEnabled;
|
bool m_bUndoEnabled;
|
||||||
public:
|
public:
|
||||||
DisableUndoGuard(ScDocShell *pDocShell)
|
explicit DisableUndoGuard(ScDocShell *pDocShell)
|
||||||
: m_rDoc(pDocShell->GetDocument())
|
: m_rDoc(pDocShell->GetDocument())
|
||||||
, m_bUndoEnabled(m_rDoc.IsUndoEnabled())
|
, m_bUndoEnabled(m_rDoc.IsUndoEnabled())
|
||||||
{
|
{
|
||||||
|
@ -32,7 +32,7 @@ class CustomAnimationBox : public VclVBox
|
|||||||
bool m_bIsInitialized;
|
bool m_bIsInitialized;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CustomAnimationBox(vcl::Window* pParent);
|
explicit CustomAnimationBox(vcl::Window* pParent);
|
||||||
~CustomAnimationBox() override;
|
~CustomAnimationBox() override;
|
||||||
|
|
||||||
virtual void dispose() override;
|
virtual void dispose() override;
|
||||||
|
@ -33,7 +33,7 @@ class SlideTransitionBox : public VclVBox
|
|||||||
bool m_bIsInitialized;
|
bool m_bIsInitialized;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SlideTransitionBox(vcl::Window* pParent);
|
explicit SlideTransitionBox(vcl::Window* pParent);
|
||||||
~SlideTransitionBox() override;
|
~SlideTransitionBox() override;
|
||||||
|
|
||||||
virtual void dispose() override;
|
virtual void dispose() override;
|
||||||
|
@ -32,7 +32,7 @@ class TableDesignBox : public VclVBox
|
|||||||
bool m_bIsInitialized;
|
bool m_bIsInitialized;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TableDesignBox(vcl::Window* pParent);
|
explicit TableDesignBox(vcl::Window* pParent);
|
||||||
~TableDesignBox() override;
|
~TableDesignBox() override;
|
||||||
|
|
||||||
virtual void dispose() override;
|
virtual void dispose() override;
|
||||||
|
@ -1113,7 +1113,7 @@ private:
|
|||||||
SdXShape* mpShape;
|
SdXShape* mpShape;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SdUnoEventsAccess( SdXShape* pShape ) throw();
|
explicit SdUnoEventsAccess(SdXShape* pShape) throw();
|
||||||
|
|
||||||
// XNameReplace
|
// XNameReplace
|
||||||
virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) throw(css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
|
virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement ) throw(css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) override;
|
||||||
|
@ -37,7 +37,7 @@ private:
|
|||||||
ScopedVclPtr<DropdownBox> m_pParent;
|
ScopedVclPtr<DropdownBox> m_pParent;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Popup(VclPtr<DropdownBox> pParent)
|
explicit Popup(VclPtr<DropdownBox> pParent)
|
||||||
: FloatingWindow(pParent, "Popup", "sfx/ui/notebookbarpopup.ui")
|
: FloatingWindow(pParent, "Popup", "sfx/ui/notebookbarpopup.ui")
|
||||||
, m_pParent(pParent)
|
, m_pParent(pParent)
|
||||||
{
|
{
|
||||||
|
@ -38,7 +38,7 @@ private:
|
|||||||
VclPtr<Popup> m_pPopup;
|
VclPtr<Popup> m_pPopup;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DropdownBox(vcl::Window *pParent);
|
explicit DropdownBox(vcl::Window *pParent);
|
||||||
virtual ~DropdownBox() override;
|
virtual ~DropdownBox() override;
|
||||||
virtual void dispose() override;
|
virtual void dispose() override;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
class NotebookBarPopupMenu : public PopupMenu
|
class NotebookBarPopupMenu : public PopupMenu
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
NotebookBarPopupMenu(ResId aRes);
|
explicit NotebookBarPopupMenu(ResId aRes);
|
||||||
void Execute(NotebookBar* pNotebookbar,
|
void Execute(NotebookBar* pNotebookbar,
|
||||||
css::uno::Reference<css::frame::XFrame>& xFrame);
|
css::uno::Reference<css::frame::XFrame>& xFrame);
|
||||||
};
|
};
|
||||||
|
@ -45,7 +45,7 @@ private:
|
|||||||
std::vector<IPrioritable*> m_aSortedChilds;
|
std::vector<IPrioritable*> m_aSortedChilds;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PriorityHBox(vcl::Window *pParent)
|
explicit PriorityHBox(vcl::Window *pParent)
|
||||||
: VclHBox(pParent)
|
: VclHBox(pParent)
|
||||||
, m_bInitialized(false)
|
, m_bInitialized(false)
|
||||||
, m_nNeededWidth(0)
|
, m_nNeededWidth(0)
|
||||||
|
@ -42,7 +42,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
ElementSelectorUIObject(VclPtr<SmElementsControl> xElementSelector);
|
explicit ElementSelectorUIObject(VclPtr<SmElementsControl> xElementSelector);
|
||||||
|
|
||||||
virtual StringMap get_state() override;
|
virtual StringMap get_state() override;
|
||||||
|
|
||||||
|
@ -664,7 +664,7 @@ private:
|
|||||||
std::shared_ptr<comphelper::ThreadTaskTag> mpTag;
|
std::shared_ptr<comphelper::ThreadTaskTag> mpTag;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DeflateData(const uno::Reference< frame::XModel >& rXModel)
|
explicit DeflateData(const uno::Reference< frame::XModel >& rXModel)
|
||||||
: maXModel(rXModel),
|
: maXModel(rXModel),
|
||||||
maPrimitive2DSequence(),
|
maPrimitive2DSequence(),
|
||||||
maRange(),
|
maRange(),
|
||||||
@ -712,7 +712,7 @@ class DeflateThread : public comphelper::ThreadTask
|
|||||||
DeflateData& mrDeflateData;
|
DeflateData& mrDeflateData;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
DeflateThread(DeflateData& rDeflateData)
|
explicit DeflateThread(DeflateData& rDeflateData)
|
||||||
: comphelper::ThreadTask(rDeflateData.mpTag), mrDeflateData(rDeflateData)
|
: comphelper::ThreadTask(rDeflateData.mpTag), mrDeflateData(rDeflateData)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -146,7 +146,7 @@ extern "C" typedef vcl::Window* (SAL_CALL *FN_SvtCreateWindow)(
|
|||||||
class Pause : public Idle
|
class Pause : public Idle
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Pause(sal_Int32 nPauseMilliseconds) :
|
explicit Pause(sal_Int32 nPauseMilliseconds) :
|
||||||
Idle("pause"),
|
Idle("pause"),
|
||||||
m_nPauseMilliseconds(nPauseMilliseconds)
|
m_nPauseMilliseconds(nPauseMilliseconds)
|
||||||
{
|
{
|
||||||
|
@ -19,7 +19,7 @@ class NotebookBarContextChangeEventListener : public ::cppu::WeakImplHelper<css:
|
|||||||
{
|
{
|
||||||
VclPtr<NotebookBar> mpParent;
|
VclPtr<NotebookBar> mpParent;
|
||||||
public:
|
public:
|
||||||
NotebookBarContextChangeEventListener(NotebookBar *p) : mpParent(p) {}
|
explicit NotebookBarContextChangeEventListener(NotebookBar *p) : mpParent(p) {}
|
||||||
virtual ~NotebookBarContextChangeEventListener() {}
|
virtual ~NotebookBarContextChangeEventListener() {}
|
||||||
|
|
||||||
// XContextChangeEventListener
|
// XContextChangeEventListener
|
||||||
|
@ -34,7 +34,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
UIObjectUnoObj(std::unique_ptr<UIObject> pObj);
|
explicit UIObjectUnoObj(std::unique_ptr<UIObject> pObj);
|
||||||
virtual ~UIObjectUnoObj();
|
virtual ~UIObjectUnoObj();
|
||||||
|
|
||||||
css::uno::Reference<css::ui::test::XUIObject> SAL_CALL getChild(const OUString& rID)
|
css::uno::Reference<css::ui::test::XUIObject> SAL_CALL getChild(const OUString& rID)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user