diff options
-rw-r--r-- | starmath/source/accessibility.hxx | 8 | ||||
-rw-r--r-- | starmath/source/cfgitem.hxx | 2 | ||||
-rw-r--r-- | starmath/source/dialog.cxx | 2 | ||||
-rw-r--r-- | starmath/source/eqnolefilehdr.hxx | 2 | ||||
-rw-r--r-- | starmath/source/mathmlexport.hxx | 2 | ||||
-rw-r--r-- | starmath/source/mathmlimport.cxx | 2 | ||||
-rw-r--r-- | starmath/source/mathmlimport.hxx | 2 | ||||
-rw-r--r-- | starmath/source/mathtype.hxx | 4 | ||||
-rw-r--r-- | starmath/source/ooxmlimport.hxx | 2 | ||||
-rw-r--r-- | starmath/source/rtfexport.hxx | 2 | ||||
-rw-r--r-- | starmath/source/smdetect.hxx | 2 | ||||
-rw-r--r-- | starmath/source/wordexportbase.hxx | 2 |
12 files changed, 16 insertions, 16 deletions
diff --git a/starmath/source/accessibility.hxx b/starmath/source/accessibility.hxx index 9ff782f9e2cd..ddac5836432f 100644 --- a/starmath/source/accessibility.hxx +++ b/starmath/source/accessibility.hxx @@ -80,7 +80,7 @@ protected: OUString GetAccessibleText_Impl(); public: - SmGraphicAccessible( SmGraphicWindow *pGraphicWin ); + explicit SmGraphicAccessible( SmGraphicWindow *pGraphicWin ); virtual ~SmGraphicAccessible(); SmGraphicWindow * GetWin() { return pWin; } @@ -167,7 +167,7 @@ class SmViewForwarder : SmViewForwarder & operator = ( const SmViewForwarder & ) SAL_DELETED_FUNCTION; public: - SmViewForwarder( SmEditAccessible &rAcc ); + explicit SmViewForwarder( SmEditAccessible &rAcc ); virtual ~SmViewForwarder(); virtual bool IsValid() const SAL_OVERRIDE; @@ -255,7 +255,7 @@ class SmEditViewForwarder : /* analog to SvxEditEngineViewForwarder */ SmEditViewForwarder & operator = ( const SmEditViewForwarder & ) SAL_DELETED_FUNCTION; public: - SmEditViewForwarder( SmEditAccessible& rAcc ); + explicit SmEditViewForwarder( SmEditAccessible& rAcc ); virtual ~SmEditViewForwarder(); virtual bool IsValid() const SAL_OVERRIDE; @@ -322,7 +322,7 @@ class SmEditAccessible : SmEditAccessible & operator = ( const SmEditAccessible & ) SAL_DELETED_FUNCTION; public: - SmEditAccessible( SmEditWindow *pEditWin ); + explicit SmEditAccessible( SmEditWindow *pEditWin ); virtual ~SmEditAccessible(); ::accessibility::AccessibleTextHelper * GetTextHelper() { return pTextHelper; } diff --git a/starmath/source/cfgitem.hxx b/starmath/source/cfgitem.hxx index 5b881eba6f9c..98122903497a 100644 --- a/starmath/source/cfgitem.hxx +++ b/starmath/source/cfgitem.hxx @@ -50,7 +50,7 @@ struct SmFontFormat sal_Int16 nItalic; SmFontFormat(); - SmFontFormat( const vcl::Font &rFont ); + explicit SmFontFormat( const vcl::Font &rFont ); const vcl::Font GetFont() const; bool operator == ( const SmFontFormat &rFntFmt ) const; diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx index 5c8e3cc41e35..b942d2bc6adc 100644 --- a/starmath/source/dialog.cxx +++ b/starmath/source/dialog.cxx @@ -408,7 +408,7 @@ void SmFontDialog::DataChanged( const DataChangedEvent& rDCEvt ) class SaveDefaultsQuery : public MessageDialog { public: - SaveDefaultsQuery(vcl::Window *pParent) + explicit SaveDefaultsQuery(vcl::Window *pParent) : MessageDialog(pParent, "SaveDefaultsDialog", "modules/smath/ui/savedefaultsdialog.ui") { diff --git a/starmath/source/eqnolefilehdr.hxx b/starmath/source/eqnolefilehdr.hxx index 3a066a6982ab..9d1587fcb4bc 100644 --- a/starmath/source/eqnolefilehdr.hxx +++ b/starmath/source/eqnolefilehdr.hxx @@ -34,7 +34,7 @@ public: EQNOLEFILEHDR() : nCBHdr(0),nVersion(0), nCf(0),nCBObject(0),nReserved1(0),nReserved2(0), nReserved3(0), nReserved4(0) {} - EQNOLEFILEHDR(sal_uInt32 nLenMTEF) : nCBHdr(0x1c),nVersion(0x20000), + explicit EQNOLEFILEHDR(sal_uInt32 nLenMTEF) : nCBHdr(0x1c),nVersion(0x20000), nCf(0xc1c6),nCBObject(nLenMTEF),nReserved1(0),nReserved2(0x0014F690), nReserved3(0x0014EBB4), nReserved4(0) {} diff --git a/starmath/source/mathmlexport.hxx b/starmath/source/mathmlexport.hxx index d453640657b6..c7f38b364890 100644 --- a/starmath/source/mathmlexport.hxx +++ b/starmath/source/mathmlexport.hxx @@ -44,7 +44,7 @@ class SmXMLExportWrapper bool bFlat; //set true for export to flat .mml, set false for //export to a .sxm (or whatever) package public: - SmXMLExportWrapper(com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rRef) + explicit SmXMLExportWrapper(com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rRef) : xModel(rRef), bFlat(true) {} bool Export(SfxMedium &rMedium); diff --git a/starmath/source/mathmlimport.cxx b/starmath/source/mathmlimport.cxx index 0691339809f2..8ef3bfeb2d4f 100644 --- a/starmath/source/mathmlimport.cxx +++ b/starmath/source/mathmlimport.cxx @@ -594,7 +594,7 @@ struct SmXMLContext_Helper SmXMLImportContext rContext; - SmXMLContext_Helper(SmXMLImportContext &rImport) + explicit SmXMLContext_Helper(SmXMLImportContext &rImport) : nIsBold( -1 ) , nIsItalic( -1 ) , nFontSize( 0.0 ) diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx index f8d7f0ad11c8..3703f699ae29 100644 --- a/starmath/source/mathmlimport.hxx +++ b/starmath/source/mathmlimport.hxx @@ -42,7 +42,7 @@ class SmXMLImportWrapper com::sun::star::uno::Reference<com::sun::star::frame::XModel> xModel; public: - SmXMLImportWrapper(com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rRef) + explicit SmXMLImportWrapper(com::sun::star::uno::Reference<com::sun::star::frame::XModel> &rRef) : xModel(rRef) {} sal_uLong Import(SfxMedium &rMedium); diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx index 4e08cd5719e2..904a0e5b8545 100644 --- a/starmath/source/mathtype.hxx +++ b/starmath/source/mathtype.hxx @@ -35,7 +35,7 @@ public: sal_uInt8 nTface; sal_uInt8 nStyle; MathTypeFont() : nTface(0),nStyle(0) {} - MathTypeFont(sal_uInt8 nFace) : nTface(nFace),nStyle(0) {} + explicit MathTypeFont(sal_uInt8 nFace) : nTface(nFace),nStyle(0) {} void AppendStyleToText(OUString &rS); }; @@ -53,7 +53,7 @@ typedef ::std::set< MathTypeFont, LessMathTypeFont > MathTypeFontSet; class MathType { public: - MathType(OUString &rIn) + explicit MathType(OUString &rIn) : nVersion(0) , nPlatform(0) , nProduct(0) diff --git a/starmath/source/ooxmlimport.hxx b/starmath/source/ooxmlimport.hxx index 000d8d51cf6b..4207726245e9 100644 --- a/starmath/source/ooxmlimport.hxx +++ b/starmath/source/ooxmlimport.hxx @@ -19,7 +19,7 @@ class SmOoxmlImport { public: - SmOoxmlImport( oox::formulaimport::XmlStream& stream ); + explicit SmOoxmlImport( oox::formulaimport::XmlStream& stream ); OUString ConvertToStarMath(); private: OUString handleStream(); diff --git a/starmath/source/rtfexport.hxx b/starmath/source/rtfexport.hxx index 0a3b0a100ed3..71529378dcf6 100644 --- a/starmath/source/rtfexport.hxx +++ b/starmath/source/rtfexport.hxx @@ -20,7 +20,7 @@ class SmRtfExport : public SmWordExportBase { public: - SmRtfExport(const SmNode* pIn); + explicit SmRtfExport(const SmNode* pIn); bool ConvertFromStarMath(OStringBuffer& rBuffer, rtl_TextEncoding nEncoding); private: virtual void HandleVerticalStack(const SmNode* pNode, int nLevel) SAL_OVERRIDE; diff --git a/starmath/source/smdetect.hxx b/starmath/source/smdetect.hxx index f7a274fd6764..f777326fc15e 100644 --- a/starmath/source/smdetect.hxx +++ b/starmath/source/smdetect.hxx @@ -54,7 +54,7 @@ namespace com class SmFilterDetect : public ::cppu::WeakImplHelper< css::document::XExtendedFilterDetection, css::lang::XServiceInfo > { public: - SmFilterDetect( const css::uno::Reference < css::lang::XMultiServiceFactory >& xFactory ); + explicit SmFilterDetect( const css::uno::Reference < css::lang::XMultiServiceFactory >& xFactory ); virtual ~SmFilterDetect(); SFX_DECL_XSERVICEINFO_NOFACTORY diff --git a/starmath/source/wordexportbase.hxx b/starmath/source/wordexportbase.hxx index ee53b12da491..059db4f08a20 100644 --- a/starmath/source/wordexportbase.hxx +++ b/starmath/source/wordexportbase.hxx @@ -18,7 +18,7 @@ class SmWordExportBase { public: - SmWordExportBase( const SmNode* pIn ); + explicit SmWordExportBase( const SmNode* pIn ); virtual ~SmWordExportBase(); protected: void HandleNode( const SmNode* pNode, int nLevel ); |