summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-25 14:19:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-25 14:19:36 +0000
commit688cade99564380bac9e9229519afa88f4d5fd04 (patch)
treeac6fd2faf84b566a1f40d42869813ae2d8ef2b51 /dbaccess
parentf8e7e33c6bd87065f2aa36b8bf7b830c11bdddfe (diff)
coverity#1266500 Unused value
Change-Id: I81441568c4c5b864abbf1375b561a9389a72ef90
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/documentdefinition.cxx7
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)