Skip to content

Commit

Permalink
misc: fix spelling (#183)
Browse files Browse the repository at this point in the history
* misc: fix spelling

* Update svdedxv.cxx

Small additions

---------

Co-authored-by: Matthias Seidel <mseidel@apache.org>
(cherry picked from commit 06fb39a)
  • Loading branch information
jbampton authored and Pilot-Pirx committed Nov 15, 2023
1 parent 2a19c4c commit cbe561c
Show file tree
Hide file tree
Showing 34 changed files with 116 additions and 116 deletions.
2 changes: 1 addition & 1 deletion main/bridges/source/cpp_uno/gcc3_freebsd_x86-64/abi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ typedef struct
/* Register class used for passing given 64bit part of the argument.
These represent classes as documented by the PS ABI, with the exception
of SSESF, SSEDF classes, that are basically SSE class, just gcc will
use SF or DFmode move instead of DImode to avoid reformating penalties.
use SF or DFmode move instead of DImode to avoid reformatting penalties.
Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves
whenever possible (upper half does contain padding).
Expand Down
2 changes: 1 addition & 1 deletion main/bridges/source/cpp_uno/gcc3_linux_x86-64/abi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ typedef struct
/* Register class used for passing given 64bit part of the argument.
These represent classes as documented by the PS ABI, with the exception
of SSESF, SSEDF classes, that are basically SSE class, just gcc will
use SF or DFmode move instead of DImode to avoid reformating penalties.
use SF or DFmode move instead of DImode to avoid reformatting penalties.
Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves
whenever possible (upper half does contain padding).
Expand Down
2 changes: 1 addition & 1 deletion main/bridges/source/cpp_uno/s5abi_macosx_x86-64/abi.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ typedef struct
/* Register class used for passing given 64bit part of the argument.
These represent classes as documented by the PS ABI, with the exception
of SSESF, SSEDF classes, that are basically SSE class, just gcc will
use SF or DFmode move instead of DImode to avoid reformating penalties.
use SF or DFmode move instead of DImode to avoid reformatting penalties.
Similary we play games with INTEGERSI_CLASS to use cheaper SImode moves
whenever possible (upper half does contain padding).
Expand Down
2 changes: 1 addition & 1 deletion main/filter/source/flash/swfwriter1.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ bool Writer::Impl_writeFilling( SvtGraphicFill& rFilling )

/* CL: The idea was to export page fields as text fields that get theire
string from a variable set with actionscript by each page. This didn't
work out since the formating is always wrong when text follows the
work out since the formatting is always wrong when text follows the
page number field since pages greater one may require more space than
page 1
*/
Expand Down
2 changes: 1 addition & 1 deletion main/filter/source/graphicfilter/eps/eps.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

#define PS_LINESIZE 70 // maximum number of characters a line in the output

#define PS_NONE 0 // formating mode: action which is inserted behind the output
#define PS_NONE 0 // formatting mode: action which is inserted behind the output
#define PS_SPACE 1
#define PS_RET 2
#define PS_WRAP 4
Expand Down
4 changes: 2 additions & 2 deletions main/odk/examples/java/Text/HardFormatting.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public static void main(String args[]) {
com.sun.star.text.XTextRange xTextRange = null;
com.sun.star.beans.XPropertySet xPropertySet = null;

// BEGIN: 'Hard formating'
// BEGIN: 'Hard formatting'
// the text range not the cursor contains the 'parastyle' property
xTextRange = xText.getEnd();
xPropertySet = (com.sun.star.beans.XPropertySet)
Expand Down Expand Up @@ -147,7 +147,7 @@ public static void main(String args[]) {
xPropertyStateValue = xPropertyState.getPropertyState("CharWeight");
checkPropertyState(xWordCursor, xPropertyStateValue);

// END: 'Hard formating' Section from the Cookbook
// END: 'Hard formatting' Section from the Cookbook
}
catch( Exception e) {
e.printStackTrace(System.err);
Expand Down
2 changes: 1 addition & 1 deletion main/offapi/com/sun/star/drawing/DocumentSettings.idl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ published service DocumentSettings
//-------------------------------------------------------------------------

/** This is the default logical measure unit that is used for string
formatings inside the document, f.e. the measure text
formattings inside the document, f.e. the measure text
*/
[optional, property] short MeasureUnit;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
@namespace url("urn:oasis:names:tc:opendocument:xmlns:smil-compatible:1.0");

/**
* All default styles for formating-objects elements (if there are any).
* All default styles for formatting-objects elements (if there are any).
*/
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
@namespace url("urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0");

/**
* All default styles for formating-objects elements (if there are any).
* All default styles for formatting-objects elements (if there are any).
*/
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
@namespace url("urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0");

/**
* All default styles for formating-objects elements (if there are any).
* All default styles for formatting-objects elements (if there are any).
*/
4 changes: 2 additions & 2 deletions main/sc/inc/dociter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ public:


//
// returns all areas that do not have a Default-Formating (horizontal)
// returns all areas that do not have a Default-Formatting (horizontal)
//

class ScHorizontalAttrIterator
Expand Down Expand Up @@ -505,7 +505,7 @@ public:
};

//
// returns all non empty cells and areas with formating (horizontal)
// returns all non empty cells and areas with formatting (horizontal)
//

class SC_DLLPUBLIC ScUsedAreaIterator
Expand Down
2 changes: 1 addition & 1 deletion main/sd/source/core/sdpage.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2562,7 +2562,7 @@ const String& SdPage::GetName() const
aCreatedPageName += sal_Unicode( ' ' );
if( GetModel()->GetPageNumType() == SVX_NUMBER_NONE )
{
// if the document has number none as a formating
// if the document has number none as a formatting
// for page numbers we still default to Arabic numbering
// to keep the default page names unique
aCreatedPageName += String::CreateFromInt32( (sal_Int32)nNum );
Expand Down
10 changes: 5 additions & 5 deletions main/svx/source/svdraw/svdedxv.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ void SdrObjEditView::TakeActionRect(Rectangle& rRect) const
void __EXPORT SdrObjEditView::Notify(SfxBroadcaster& rBC, const SfxHint& rHint)
{
SdrGlueEditView::Notify(rBC,rHint);
// Printerwechsel waerend des Editierens
// Printerwechsel waehrend des Editierens
SdrHint* pSdrHint=PTR_CAST(SdrHint,&rHint);
if (pSdrHint!=NULL && pTextEditOutliner!=NULL) {
SdrHintKind eKind=pSdrHint->GetKind();
Expand Down Expand Up @@ -891,7 +891,7 @@ SdrEndTextEditKind SdrObjEditView::SdrEndTextEdit(sal_Bool bDontDeleteReally)
}
else
{
OSL_ENSURE(false, "´Got UndoManager back in SdrEndTextEdit which is NOT the expected document UndoManager (!)");
OSL_ENSURE(false, "Got UndoManager back in SdrEndTextEdit which is NOT the expected document UndoManager (!)");
delete pOriginal;
}
}
Expand Down Expand Up @@ -2230,8 +2230,8 @@ void SdrObjEditView::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNoChar
if( !pOLV )
{
// if not in text edit mode (aka the user selected text or clicked on a word)
// apply formating attributes to selected shape
// All formating items (see ranges above) that are unequal in selected shape and
// apply formatting attributes to selected shape
// All formatting items (see ranges above) that are unequal in selected shape and
// the format paintbrush are hard set on the selected shape.

const sal_uInt16* pRanges = rFormatSet.GetRanges();
Expand All @@ -2254,7 +2254,7 @@ void SdrObjEditView::ApplyFormatPaintBrush( SfxItemSet& rFormatSet, bool bNoChar
SetAttrToMarked(aPaintSet, bReplaceAll);
}

// now apply character and paragraph formating to text, if the shape has any
// now apply character and paragraph formatting to text, if the shape has any
SdrTextObj* pTextObj = dynamic_cast<SdrTextObj*>(pObj);
if( pTextObj )
{
Expand Down
4 changes: 2 additions & 2 deletions main/svx/source/table/cell.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void Cell::cloneFrom( const CellRef& xCell )
{
if( xCell.is() )
{
replaceContentAndFormating( xCell );
replaceContentAndFormatting( xCell );

mnCellContentType = xCell->mnCellContentType;

Expand All @@ -447,7 +447,7 @@ void Cell::cloneFrom( const CellRef& xCell )
notifyModified();
}

void Cell::replaceContentAndFormating( const CellRef& xSourceCell )
void Cell::replaceContentAndFormatting( const CellRef& xSourceCell )
{
if( xSourceCell.is() && mpProperties )
{
Expand Down
2 changes: 1 addition & 1 deletion main/svx/source/table/cell.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public:

SVX_DLLPRIVATE void merge( sal_Int32 nColumnSpan, sal_Int32 nRowSpan );
SVX_DLLPRIVATE void mergeContent( const CellRef& xSourceCell );
SVX_DLLPRIVATE void replaceContentAndFormating( const CellRef& xSourceCell );
SVX_DLLPRIVATE void replaceContentAndFormatting( const CellRef& xSourceCell );

SVX_DLLPRIVATE void setMerged();

Expand Down
4 changes: 2 additions & 2 deletions main/svx/source/table/tablemodel.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ void TableModel::removeColumns( sal_Int32 nIndex, sal_Int32 nCount )
if( bUndo )
xTargetCell->AddUndo();
xTargetCell->merge( nColSpan - nRemove, xCell->getRowSpan() );
xTargetCell->replaceContentAndFormating( xCell );
xTargetCell->replaceContentAndFormatting( xCell );
}
}
}
Expand Down Expand Up @@ -1040,7 +1040,7 @@ void TableModel::removeRows( sal_Int32 nIndex, sal_Int32 nCount )
if( bUndo )
xTargetCell->AddUndo();
xTargetCell->merge( xCell->getColumnSpan(), nRowSpan - nRemove );
xTargetCell->replaceContentAndFormating( xCell );
xTargetCell->replaceContentAndFormatting( xCell );
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion main/sw/source/core/text/frmform.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1230,7 +1230,7 @@ void SwTxtFrm::FormatAdjust( SwTxtFormatter &rLine,
// unnecessary formatting of its footnotes and its follow, especially in
// columned sections, adjust frame height to zero (0) and do not perform
// the intrinsic format of the follow.
// The formating method <SwCntntFrm::MakeAll()> will initiate the move forward.
// The formatting method <SwCntntFrm::MakeAll()> will initiate the move forward.
sal_Bool bForcedNoIntrinsicFollowCalc = sal_False;
if ( nEnd == 0 &&
rLine.IsStop() && HasFollow() && nNew == 1
Expand Down
2 changes: 1 addition & 1 deletion main/sw/source/filter/ww8/ww8par.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@ public: // eigentlich private, geht aber leider nur public
void Read_CFRMark(sal_uInt16 , const sal_uInt8* pData, short nLen);
// delete old content
void Read_CFRMarkDel(sal_uInt16 , const sal_uInt8* pData, short nLen);
// change properties of content (e.g. char formating)
// change properties of content (e.g. char formatting)
void Read_CPropRMark(sal_uInt16 , const sal_uInt8* pData, short nLen); // complex!


Expand Down
2 changes: 1 addition & 1 deletion main/sw/source/filter/ww8/ww8par4.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ void SwWW8ImplReader::Read_CFRMarkDel(sal_uInt16 , const sal_uInt8* pData, short
Read_CRevisionMark( nsRedlineType_t::REDLINE_DELETE, pData, nLen );
}

// change properties of content ( == char formating)
// change properties of content ( == char formatting)
void SwWW8ImplReader::Read_CPropRMark(sal_uInt16 , const sal_uInt8* pData, short nLen)
{
// complex (len is always 7)
Expand Down
2 changes: 1 addition & 1 deletion main/sw/source/ui/uno/unotxdoc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2751,7 +2751,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
pSwView->RecheckBrowseMode();
}

// reformating the document for printing will show the changes in the view
// reformatting the document for printing will show the changes in the view
// which is likely to produce many unwanted and not nice to view actions.
// We don't want that! Thus we disable updating of the view.
pViewShell->StartAction();
Expand Down
4 changes: 2 additions & 2 deletions main/xmloff/source/draw/sdxmlexp_impl.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ class SdXMLExport : public SvXMLExport
XMLShapeExportPropertyMapper* mpPropertySetMapper;
XMLPageExportPropertyMapper* mpPresPagePropsMapper;

SdXMLFormatMap maUsedDateStyles; // this is a vector with the used formatings for date fields
SdXMLFormatMap maUsedTimeStyles; // this is a vector with the used formatings for time fields
SdXMLFormatMap maUsedDateStyles; // this is a vector with the used formattings for date fields
SdXMLFormatMap maUsedTimeStyles; // this is a vector with the used formattings for time fields

sal_Bool mbIsDraw;
sal_Bool mbFamilyGraphicUsed;
Expand Down
Loading

0 comments on commit cbe561c

Please sign in to comment.