diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-25 14:19:36 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-25 14:19:36 +0000 |
commit | 688cade99564380bac9e9229519afa88f4d5fd04 (patch) | |
tree | ac6fd2faf84b566a1f40d42869813ae2d8ef2b51 /dbaccess | |
parent | f8e7e33c6bd87065f2aa36b8bf7b830c11bdddfe (diff) |
coverity#1266500 Unused value
Change-Id: I81441568c4c5b864abbf1375b561a9389a72ef90
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/core/dataaccess/documentdefinition.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/dbaccess/source/core/dataaccess/documentdefinition.cxx b/dbaccess/source/core/dataaccess/documentdefinition.cxx index 0cbeb70e8f48..5711294ef933 100644 --- a/dbaccess/source/core/dataaccess/documentdefinition.cxx +++ b/dbaccess/source/core/dataaccess/documentdefinition.cxx @@ -196,13 +196,8 @@ namespace dbaccess m_pDefinition = NULL; } - void SAL_CALL OEmbedObjectHolder::changingState( const lang::EventObject& /*aEvent*/, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (embed::WrongStateException, uno::RuntimeException, std::exception) + void SAL_CALL OEmbedObjectHolder::changingState( const lang::EventObject& /*aEvent*/, ::sal_Int32 /*nOldState*/, ::sal_Int32 /*nNewState*/ ) throw (embed::WrongStateException, uno::RuntimeException, std::exception) { - if ( !m_bInChangingState && nNewState == EmbedStates::RUNNING && nOldState == EmbedStates::ACTIVE && m_pDefinition ) - { - m_bInChangingState = true; - m_bInChangingState = false; - } } void SAL_CALL OEmbedObjectHolder::stateChanged( const lang::EventObject& aEvent, ::sal_Int32 nOldState, ::sal_Int32 nNewState ) throw (uno::RuntimeException, std::exception) |