diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-06-12 17:56:38 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-06-12 17:56:38 +0200 |
commit | 88d538c6e3fb2585d392adbb032ece73a3cc0b36 (patch) | |
tree | 529d253e4174683d1ac3692c57b65eb392b05e99 /writerperfect | |
parent | 22085914e8e4eb05b0c80272267a736708082049 (diff) |
Some cppcheck cleaning
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/filter/ListStyle.cxx | 1 | ||||
-rw-r--r-- | writerperfect/source/filter/OdtGenerator.cxx | 5 | ||||
-rw-r--r-- | writerperfect/source/vsdimp/VisioImportFilter.hxx | 2 | ||||
-rw-r--r-- | writerperfect/source/wpdimp/WordPerfectImportFilter.hxx | 2 | ||||
-rw-r--r-- | writerperfect/source/wpgimp/WPGImportFilter.hxx | 2 |
5 files changed, 8 insertions, 4 deletions
diff --git a/writerperfect/source/filter/ListStyle.cxx b/writerperfect/source/filter/ListStyle.cxx index e59ad53f91d0..f9720b9010c4 100644 --- a/writerperfect/source/filter/ListStyle.cxx +++ b/writerperfect/source/filter/ListStyle.cxx @@ -134,6 +134,7 @@ void UnorderedListLevelStyle::write(OdfDocumentHandler *pHandler, int iLevel) co ListStyle::ListStyle(const char *psName, const int iListID) : Style(psName), + miNumListLevels(0), miListID(iListID) { for (int i=0; i<WP6_NUM_LIST_LEVELS; i++) diff --git a/writerperfect/source/filter/OdtGenerator.cxx b/writerperfect/source/filter/OdtGenerator.cxx index ab7f634af660..1ef6371a8a9b 100644 --- a/writerperfect/source/filter/OdtGenerator.cxx +++ b/writerperfect/source/filter/OdtGenerator.cxx @@ -198,6 +198,7 @@ public: }; OdtGeneratorPrivate::OdtGeneratorPrivate(OdfDocumentHandler *pHandler, const OdfStreamType streamType) : + mpInput(NULL), mpHandler(pHandler), mbUsed(false), mWriterDocumentStates(), @@ -208,7 +209,9 @@ OdtGeneratorPrivate::OdtGeneratorPrivate(OdfDocumentHandler *pHandler, const Odf mpCurrentPageSpan(NULL), miNumPageStyles(0), miObjectNumber(0), - mxStreamType(streamType) + mpCurrentTableStyle(NULL), + mxStreamType(streamType), + mpPassword(NULL) { mWriterDocumentStates.push(WriterDocumentState()); mWriterListStates.push(WriterListState()); diff --git a/writerperfect/source/vsdimp/VisioImportFilter.hxx b/writerperfect/source/vsdimp/VisioImportFilter.hxx index 6cf46b71068b..7bfa5e8bedf1 100644 --- a/writerperfect/source/vsdimp/VisioImportFilter.hxx +++ b/writerperfect/source/vsdimp/VisioImportFilter.hxx @@ -68,7 +68,7 @@ protected: public: VisioImportFilter( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rxMSF) - : mxMSF( rxMSF ) {} + : mxMSF( rxMSF ), meType((FilterType)0) {} virtual ~VisioImportFilter() {} // XFilter diff --git a/writerperfect/source/wpdimp/WordPerfectImportFilter.hxx b/writerperfect/source/wpdimp/WordPerfectImportFilter.hxx index 50b995ff70bf..9f73d8f231d1 100644 --- a/writerperfect/source/wpdimp/WordPerfectImportFilter.hxx +++ b/writerperfect/source/wpdimp/WordPerfectImportFilter.hxx @@ -73,7 +73,7 @@ protected: public: WordPerfectImportFilter( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rxMSF) - : mxMSF( rxMSF ) {} + : mxMSF( rxMSF ), meType((FilterType)0) {} virtual ~WordPerfectImportFilter() {} // XFilter diff --git a/writerperfect/source/wpgimp/WPGImportFilter.hxx b/writerperfect/source/wpgimp/WPGImportFilter.hxx index bab1fd474f3e..2b5385103fb4 100644 --- a/writerperfect/source/wpgimp/WPGImportFilter.hxx +++ b/writerperfect/source/wpgimp/WPGImportFilter.hxx @@ -68,7 +68,7 @@ protected: public: WPGImportFilter( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > &rxMSF) - : mxMSF( rxMSF ) {} + : mxMSF( rxMSF ), meType((FilterType)0) {} virtual ~WPGImportFilter() {} // XFilter |