Kaydet (Commit) 8310642c authored tarafından Ilmari Lauhakangas's avatar Ilmari Lauhakangas Kaydeden (comit) Julien Nabet

Typ-o negativ

Fixed some typos and translated a couple of German words

Change-Id: I24ae28dd537ba283a9480413659f85bd6711acad
Reviewed-on: https://gerrit.libreoffice.org/48892Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst b4f44009
......@@ -370,19 +370,19 @@ Public Sub Main()
Dim retAny As Object
retAny = emptyVar
inHyper = CDec("9223372036854775807") 'highest positiv value of int64
inHyper = CDec("9223372036854775807") 'highest positive value of int64
retAny = objOleTest.in_methodAny(inHyper)
sError = "hyper test failed"
If inHyper <> retAny Then
MsgBox(sError)
End If
inHyper = CDec("-9223372036854775808") 'lowest negativ value of int64
inHyper = CDec("-9223372036854775808") 'lowest negative value of int64
retAny = objOleTest.in_methodAny(inHyper)
If inHyper <> retAny Then
MsgBox(sError)
End If
inHyper = CDec("18446744073709551615") 'highest positiv value of unsigne int64
inHyper = CDec("18446744073709551615") 'highest positive value of unsigned int64
retAny = objOleTest.in_methodAny(inHyper)
If inHyper <> retAny Then
......
......@@ -26,7 +26,7 @@
class SVX_DLLPUBLIC SvxLongLRSpaceItem : public SfxPoolItem
{
long mlLeft; // nLeft or the negativ first-line indentation
long mlLeft; // nLeft or the negative first-line indentation
long mlRight; // the unproblematic right edge
protected:
......
......@@ -77,7 +77,7 @@ enum class ImplFontAttrs : sal_uLong
BrushScript = 0x10000000, ///< More Script
Gothic = 0x20000000,
Schoolbook = 0x40000000,
OtherStyle = 0x80000000, ///< OldStyle, ... so negativ points
OtherStyle = 0x80000000, ///< OldStyle, ... so negative points
CJK_AllLang = CJK_JP | CJK_SC | CJK_TC | CJK_KR,
AllScript = Script | Handwriting | Chancery | Comic | BrushScript,
AllSubscript = Handwriting | Chancery | Comic | BrushScript,
......
......@@ -302,12 +302,12 @@ void DicList::SearchForDictionaries(
sal_Int32 nPos = aURL.indexOf('.');
OUString aExt( aURL.copy(nPos + 1).toAsciiLowerCase() );
if ("dcn" == aExt) // negativ
if ("dcn" == aExt) // negative
bNeg = true;
else if ("dcp" == aExt) // positiv
else if ("dcp" == aExt) // positive
bNeg = false;
else
continue; // andere Files
continue; // other files
}
// Record in the list of Dictionaries
......
......@@ -215,7 +215,7 @@ public:
{
toDouble_test_impl(_sValue);
// test also the negativ part.
// test also the negative part.
rtl::OString sNegativValue("-");
sNegativValue += _sValue;
toDouble_test_impl(sNegativValue);
......
......@@ -264,7 +264,7 @@ public:
{
toDouble_test_impl(_sValue);
// test also the negativ part.
// test also the negative part.
rtl::OString sNegativValue("-");
sNegativValue += _sValue;
toDouble_test_impl(sNegativValue);
......@@ -399,7 +399,7 @@ public:
{
toFloat_test_impl(_sValue);
// test also the negativ part.
// test also the negative part.
rtl::OString sNegativValue("-");
sNegativValue += _sValue;
toFloat_test_impl(sNegativValue);
......
......@@ -827,7 +827,7 @@ sal_Int32 SAL_CALL IMPL_RTL_STRNAME( valueOfInt32 )( IMPL_RTL_STRCODE* pStr,
if ( (nRadix < RTL_STR_MIN_RADIX) || (nRadix > RTL_STR_MAX_RADIX) )
nRadix = 10;
/* is value negativ */
/* is value negative */
if ( n < 0 )
{
*pStr = '-';
......@@ -882,7 +882,7 @@ sal_Int32 SAL_CALL IMPL_RTL_STRNAME( valueOfInt64 )( IMPL_RTL_STRCODE* pStr,
if ( (nRadix < RTL_STR_MIN_RADIX) || (nRadix > RTL_STR_MAX_RADIX) )
nRadix = 10;
/* is value negativ */
/* is value negative */
if ( n < 0 )
{
*pStr = '-';
......@@ -1567,7 +1567,7 @@ void SAL_CALL IMPL_RTL_STRINGNAME( newReplaceStrAt )( IMPL_RTL_STRINGDATA** ppTh
return;
}
/* negativ index? */
/* negative index? */
if ( nIndex < 0 )
{
nCount -= nIndex;
......
......@@ -249,7 +249,7 @@ public:
tools::Rectangle GetVisRect() const;
// clips the VisArea and calculates with the negativ coordinates
// clips the VisArea and calculates with the negative coordinates
tools::Rectangle CorrectVisArea(const tools::Rectangle& rVisArea) const;
};
......
......@@ -701,7 +701,7 @@ double ConvertToDec( const OUString& aStr, sal_uInt16 nBase, sal_uInt16 nCharLim
}
if( nStrLen == nCharLim && !bFirstDig && (nFirstDig >= nBase / 2) )
{ // handling negativ values
{ // handling negative values
fVal = ( pow( double( nBase ), double( nCharLim ) ) - fVal ); // complement
fVal *= -1.0;
}
......
......@@ -1125,7 +1125,7 @@ void Edit::ImplShowCursor( bool bOnlyIfVisible )
{
long nMaxNegX = (aOutSize.Width()-ImplGetExtraXOffset()) - GetTextWidth( aText );
mnXOffset -= aOutSize.Width() / 5;
if ( mnXOffset < nMaxNegX ) // both negativ...
if ( mnXOffset < nMaxNegX ) // both negative...
mnXOffset = nMaxNegX;
}
}
......
......@@ -115,7 +115,7 @@ TextSelection ExtTextEngine::MatchGroup( const TextPaM& rCursor ) const
if ( nPara )
{
nPara--;
nCur = GetTextLen( nPara )-1; // no matter if negativ, as if Len()
nCur = GetTextLen( nPara )-1; // no matter if negative, as if Len()
}
else
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment