Prepare for removal of non-const operator[] from Sequence in linguistic
Change-Id: I6eda1416ca0421a48bf9811343850aa504019d57 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124374 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
@@ -45,8 +45,7 @@ struct LangSvcEntries
|
||||
explicit LangSvcEntries( const OUString &rSvcImplName ) :
|
||||
nLastTriedSvcIndex(-1)
|
||||
{
|
||||
aSvcImplNames.realloc(1);
|
||||
aSvcImplNames[0] = rSvcImplName;
|
||||
aSvcImplNames = { rSvcImplName };
|
||||
}
|
||||
|
||||
void Clear()
|
||||
|
@@ -1044,8 +1044,7 @@ uno::Reference< util::XChangesBatch > const & GrammarCheckingIterator::GetUpdate
|
||||
beans::PropertyValue aValue;
|
||||
aValue.Name = "nodepath";
|
||||
aValue.Value <<= OUString("org.openoffice.Office.Linguistic/ServiceManager");
|
||||
uno::Sequence< uno::Any > aProps(1);
|
||||
aProps[0] <<= aValue;
|
||||
uno::Sequence< uno::Any > aProps{ uno::Any(aValue) };
|
||||
m_xUpdateAccess.set(
|
||||
xConfigurationProvider->createInstanceWithArguments(
|
||||
"com.sun.star.configuration.ConfigurationUpdateAccess", aProps ),
|
||||
|
Reference in New Issue
Block a user