Kaydet (Commit) 092adc49 authored tarafından Julien Nabet's avatar Julien Nabet

Typos

Change-Id: Ic54695e86b4b462419fa7d5ded7b1ddb19ee8ed5
Reviewed-on: https://gerrit.libreoffice.org/33904Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst ed8f1c51
......@@ -474,7 +474,7 @@ hchar_string MailMerge::GetString()
}
// character compositon(23)
// character composition(23)
// hyphen(24)
// toc mark(25)
// index mark(26)
......
......@@ -844,7 +844,7 @@ struct MailMerge: public HBox
virtual hchar_string GetString() override;
};
// char compositon(23)
// char composition(23)
/**
* The compose struct displays characters at position. The maximum character count for composition is three.
* @short Composition several characters
......
......@@ -726,7 +726,7 @@ bool MailMerge::Read(HWPFile & hwpf)
return !hwpf.State();
}
// char compositon(23)
// char composition(23)
Compose::Compose()
: HBox(CH_COMPOSE)
, dummy(0)
......
......@@ -314,7 +314,7 @@ protected:
Color maFillColor; ///< Background color of the thumbnail view widget.
Color maTextColor; ///< Text color.
Color maHighlightColor; ///< Color of the highlight (background) of the hovered item.
Color maHighlightTextColor; ///< Color of the text for the higlighted item.
Color maHighlightTextColor; ///< Color of the text for the highlighted item.
Color maSelectHighlightColor; ///< Color of the highlight (background) of the selected and hovered item.
Color maSelectHighlightTextColor; ///< Color of the text of the selected and hovered item.
double mfHighlightTransparence; ///< Transparence of the highlight.
......
......@@ -97,7 +97,7 @@ public abstract class ProblemEncoder {
point.setObjectiveValue(tempResponseSet[0]);
}
//calcuate each response, must be implemented
//calculate each response, must be implemented
abstract protected double calcTargetAt(int index, double[] VX);
// calculate all the responses VY[] based on given point VX[]
......
......@@ -65,7 +65,7 @@ public class _XFrameLoader extends MultiMethodTest {
private PropertyValue[] args = new PropertyValue[0] ;
/**
* Implemetation of load listener which geristers all its calls.
* Implementation of load listener which geristers all its calls.
*/
protected static class TestListener implements XLoadEventListener {
public boolean finished = false ;
......
......@@ -826,7 +826,7 @@ rtl_TextEncoding osl_getTextEncodingFromLocale( rtl_Locale * pLocale )
/* use iso language code to determine the charset */
if( nullptr == language )
{
/* iso lang codes have 2 charaters */
/* iso lang codes have 2 characters */
locale_buf[2] = '\0';
language = pair_search( locale_buf, iso_language_list, SAL_N_ELEMENTS( iso_language_list ) );
......
......@@ -1427,7 +1427,7 @@ public:
void CopyTabToClip(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2,
SCTAB nTab, ScDocument* pClipDoc);
bool InitColumnBlockPosition( sc::ColumnBlockPosition& rBlokPos, SCTAB nTab, SCCOL nCol );
bool InitColumnBlockPosition( sc::ColumnBlockPosition& rBlockPos, SCTAB nTab, SCCOL nCol );
void DeleteBeforeCopyFromClip(
sc::CopyFromClipContext& rCxt, const ScMarkData& rMark, sc::ColumnSpanSet& rBroadcastSpans );
......
......@@ -25,7 +25,7 @@
class ScDocShell;
// object to set forbidden charaters to document
// object to set forbidden characters to document
class ScForbiddenCharsObj : public SvxUnoForbiddenCharsTable, public SfxListener
{
......
......@@ -3093,7 +3093,7 @@ void ScFiltersTest::testMiscRowHeights()
{
/* Checks that a document saved to ods with default rows does indeed
have default row heights ( there was a problem where the optimal
height was being calcuated after import if no hard height )
height was being calculated after import if no hard height )
*/
{ "alldefaultheights.", FORMAT_ODS, -1, SAL_N_ELEMENTS(DfltRowData), DfltRowData },
/* Checks the imported height of some multiline input, additionally checks
......
......@@ -395,7 +395,7 @@ void WorkbookFragment::finalizeImport()
OSL_ENSURE( !aFragmentPath.isEmpty(), "WorkbookFragment::finalizeImport - cannot access sheet fragment" );
if( !aFragmentPath.isEmpty() )
{
// leave space for formula processing ( calcuate the segments as
// leave space for formula processing ( calculate the segments as
// if there is an extra sheet )
double fSegmentLength = getProgressBar().getFreeLength() / (nWorksheetCount - ( nWorksheet - 1) );
ISegmentProgressBarRef xSheetSegment = getProgressBar().createSegment( fSegmentLength );
......
......@@ -915,7 +915,7 @@ void ScDrawView::MarkDropObj( SdrObject* pObj )
}
// In order to counteract the effects of rounding due to the nature of how the
// grid positions are calcuated and drawn we calculate the offset needed at the
// grid positions are calculated and drawn we calculate the offset needed at the
// current zoom to be applied to an SrdObject when it is drawn in order to make
// sure that it's position relative to the nearest cell anchor doesn't change.
// Of course not all shape(s)/control(s) are cell anchored, if the
......
......@@ -1018,7 +1018,7 @@ void ScTabViewShell::Execute( SfxRequest& rReq )
break;
case SID_CREATE_SW_DRAWVIEW:
// is called by Forms, when the DrawView has to be crated with all
// is called by Forms, when the DrawView has to be created with all
// the extras
if (!GetScDrawView())
{
......
......@@ -109,7 +109,7 @@ private:
css::uno::WeakReference< css::container::XNameContainer > mxCustomPresentationAccess;
css::uno::WeakReference< css::container::XNameAccess > mxStyleFamilies;
css::uno::WeakReference< css::presentation::XPresentation > mxPresentation;
css::uno::WeakReference< css::i18n::XForbiddenCharacters > mxForbidenCharacters;
css::uno::WeakReference< css::i18n::XForbiddenCharacters > mxForbiddenCharacters;
css::uno::Reference< css::container::XNameAccess > mxLinks;
css::uno::Reference< css::uno::XInterface > mxDashTable;
......
......@@ -2580,10 +2580,10 @@ Pointer SdXImpressDocument::getPointer()
uno::Reference< i18n::XForbiddenCharacters > SdXImpressDocument::getForbiddenCharsTable()
{
uno::Reference< i18n::XForbiddenCharacters > xForb(mxForbidenCharacters);
uno::Reference< i18n::XForbiddenCharacters > xForb(mxForbiddenCharacters);
if( !xForb.is() )
mxForbidenCharacters = xForb = new SdUnoForbiddenCharsTable( mpDoc );
mxForbiddenCharacters = xForb = new SdUnoForbiddenCharsTable( mpDoc );
return xForb;
}
......
......@@ -60,7 +60,7 @@ int SvRTFParser::GetNextToken_()
{
case '\\':
{
// control charaters
// control characters
nNextCh = GetNextChar();
switch( nNextCh )
{
......
......@@ -477,7 +477,7 @@ void DocxSdrExport::startDMLAnchorInline(const SwFrameFormat* pFrameFormat, cons
m_pImpl->m_pSerializer->startElementNS(XML_wp, XML_positionH, XML_relativeFrom, relativeFromH, FSEND);
/**
* Sizes of integral types
* climits header defines constants with the limits of integral types for the specific system and compiler implemetation used.
* climits header defines constants with the limits of integral types for the specific system and compiler implementation used.
* Use of this might cause platform dependent problem like posOffset exceed the limit.
**/
const sal_Int64 MAX_INTEGER_VALUE = SAL_MAX_INT32;
......
......@@ -252,7 +252,7 @@ struct ImplSVNWFData
int mnMenuFormatBorderX = 0; // horizontal inner popup menu border
int mnMenuFormatBorderY = 0; // vertical inner popup menu border
int mnMenuSeparatorBorderX = 0; // gap at each side of separator
::Color maMenuBarHighlightTextColor = Color( COL_TRANSPARENT ); // override higlight text color
::Color maMenuBarHighlightTextColor = Color( COL_TRANSPARENT ); // override highlight text color
// in menubar if not transparent
bool mbMenuBarDockingAreaCommonBG = false; // e.g. WinXP default theme
bool mbDockingAreaSeparateTB = false; // individual toolbar backgrounds
......
......@@ -549,8 +549,8 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec
{
// save graphics state
rRenderContext.Push();
// first calculate higlighted and non highlighted clip regions
vcl::Region aHiglightClipRegion;
// first calculate highlighted and non highlighted clip regions
vcl::Region aHighlightClipRegion;
vcl::Region aNormalClipRegion;
Selection aTmpSel(maSelection);
aTmpSel.Justify();
......@@ -573,7 +573,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec
}
if (bHighlight)
aHiglightClipRegion.Union(aRect);
aHighlightClipRegion.Union(aRect);
else
aNormalClipRegion.Union(aRect);
}
......@@ -601,7 +601,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec
rRenderContext.DrawText(aPos, aText, 0, nLen);
// draw highlighted text
rRenderContext.SetClipRegion(aHiglightClipRegion);
rRenderContext.SetClipRegion(aHighlightClipRegion);
rRenderContext.SetTextColor(rStyleSettings.GetHighlightTextColor());
rRenderContext.SetTextFillColor(rStyleSettings.GetHighlightColor());
rRenderContext.DrawText(aPos, aText, 0, nLen);
......@@ -625,7 +625,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec
{
rRenderContext.SetTextColor(rStyleSettings.GetHighlightTextColor());
rRenderContext.SetTextFillColor(rStyleSettings.GetHighlightColor());
aRegion = aHiglightClipRegion;
aRegion = aHighlightClipRegion;
}
for(int i = 0; i < mpIMEInfos->nLen; )
......
......@@ -184,7 +184,7 @@ bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue,
bNegative = true;
}
// remove all unwanted charaters
// remove all unwanted characters
// For whole number
for (sal_Int32 i=0; i < aStr1.getLength(); )
{
......
......@@ -630,7 +630,7 @@ void SpinField::ImplCalcButtonAreas(OutputDevice* pDev, const Size& rOutSz, Rect
else
rDDArea.SetEmpty();
// calcuate sizes according to the height
// calculate sizes according to the height
if (GetStyle() & WB_SPIN)
{
long nBottom1 = aSize.Height()/2;
......
......@@ -732,7 +732,7 @@ bool MenuBarWindow::HandleKeyEvent( const KeyEvent& rKEvent, bool bFromMenu )
// handling gtk like (aka mbOpenMenuOnF10)
// do not highlight an item when opening a sub menu
// unless there already was a higlighted sub menu item
// unless there already was a highlighted sub menu item
bool bWasHighlight = false;
if( pActivePopup )
{
......
......@@ -1956,7 +1956,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings.SetMenuBarColor( aMenuBack );
aStyleSettings.SetMenuHighlightColor( toColor ( qMenuCG.highlight() ) );
// Menu items higlight text color, theme specific
// Menu items highlight text color, theme specific
if ( QApplication::style().inherits( "HighContrastStyle" ) ||
QApplication::style().inherits( "KeramikStyle" ) ||
QApplication::style().inherits( QWindowsStyle_String ) ||
......@@ -1968,7 +1968,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
else
aStyleSettings.SetMenuHighlightTextColor( aMenuFore );
// set special menubar higlight text color
// set special menubar highlight text color
if ( QApplication::style().inherits( "HighContrastStyle" ) )
ImplGetSVData()->maNWFData.maMenuBarHighlightTextColor = toColor( qMenuCG.highlightedText() );
else
......
......@@ -307,7 +307,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
style.SetMenuHighlightColor( toColor ( qMenuCG.color( QPalette::Highlight ) ) );
style.SetMenuHighlightTextColor( toColor ( qMenuCG.color( QPalette::HighlightedText ) ) );
// set special menubar higlight text color
// set special menubar highlight text color
if ( QApplication::style()->inherits( "HighContrastStyle" ) )
ImplGetSVData()->maNWFData.maMenuBarHighlightTextColor = toColor( qMenuCG.color( QPalette::HighlightedText ) );
else
......
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