Fix typos
Change-Id: Ia79bc8d35cf19438d177f31a8e0c8603102b4ef1 Reviewed-on: https://gerrit.libreoffice.org/35061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
f727186145
commit
66891aaebe
+1
-1
@@ -1796,7 +1796,7 @@ public:
|
||||
SCROW GetNextDifferentChangedRow( SCTAB nTab, SCROW nStart) const;
|
||||
|
||||
// returns whether to export a Default style for this col or not
|
||||
// nDefault is setted to one position in the current row where the Default style is
|
||||
// nDefault is set to one position in the current row where the Default style is
|
||||
void GetColDefault( SCTAB nTab, SCCOL nCol, SCROW nLastRow, SCROW& nDefault);
|
||||
|
||||
bool UpdateOutlineCol( SCCOL nStartCol, SCCOL nEndCol, SCTAB nTab, bool bShow );
|
||||
|
||||
@@ -6734,7 +6734,7 @@ void Test::testPrecisionAsShown()
|
||||
fExpectedRoundVal = -10.0;
|
||||
checkPrecisionAsShown( aCode, fValue, fExpectedRoundVal );
|
||||
}
|
||||
{ // thousand rounding buguous!!!! tdf#106253
|
||||
{ // thousand rounding bogus!!!! tdf#106253
|
||||
aCode = "0,,";
|
||||
fValue = 4.0e9 / 7.0;
|
||||
fExpectedRoundVal = 571e6; // actual is 571428571
|
||||
@@ -6760,7 +6760,7 @@ void Test::testPrecisionAsShown()
|
||||
fValue = 4.0 / 70000.0;
|
||||
fExpectedRoundVal = 5.71e-5;
|
||||
checkPrecisionAsShown( aCode, fValue, fExpectedRoundVal );
|
||||
// engineering rounding bugous!!! tdf#106252
|
||||
// engineering rounding bogus!!! tdf#106252
|
||||
aCode = "##0.000E0";
|
||||
fValue = 400000.0 / 7.0;
|
||||
fExpectedRoundVal = 57143.0; // actual is 57140
|
||||
|
||||
@@ -388,7 +388,7 @@ long ScColumn::GetNeededSize(
|
||||
SfxItemSet* pFontSet = pDocument->GetPreviewFont( nCol, nRow, nTab );
|
||||
pPattern->FillEditItemSet( pSet, pFontSet ? pFontSet : pCondSet );
|
||||
}
|
||||
// no longer needed, are setted with the text (is faster)
|
||||
// no longer needed, are set with the text (is faster)
|
||||
// pEngine->SetDefaults( pSet );
|
||||
|
||||
if ( static_cast<const SfxBoolItem&>(pSet->Get(EE_PARA_HYPHENATE)).GetValue() ) {
|
||||
|
||||
@@ -1269,7 +1269,7 @@ bool ScDocument::InsertRow( SCCOL nStartCol, SCTAB nStartTab,
|
||||
bool bTest = true;
|
||||
bool bRet = false;
|
||||
bool bOldAutoCalc = GetAutoCalc();
|
||||
SetAutoCalc( false ); // avoid mulitple calculations
|
||||
SetAutoCalc( false ); // avoid multiple calculations
|
||||
for ( i = nStartTab; i <= nEndTab && bTest && i < static_cast<SCTAB>(maTabs.size()); i++)
|
||||
if (maTabs[i] && (!pTabMark || pTabMark->GetTableSelect(i)))
|
||||
bTest &= maTabs[i]->TestInsertRow(nStartCol, nEndCol, nStartRow, nSize);
|
||||
@@ -3758,7 +3758,7 @@ bool ScDocument::HasSelectionData( SCCOL nCol, SCROW nRow, SCTAB nTab ) const
|
||||
void ScDocument::CheckVectorizationState()
|
||||
{
|
||||
bool bOldAutoCalc = GetAutoCalc();
|
||||
bAutoCalc = false; // no mulitple calculations
|
||||
bAutoCalc = false; // no multiple calculations
|
||||
|
||||
TableContainer::iterator it = maTabs.begin();
|
||||
for (; it != maTabs.end(); ++it)
|
||||
@@ -3771,7 +3771,7 @@ void ScDocument::CheckVectorizationState()
|
||||
void ScDocument::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
|
||||
{
|
||||
bool bOldAutoCalc = GetAutoCalc();
|
||||
bAutoCalc = false; // no mulitple calculations
|
||||
bAutoCalc = false; // no multiple calculations
|
||||
{ // scope for bulk broadcast
|
||||
ScBulkBroadcast aBulkBroadcast( GetBASM(), SfxHintId::ScDataChanged);
|
||||
TableContainer::iterator it = maTabs.begin();
|
||||
@@ -3792,7 +3792,7 @@ void ScDocument::SetAllFormulasDirty( const sc::SetFormulaDirtyContext& rCxt )
|
||||
void ScDocument::SetDirty( const ScRange& rRange, bool bIncludeEmptyCells )
|
||||
{
|
||||
bool bOldAutoCalc = GetAutoCalc();
|
||||
bAutoCalc = false; // no mulitple calculations
|
||||
bAutoCalc = false; // no multiple calculations
|
||||
{ // scope for bulk broadcast
|
||||
ScBulkBroadcast aBulkBroadcast( GetBASM(), SfxHintId::ScDataChanged);
|
||||
SCTAB nTab2 = rRange.aEnd.Tab();
|
||||
|
||||
@@ -512,7 +512,7 @@ class CellStoreInitializer
|
||||
//
|
||||
// The problem with having the attributes in CellStoreInitializer
|
||||
// directly is that, as a functor, it might be copied around. In
|
||||
// that case miPos in _copied_ object points ot maAttrs in the
|
||||
// that case miPos in _copied_ object points to maAttrs in the
|
||||
// original object, not in the copy. So later, deep in mdds, we end
|
||||
// up comparing iterators from different sequences.
|
||||
//
|
||||
|
||||
@@ -466,7 +466,7 @@ void ScUnoAddInCollection::ReadConfiguration()
|
||||
for ( sal_Int32 nLocale = 0; nLocale < nLocaleCount; nLocale++ )
|
||||
{
|
||||
// PropertyValue name is the locale ("convert" from
|
||||
// string to string to canonicalize)
|
||||
// string to canonicalize)
|
||||
OUString aLocale( LanguageTag( pConfigArray[nLocale].Name, true).getBcp47( false));
|
||||
// PropertyValue value is the localized value (string in this case)
|
||||
OUString aName;
|
||||
|
||||
@@ -281,7 +281,7 @@ const sal_uInt16 BIFF_ID_PCITEM_STRING = 0x00CD;
|
||||
|
||||
const sal_uInt16 BIFF_ID_UNKNOWN = SAL_MAX_UINT16;
|
||||
|
||||
/* Many of thse constants might be unused, but please keep for documentation. If you notice
|
||||
/* Many of these constants might be unused, but please keep for documentation. If you notice
|
||||
* hardcoded numbers in the code that actually correspond in meaning in the context (not just value)
|
||||
* to one of the named constants, feel free to change it to use the constant instead, of course.
|
||||
*/
|
||||
|
||||
@@ -168,7 +168,7 @@ struct PCFieldGroupModel
|
||||
bool mbDateGroup; /// True = items are grouped by date ranges or by item names.
|
||||
bool mbAutoStart; /// True = start value for range groups is calculated from source data.
|
||||
bool mbAutoEnd; /// True = end value for range groups is calculated from source data.
|
||||
OUString msFinalGroupName ; /// Finalized group name of this field used in internal pivot table collaction.
|
||||
OUString msFinalGroupName ; /// Finalized group name of this field used in internal pivot table collection.
|
||||
|
||||
|
||||
explicit PCFieldGroupModel();
|
||||
|
||||
@@ -1858,7 +1858,7 @@ void ScXMLExport::ExportContent_()
|
||||
SCTAB nTableCount(0);
|
||||
sal_Int32 nShapesCount(0);
|
||||
CollectSharedData(nTableCount, nShapesCount);
|
||||
OSL_FAIL("no shared data setted");
|
||||
OSL_FAIL("no shared data set");
|
||||
if (!pSharedData)
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -312,8 +312,8 @@ ScVbaWorkbook::SaveAs( const uno::Any& FileName, const uno::Any& FileFormat, con
|
||||
FileName >>= sFileName;
|
||||
OUString sURL;
|
||||
osl::FileBase::getFileURLFromSystemPath( sFileName, sURL );
|
||||
// detect if there is no path if there is no path then we need
|
||||
// to use the current current folder
|
||||
// detect if there is no path then we need
|
||||
// to use the current folder
|
||||
INetURLObject aURL( sURL );
|
||||
sURL = aURL.GetMainURL( INetURLObject::DecodeMechanism::ToIUri );
|
||||
if( sURL.isEmpty() )
|
||||
|
||||
@@ -380,7 +380,7 @@ bool FuText::MouseButtonDown(const MouseEvent& rMEvt)
|
||||
if(aVEvt.pHdl)
|
||||
{
|
||||
// force new handle identification, the pointer will be dead here
|
||||
// since SdrEndTextEdit has resetted (deleted) the handles.
|
||||
// since SdrEndTextEdit has reset (deleted) the handles.
|
||||
aVEvt.pHdl = nullptr;
|
||||
mpView->PickAnything(rMEvt, SdrMouseEventKind::BUTTONDOWN, aVEvt);
|
||||
}
|
||||
@@ -830,7 +830,7 @@ bool FuText::MouseButtonUp(const MouseEvent& rMEvt)
|
||||
aSet.Put(SdrTextHorzAdjustItem(SDRTEXTHORZADJUST_RIGHT));
|
||||
|
||||
// Analog to the else case below, for vertical simple click texts
|
||||
// one of the defaulted setted items from ImpSetAttributesForNewTextObject
|
||||
// one of the default set items from ImpSetAttributesForNewTextObject
|
||||
// needs to be adapted to non-block mode.
|
||||
const SfxItemSet& rSet = mpView->GetDefaultAttr();
|
||||
SvxFrameDirection eDirection = (SvxFrameDirection)static_cast<const SvxFrameDirectionItem&>(rSet.Get(EE_PARA_WRITINGDIR)).GetValue();
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
*/
|
||||
SlideSorterController (SlideSorter& rSlideSorter);
|
||||
|
||||
/** Late initialization. Call this method once a new new object has been
|
||||
/** Late initialization. Call this method once a new object has been
|
||||
created.
|
||||
*/
|
||||
void Init();
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
NOTE: This is the schema that users can customise the enumeration lists to meet their
|
||||
exchange requirements. The enumeration values provided are ONLY SAMPLES and
|
||||
is not complete. It is upto the application to decide what the values should be. To achieve
|
||||
is not complete. It is up to the application to decide what the values should be. To achieve
|
||||
interoperability between applications using this specification, it is recommended that an
|
||||
SLA/agreement is in place as to what the enumeration values will be used in this file
|
||||
</xs:documentation>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
NOTE: This is the schema that users can customise the enumeration lists to meet their
|
||||
exchange requirements. The enumeration values provided are ONLY SAMPLES and
|
||||
is not complete. It is upto the application to decide what the values should be. To achieve
|
||||
is not complete. It is up to the application to decide what the values should be. To achieve
|
||||
interoperability between applications using this specification, it is recommended that an
|
||||
SLA/agreement is in place as to what the enumeration values will be used in this file
|
||||
</xs:documentation>
|
||||
|
||||
@@ -56,7 +56,7 @@ global const cLogUnknown = 0, cLogFalse = 1, cLogTrue = 2
|
||||
Global const cYes = "y", cNo = "n"
|
||||
Global const cStateNo = 0, cStateYes = 1
|
||||
|
||||
'Feldtypen
|
||||
'FieldTypes
|
||||
Global const cFtExtUser = 21, cFtPageNum = 5, cFtStatistic = 8, cFtDateTime = 27, cFtDatabase = 31
|
||||
|
||||
'UnoStrings
|
||||
|
||||
@@ -385,7 +385,7 @@ SfxMultiVarRecordWriter::~SfxMultiVarRecordWriter()
|
||||
void SfxMultiVarRecordWriter::FlushContent_Impl()
|
||||
{
|
||||
// record the version and position offset of the current content;
|
||||
// the position offset is relative ot the start position of the
|
||||
// the position offset is relative to the start position of the
|
||||
// first content.
|
||||
assert(_aContentOfs.size() == static_cast<size_t>(_nContentCount)-1);
|
||||
_aContentOfs.resize(_nContentCount-1);
|
||||
|
||||
@@ -372,7 +372,7 @@ void SvxLineEndWindow::FillValueSet()
|
||||
long nCount = mpLineEndList->Count();
|
||||
|
||||
// First entry: no line end.
|
||||
// An entry is temporarly added to get the UI bitmap
|
||||
// An entry is temporarily added to get the UI bitmap
|
||||
basegfx::B2DPolyPolygon aNothing;
|
||||
mpLineEndList->Insert(o3tl::make_unique<XLineEndEntry>(aNothing, SVX_RESSTR(RID_SVXSTR_NONE)));
|
||||
const XLineEndEntry* pEntry = mpLineEndList->GetLineEnd(nCount);
|
||||
|
||||
Reference in New Issue
Block a user