summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/framectr.cxx5
-rw-r--r--extensions/source/propctrlr/propertycomposer.cxx3
2 files changed, 2 insertions, 6 deletions
diff --git a/extensions/source/bibliography/framectr.cxx b/extensions/source/bibliography/framectr.cxx
index 65e1d061fcd2..f07e61b156e1 100644
--- a/extensions/source/bibliography/framectr.cxx
+++ b/extensions/source/bibliography/framectr.cxx
@@ -335,10 +335,7 @@ throw (css::uno::RuntimeException, std::exception)
}
}
- css::uno::Sequence< css::frame::DispatchInformation > aSeq =
- comphelper::containerToSequence< css::frame::DispatchInformation, std::list< css::frame::DispatchInformation > >( aDispatchInfoList );
-
- return aSeq;
+ return comphelper::containerToSequence( aDispatchInfoList );
}
bool canInsertRecords(const Reference< beans::XPropertySet>& _rxCursorSet)
diff --git a/extensions/source/propctrlr/propertycomposer.cxx b/extensions/source/propctrlr/propertycomposer.cxx
index 98f67468cb0c..dd3f24e78799 100644
--- a/extensions/source/propctrlr/propertycomposer.cxx
+++ b/extensions/source/propctrlr/propertycomposer.cxx
@@ -255,8 +255,7 @@ namespace pcr
m_bSupportedPropertiesAreKnown = true;
}
- Sequence< Property > aSurvived = comphelper::containerToSequence<Property>( m_aSupportedProperties );
- return aSurvived;
+ return comphelper::containerToSequence( m_aSupportedProperties );
}