diff options
Diffstat (limited to 'unotools/source/config/moduleoptions.cxx')
-rw-r--r-- | unotools/source/config/moduleoptions.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/unotools/source/config/moduleoptions.cxx b/unotools/source/config/moduleoptions.cxx index 103bf2a7bd3e..c6442a16ab9e 100644 --- a/unotools/source/config/moduleoptions.cxx +++ b/unotools/source/config/moduleoptions.cxx @@ -24,7 +24,6 @@ #include <comphelper/sequence.hxx> #include <osl/diagnose.h> #include <o3tl/enumarray.hxx> -#include <rtl/ustrbuf.hxx> #include <rtl/instance.hxx> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/Sequence.hxx> @@ -728,11 +727,7 @@ void SvtModuleOptions_Impl::MakeReadonlyStatesAvailable() css::uno::Sequence< OUString > lFactories = GetNodeNames(OUString()); std::transform(lFactories.begin(), lFactories.end(), lFactories.begin(), [](const OUString& rFactory) -> OUString { - OUStringBuffer sPath(256); - sPath.append(rFactory ); - sPath.append(PATHSEPARATOR ); - sPath.append(PROPERTYNAME_DEFAULTFILTER); - return sPath.makeStringAndClear(); + return rFactory + PATHSEPARATOR PROPERTYNAME_DEFAULTFILTER; }); css::uno::Sequence< sal_Bool > lReadonlyStates = GetReadOnlyStates(lFactories); |