diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-10-07 14:36:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-10-07 15:11:03 +0100 |
commit | 7ba7a974f6d9f4b265e72b8e91c5a175bc3a3b14 (patch) | |
tree | 6db04a6adf3f9607683e160cf698bf24a2838db5 /forms/source/richtext | |
parent | 74010f1c502a4bd7eb1ef3ee3d0e8c45a1c9afee (diff) |
cppcheck: noExplicitConstructor
Change-Id: I32c6728ce7423fd997cdbec66feb8a6ba39948d2
Diffstat (limited to 'forms/source/richtext')
-rw-r--r-- | forms/source/richtext/clipboarddispatcher.hxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextengine.hxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/richtextviewport.hxx | 2 | ||||
-rw-r--r-- | forms/source/richtext/rtattributehandler.hxx | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/richtext/clipboarddispatcher.hxx b/forms/source/richtext/clipboarddispatcher.hxx index 6bf95259a4b9..b0d0569654eb 100644 --- a/forms/source/richtext/clipboarddispatcher.hxx +++ b/forms/source/richtext/clipboarddispatcher.hxx @@ -69,7 +69,7 @@ namespace frm bool m_bPastePossible; public: - OPasteClipboardDispatcher( EditView& _rView ); + explicit OPasteClipboardDispatcher( EditView& _rView ); protected: virtual ~OPasteClipboardDispatcher(); diff --git a/forms/source/richtext/richtextengine.hxx b/forms/source/richtext/richtextengine.hxx index 98ddf5e3d242..528a2d37e3a2 100644 --- a/forms/source/richtext/richtextengine.hxx +++ b/forms/source/richtext/richtextengine.hxx @@ -60,7 +60,7 @@ namespace frm protected: /** constructs a new RichTextEngine. The instances takes the ownership of the given SfxItemPool */ - RichTextEngine( SfxItemPool* _pPool ); + explicit RichTextEngine( SfxItemPool* _pPool ); private: RichTextEngine( const RichTextEngine& ) SAL_DELETED_FUNCTION; diff --git a/forms/source/richtext/richtextviewport.hxx b/forms/source/richtext/richtextviewport.hxx index f6f380e21c7f..59d670449fa1 100644 --- a/forms/source/richtext/richtextviewport.hxx +++ b/forms/source/richtext/richtextviewport.hxx @@ -33,7 +33,7 @@ namespace frm bool m_bHideInactiveSelection; public: - RichTextViewPort( vcl::Window* _pParent ); + explicit RichTextViewPort( vcl::Window* _pParent ); void setView( EditView& _rView ); diff --git a/forms/source/richtext/rtattributehandler.hxx b/forms/source/richtext/rtattributehandler.hxx index 15a9b12a867e..6555369a41cf 100644 --- a/forms/source/richtext/rtattributehandler.hxx +++ b/forms/source/richtext/rtattributehandler.hxx @@ -88,7 +88,7 @@ namespace frm SvxAdjust m_eAdjust; public: - ParaAlignmentHandler( AttributeId _nAttributeId ); + explicit ParaAlignmentHandler( AttributeId _nAttributeId ); public: virtual AttributeCheckState implGetCheckState( const SfxPoolItem& _rItem ) const SAL_OVERRIDE; @@ -101,7 +101,7 @@ namespace frm sal_uInt16 m_nLineSpace; public: - LineSpacingHandler( AttributeId _nAttributeId ); + explicit LineSpacingHandler( AttributeId _nAttributeId ); public: virtual AttributeCheckState implGetCheckState( const SfxPoolItem& _rItem ) const SAL_OVERRIDE; @@ -114,7 +114,7 @@ namespace frm SvxEscapement m_eEscapement; public: - EscapementHandler( AttributeId _nAttributeId ); + explicit EscapementHandler( AttributeId _nAttributeId ); public: virtual AttributeCheckState implGetCheckState( const SfxPoolItem& _rItem ) const SAL_OVERRIDE; @@ -162,7 +162,7 @@ namespace frm SvxAdjust m_eOppositeDefaultAdjustment; public: - ParagraphDirectionHandler( AttributeId _nAttributeId ); + explicit ParagraphDirectionHandler( AttributeId _nAttributeId ); public: virtual AttributeCheckState implGetCheckState( const SfxPoolItem& _rItem ) const SAL_OVERRIDE; |