summaryrefslogtreecommitdiff
path: root/basic/source/uno/namecont.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/uno/namecont.cxx')
-rw-r--r--basic/source/uno/namecont.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx
index 566e349c2772..5e0b56e72fa7 100644
--- a/basic/source/uno/namecont.cxx
+++ b/basic/source/uno/namecont.cxx
@@ -180,7 +180,7 @@ void NameContainer::replaceByName( const OUString& aName, const Any& aElement )
aEvent.Base <<= aEvent.Source;
aEvent.Changes.realloc( 1 );
aEvent.Changes[ 0 ].Accessor <<= aName;
- aEvent.Changes[ 0 ].Element <<= aElement;
+ aEvent.Changes[ 0 ].Element = aElement;
aEvent.Changes[ 0 ].ReplacedElement = aOldElement;
maChangesListeners.notifyEach( &XChangesListener::changesOccurred, aEvent );
}
@@ -233,7 +233,7 @@ void NameContainer::insertNoCheck(const OUString& aName, const Any& aElement)
aEvent.Base <<= aEvent.Source;
aEvent.Changes.realloc( 1 );
aEvent.Changes[ 0 ].Accessor <<= aName;
- aEvent.Changes[ 0 ].Element <<= aElement;
+ aEvent.Changes[ 0 ].Element = aElement;
maChangesListeners.notifyEach( &XChangesListener::changesOccurred, aEvent );
}
}