summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2018-01-30 12:05:51 +0200
committerJulien Nabet <serval2412@yahoo.fr>2018-01-30 12:16:37 +0100
commit8310642c6c404ea501b8be5ae4d12860e1562ac9 (patch)
tree881e305318d96431142107d91845dda412ef982d
parentb4f440092b852a7c66f4acdd7e9b0c8e23e212ef (diff)
Typ-o negativ
Fixed some typos and translated a couple of German words Change-Id: I24ae28dd537ba283a9480413659f85bd6711acad Reviewed-on: https://gerrit.libreoffice.org/48892 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
-rw-r--r--extensions/test/ole/VisualBasic/Module1.vb6
-rw-r--r--include/svx/rulritem.hxx2
-rw-r--r--include/unotools/fontcfg.hxx2
-rw-r--r--linguistic/source/dlistimp.cxx6
-rw-r--r--sal/qa/rtl/ostring/rtl_OString2.cxx2
-rw-r--r--sal/qa/rtl/oustring/rtl_OUString2.cxx4
-rw-r--r--sal/rtl/strtmpl.cxx6
-rw-r--r--sc/source/ui/Accessibility/AccessibleText.cxx2
-rw-r--r--scaddins/source/analysis/analysishelper.cxx2
-rw-r--r--vcl/source/control/edit.cxx2
-rw-r--r--vcl/source/edit/xtextedt.cxx2
11 files changed, 18 insertions, 18 deletions
diff --git a/extensions/test/ole/VisualBasic/Module1.vb b/extensions/test/ole/VisualBasic/Module1.vb
index ae3ca7fa4c93..03da7399ffd4 100644
--- a/extensions/test/ole/VisualBasic/Module1.vb
+++ b/extensions/test/ole/VisualBasic/Module1.vb
@@ -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
diff --git a/include/svx/rulritem.hxx b/include/svx/rulritem.hxx
index ea73bbc71ed6..fd5fde10b17f 100644
--- a/include/svx/rulritem.hxx
+++ b/include/svx/rulritem.hxx
@@ -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:
diff --git a/include/unotools/fontcfg.hxx b/include/unotools/fontcfg.hxx
index 98aa19676294..477187e98529 100644
--- a/include/unotools/fontcfg.hxx
+++ b/include/unotools/fontcfg.hxx
@@ -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,
diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx
index cdace82de2c6..5aade2b9e02e 100644
--- a/linguistic/source/dlistimp.cxx
+++ b/linguistic/source/dlistimp.cxx
@@ -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
diff --git a/sal/qa/rtl/ostring/rtl_OString2.cxx b/sal/qa/rtl/ostring/rtl_OString2.cxx
index 63efbf1c9839..1e22a96b5e48 100644
--- a/sal/qa/rtl/ostring/rtl_OString2.cxx
+++ b/sal/qa/rtl/ostring/rtl_OString2.cxx
@@ -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);
diff --git a/sal/qa/rtl/oustring/rtl_OUString2.cxx b/sal/qa/rtl/oustring/rtl_OUString2.cxx
index 385d49b3c537..426834b88f5f 100644
--- a/sal/qa/rtl/oustring/rtl_OUString2.cxx
+++ b/sal/qa/rtl/oustring/rtl_OUString2.cxx
@@ -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);
diff --git a/sal/rtl/strtmpl.cxx b/sal/rtl/strtmpl.cxx
index 929e5ce5c60e..b477e50216c0 100644
--- a/sal/rtl/strtmpl.cxx
+++ b/sal/rtl/strtmpl.cxx
@@ -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;
diff --git a/sc/source/ui/Accessibility/AccessibleText.cxx b/sc/source/ui/Accessibility/AccessibleText.cxx
index cf9a4e9cca4b..2e19fb6a72c3 100644
--- a/sc/source/ui/Accessibility/AccessibleText.cxx
+++ b/sc/source/ui/Accessibility/AccessibleText.cxx
@@ -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;
};
diff --git a/scaddins/source/analysis/analysishelper.cxx b/scaddins/source/analysis/analysishelper.cxx
index 530097ca278e..e7dd010f426a 100644
--- a/scaddins/source/analysis/analysishelper.cxx
+++ b/scaddins/source/analysis/analysishelper.cxx
@@ -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;
}
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx
index 4dd99139c2f5..644438d53bf6 100644
--- a/vcl/source/control/edit.cxx
+++ b/vcl/source/control/edit.cxx
@@ -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;
}
}
diff --git a/vcl/source/edit/xtextedt.cxx b/vcl/source/edit/xtextedt.cxx
index aa630c7ecab0..20cbddaf8556 100644
--- a/vcl/source/edit/xtextedt.cxx
+++ b/vcl/source/edit/xtextedt.cxx
@@ -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;