diff options
author | Jens Carl <j.carl43@gmx.de> | 2017-03-29 02:24:22 +0000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-03-29 19:20:32 +0000 |
commit | 6a101635b21d483c115fa3a75ad35fe7eefb0025 (patch) | |
tree | ab265a90afed801229a4bc8142811fc5b871dabc /comphelper | |
parent | 9c95a2062ed5088c72189e0bb3e70b1b853de934 (diff) |
tdf#39468 Translate German comments
Translate German comments and terms
Change-Id: Ic80dd218bfae5a3523e12cda77b911a4413b8dc6
Reviewed-on: https://gerrit.libreoffice.org/35819
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/source/property/property.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/comphelper/source/property/property.cxx b/comphelper/source/property/property.cxx index a7533bc9f2bf..d5ddc9a9ab7b 100644 --- a/comphelper/source/property/property.cxx +++ b/comphelper/source/property/property.cxx @@ -144,15 +144,14 @@ void RemoveProperty(Sequence<Property>& _rProps, const OUString& _rPropName) { sal_Int32 nLen = _rProps.getLength(); - // binaere Suche + // binary search const Property* pProperties = _rProps.getConstArray(); Property aNameProp(_rPropName, 0, Type(), 0); const Property* pResult = std::lower_bound(pProperties, pProperties + nLen, aNameProp, PropertyCompareByName()); - // gefunden ? if ( pResult && (pResult != pProperties + nLen) && (pResult->Name == _rPropName) ) { - OSL_ENSURE(pResult->Name.equals(_rPropName), "::RemoveProperty Properties nicht sortiert"); + OSL_ENSURE(pResult->Name.equals(_rPropName), "::RemoveProperty Properties not sorted"); removeElementAt(_rProps, pResult - pProperties); } } @@ -162,12 +161,11 @@ void ModifyPropertyAttributes(Sequence<Property>& seqProps, const OUString& sPro { sal_Int32 nLen = seqProps.getLength(); - // binaere Suche + // binary search Property* pProperties = seqProps.getArray(); Property aNameProp(sPropName, 0, Type(), 0); Property* pResult = std::lower_bound(pProperties, pProperties + nLen, aNameProp, PropertyCompareByName()); - // gefunden ? if ( pResult && (pResult != pProperties + nLen) && (pResult->Name == sPropName) ) { pResult->Attributes |= nAddAttrib; |