diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 10:22:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-11 12:11:43 +0000 |
commit | f8c1bc4ac38d497f7a7a65e79b99252e45c2e39f (patch) | |
tree | 6c6df3bd2b14d1b9598cce448232fe93d47eea82 /i18npool/inc | |
parent | Related: #i97873# (coverity#705407) Improper use of negative value (diff) | |
download | core-f8c1bc4ac38d497f7a7a65e79b99252e45c2e39f.tar.gz core-f8c1bc4ac38d497f7a7a65e79b99252e45c2e39f.zip |
coverity#707925 Uninitialized pointer field
Change-Id: I0e1034a2ef064f9a3a05a0b8837efdff767ea715
Diffstat (limited to 'i18npool/inc')
-rw-r--r-- | i18npool/inc/inputsequencechecker.hxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/i18npool/inc/inputsequencechecker.hxx b/i18npool/inc/inputsequencechecker.hxx index e2ed6b2629ba..47e6276a0ba3 100644 --- a/i18npool/inc/inputsequencechecker.hxx +++ b/i18npool/inc/inputsequencechecker.hxx @@ -40,7 +40,7 @@ class InputSequenceCheckerImpl : public cppu::WeakImplHelper2 { public: InputSequenceCheckerImpl( const com::sun::star::uno::Reference < com::sun::star::uno::XComponentContext >& rxContext ); - InputSequenceCheckerImpl(); + InputSequenceCheckerImpl(const char *pServiceName); ~InputSequenceCheckerImpl(); virtual sal_Bool SAL_CALL checkInputSequence(const OUString& Text, sal_Int32 nStartPos, @@ -56,11 +56,9 @@ public: virtual com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( com::sun::star::uno::RuntimeException ); -protected: - sal_Int16 checkMode; +private : const sal_Char *serviceName; -private : struct lookupTableItem { lookupTableItem(const sal_Char* rLanguage, const com::sun::star::uno::Reference < com::sun::star::i18n::XExtendedInputSequenceChecker >& rxISC) : aLanguage(rLanguage), xISC(rxISC) {} |