diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-18 01:05:18 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2014-02-18 02:55:13 -0600 |
commit | 313ea4b2c386d93c548442a8f14265a93a5819f1 (patch) | |
tree | dc116dbf52375746a1d687c7dd33899aad991895 /i18npool | |
parent | 0f9c938fa2bf11e031fb2f6d9beebfeda264bec6 (diff) |
coverity#984096 Uninitialized scalar field
Change-Id: If67e1c48fba43fabcaffef92d96bc1377b4d1dd8
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/breakiterator/breakiterator_unicode.cxx | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/i18npool/source/breakiterator/breakiterator_unicode.cxx b/i18npool/source/breakiterator/breakiterator_unicode.cxx index e46dedc663d5..f0a6cb79e2d4 100644 --- a/i18npool/source/breakiterator/breakiterator_unicode.cxx +++ b/i18npool/source/breakiterator/breakiterator_unicode.cxx @@ -40,11 +40,12 @@ using namespace ::com::sun::star::lang; namespace com { namespace sun { namespace star { namespace i18n { -BreakIterator_Unicode::BreakIterator_Unicode() : - cBreakIterator( "com.sun.star.i18n.BreakIterator_Unicode" ), // implementation name - wordRule( "word" ), - lineRule( "line" ), - icuBI( NULL ) +BreakIterator_Unicode::BreakIterator_Unicode() + : cBreakIterator( "com.sun.star.i18n.BreakIterator_Unicode" ) // implementation name + , wordRule( "word" ) + , lineRule( "line" ) + , icuBI( NULL ) + , aBreakType(0) { } @@ -61,14 +62,17 @@ BreakIterator_Unicode::~BreakIterator_Unicode() Wrapper class to provide public access to the RuleBasedBreakIterator's setbreakType method. */ -class OOoRuleBasedBreakIterator : public RuleBasedBreakIterator { +class OOoRuleBasedBreakIterator : public RuleBasedBreakIterator +{ public: - inline void publicSetBreakType(int32_t type) { + inline void publicSetBreakType(int32_t type) + { setBreakType(type); }; - OOoRuleBasedBreakIterator(UDataMemory* image, - UErrorCode &status) : - RuleBasedBreakIterator(image, status) { }; + OOoRuleBasedBreakIterator(UDataMemory* image, + UErrorCode &status) + : RuleBasedBreakIterator(image, status) + { }; }; |