summaryrefslogtreecommitdiff
path: root/extensions/source/bibliography/framectr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/bibliography/framectr.cxx')
-rw-r--r--extensions/source/bibliography/framectr.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 7e448f8ff887..df541538dee4 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -664,8 +664,7 @@ void BibFrameController_Impl::addStatusListener(
aEvent.IsEnabled = true;
aEvent.FeatureDescriptor=pDatMan->getQueryField();
- uno::Sequence<OUString> aStringSeq=pDatMan->getQueryFields();
- aEvent.State.setValue(&aStringSeq,cppu::UnoType<uno::Sequence<OUString>>::get());
+ aEvent.State <<= pDatMan->getQueryFields();
}
else if ( aURL.Path == "Bib/source")
@@ -673,8 +672,7 @@ void BibFrameController_Impl::addStatusListener(
aEvent.IsEnabled = true;
aEvent.FeatureDescriptor=pDatMan->getActiveDataTable();
- uno::Sequence<OUString> aStringSeq=pDatMan->getDataSources();
- aEvent.State.setValue(&aStringSeq,cppu::UnoType<uno::Sequence<OUString>>::get());
+ aEvent.State <<= pDatMan->getDataSources();
}
else if( aURL.Path == "Bib/sdbsource" ||
aURL.Path == "Bib/Mapping" ||