summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 17:49:51 +0200
committerOliver Specht <oliver.specht@cib.de>2015-09-30 12:38:37 +0000
commitf891d8cf6bb6f2db1b72cba64036b5f1fb858309 (patch)
treee83fea6a46645060f1452fc63ee5151c9b9a185c
parentae13a6819e1dea6646aa0eba435ca9c81101f52c (diff)
Fix typos
Change-Id: I9dbe1e05cf73af20c25392e639a807854e87fc6e Reviewed-on: https://gerrit.libreoffice.org/18946 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
-rw-r--r--drawinglayer/source/processor2d/vclhelperbufferdevice.cxx2
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx12
-rw-r--r--drawinglayer/source/processor2d/vclprocessor2d.cxx2
-rw-r--r--drawinglayer/source/texture/texture.cxx2
-rw-r--r--drawinglayer/source/tools/converters.cxx2
-rw-r--r--dtrans/source/win32/clipb/WinClipbImpl.cxx4
-rw-r--r--dtrans/source/win32/clipb/WinClipboard.cxx2
-rw-r--r--editeng/source/accessibility/AccessibleEditableTextPara.cxx4
-rw-r--r--editeng/source/accessibility/AccessibleParaManager.cxx2
-rw-r--r--editeng/source/editeng/editdoc.cxx6
-rw-r--r--editeng/source/editeng/impedit.cxx2
-rw-r--r--editeng/source/editeng/impedit2.cxx2
-rw-r--r--editeng/source/editeng/impedit3.cxx2
-rw-r--r--editeng/source/editeng/impedit4.cxx2
-rw-r--r--editeng/source/items/borderline.cxx4
15 files changed, 25 insertions, 25 deletions
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index 93919c0019a2..9b28e0c6cd2c 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -211,7 +211,7 @@ namespace drawinglayer
// static global VDev buffer for the VclProcessor2D's (VclMetafileProcessor2D and VclPixelProcessor2D)
VDevBuffer& getVDevBuffer()
{
- // secure global instance with Vcl's safe desroyer of external (seen by
+ // secure global instance with Vcl's safe destroyer of external (seen by
// library base) stuff, the remembered VDevs need to be deleted before
// Vcl's deinit
static vcl::DeleteOnDeinit< VDevBuffer > aVDevBuffer(new VDevBuffer());
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 24c92622b120..43819d433953 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -703,13 +703,13 @@ namespace drawinglayer
Support for vcl::PDFExtOutDevData:
PL knows that SJ did that stuff, it's used to hold a pointer to PDFExtOutDevData at
the OutDev. When set, some extra data is written there. Trying simple PDF export and
- watching if i get those infos.
+ watching if I get those infos.
Well, a PDF export does not use e.g. ImpEditEngine::Paint since the PdfFilter uses
the SdXImpressDocument::render and thus uses the VclMetafileProcessor2D. I will check
- if i get a PDFExtOutDevData at the target output device.
- Indeed, i get one. Checking what all may be done when that extra-device-info is there.
+ if I get a PDFExtOutDevData at the target output device.
+ Indeed, I get one. Checking what all may be done when that extra-device-info is there.
- All in all i have to talk to SJ. I will need to emulate some of those actions, but
+ All in all I have to talk to SJ. I will need to emulate some of those actions, but
i need to discuss which ones.
In the future, all those infos would be taken from the primitive sequence anyways,
thus these extensions would potentially be temporary, too.
@@ -730,7 +730,7 @@ namespace drawinglayer
vcl::PDFWriter::AnyWidget is filled out, which is already part of vcl.
Wrote an eMail to FS, he is on vacation currently. I see no reason why not to move
that stuff to somewhere else, maybe tools or svtools ?!? We will see...
- Moved to toolkit, so i have to link against it. I tried VCL first, but it did
+ Moved to toolkit, so I have to link against it. I tried VCL first, but it did
not work since VCLUnoHelper::CreateFont is unresolved in VCL (!). Other then the name
may imply, it is defined in toolkit (!). Since toolkit is linked against VCL itself,
the lowest movement plane is toolkit.
@@ -1957,7 +1957,7 @@ namespace drawinglayer
// - uses DrawTransparent with metafile for content and a gradient
// i can detect this here with checking the gradient part for a single
// FillGradientPrimitive2D and reconstruct the gradient.
- // If that detection goes wrong, i have to create an transparence-blended bitmap. Eventually
+ // If that detection goes wrong, I have to create an transparence-blended bitmap. Eventually
// do that in stripes, else RenderTransparencePrimitive2D may just be used
const primitive2d::TransparencePrimitive2D& rTransparenceCandidate = static_cast< const primitive2d::TransparencePrimitive2D& >(rCandidate);
const primitive2d::Primitive2DSequence rContent = rTransparenceCandidate.getChildren();
diff --git a/drawinglayer/source/processor2d/vclprocessor2d.cxx b/drawinglayer/source/processor2d/vclprocessor2d.cxx
index 5dbe75d005f3..5116730ffd68 100644
--- a/drawinglayer/source/processor2d/vclprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclprocessor2d.cxx
@@ -448,7 +448,7 @@ namespace drawinglayer
// renderer on pixel base to ensure tight fitting. Do not do this when
// the fill is rotated or sheared.
- // ovveride static bool (for debug) and tiling is active
+ // override static bool (for debug) and tiling is active
if(bTryTilingDirect && rFillGraphicAttribute.getTiling())
{
// content is bitmap(ex)
diff --git a/drawinglayer/source/texture/texture.cxx b/drawinglayer/source/texture/texture.cxx
index 89953e624395..4ede3c19c1f4 100644
--- a/drawinglayer/source/texture/texture.cxx
+++ b/drawinglayer/source/texture/texture.cxx
@@ -254,7 +254,7 @@ namespace drawinglayer
aNew.scale(mfUnitWidth, 1.0);
aNew.translate(mfUnitMinX, 0.0);
- // already centerd in Y on X-Axis, just scale in Y
+ // already centered in Y on X-Axis, just scale in Y
aNew.scale(1.0, 1.0 - fPos);
// set at target
diff --git a/drawinglayer/source/tools/converters.cxx b/drawinglayer/source/tools/converters.cxx
index 7f0af9ed3bc3..c903a5f5f31e 100644
--- a/drawinglayer/source/tools/converters.cxx
+++ b/drawinglayer/source/tools/converters.cxx
@@ -126,7 +126,7 @@ namespace drawinglayer
pContentProcessor->process(xSeq);
delete pContentProcessor;
- // get alpha cahannel from vdev
+ // get alpha channel from vdev
maContent->EnableMapMode(false);
const Bitmap aAlpha(maContent->GetBitmap(aEmptyPoint, aSizePixel));
#ifdef DBG_UTIL
diff --git a/dtrans/source/win32/clipb/WinClipbImpl.cxx b/dtrans/source/win32/clipb/WinClipbImpl.cxx
index 817d7f2f7a20..0f517c68a4d0 100644
--- a/dtrans/source/win32/clipb/WinClipbImpl.cxx
+++ b/dtrans/source/win32/clipb/WinClipbImpl.cxx
@@ -78,7 +78,7 @@ CWinClipbImpl::~CWinClipbImpl( )
Reference< XTransferable > SAL_CALL CWinClipbImpl::getContents( ) throw( RuntimeException )
{
- // use the shotcut or create a transferable from
+ // use the shortcut or create a transferable from
// system clipboard
ClearableMutexGuard aGuard( m_ClipContentMutex );
@@ -156,7 +156,7 @@ void SAL_CALL CWinClipbImpl::flushClipboard( ) throw( RuntimeException )
// but it does not work since FlushClipboard does a callback and frees DataObject
// which results in a deadlock in onReleaseDataObject.
// FlushClipboard had to be synchron in order to prevent shutdown until all
- // clipboard-formats are redered.
+ // clipboard-formats are rendered.
// The request is needed to prevent flushing if we are not clipboard owner (it is
// not known what happens if we flush but aren't clipoard owner).
// It may be possible to move the request to the clipboard STA thread by saving the
diff --git a/dtrans/source/win32/clipb/WinClipboard.cxx b/dtrans/source/win32/clipb/WinClipboard.cxx
index b648527d65fd..06d57509d896 100644
--- a/dtrans/source/win32/clipb/WinClipboard.cxx
+++ b/dtrans/source/win32/clipb/WinClipboard.cxx
@@ -66,7 +66,7 @@ CWinClipboard::CWinClipboard( const Reference< XComponentContext >& rxContext, c
// to avoid unnecessary traffic we check first if there is a clipboard
// content which was set via setContent, in this case we don't need
// to query the content from the clipboard, create a new wrapper object
-// and so on, we simply return the orignial XTransferable instead of our
+// and so on, we simply return the original XTransferable instead of our
// DOTransferable
Reference< XTransferable > SAL_CALL CWinClipboard::getContents( ) throw( RuntimeException )
diff --git a/editeng/source/accessibility/AccessibleEditableTextPara.cxx b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
index 7b3a2cd9f48a..1544ab014cde 100644
--- a/editeng/source/accessibility/AccessibleEditableTextPara.cxx
+++ b/editeng/source/accessibility/AccessibleEditableTextPara.cxx
@@ -1247,7 +1247,7 @@ namespace accessibility
{
SolarMutexGuard aGuard;
- //Skip the bullet range to ingnore the bullet text
+ //Skip the bullet range to ignore the bullet text
SvxTextForwarder& rCacheTF = GetTextForwarder();
EBulletInfo aBulletInfo = rCacheTF.GetBulletInfo(GetParagraphIndex());
if (aBulletInfo.bVisible)
@@ -1783,7 +1783,7 @@ namespace accessibility
else
{
sal_Int32 nStartIndex, nEndIndex;
- //For the bullet paragraph, the bullet string is ingnored for IAText::attributes() function.
+ //For the bullet paragraph, the bullet string is ignored for IAText::attributes() function.
SvxTextForwarder& rCacheTF = GetTextForwarder();
// MT IA2: Not used? sal_Int32 nBulletLen = 0;
EBulletInfo aBulletInfo = rCacheTF.GetBulletInfo(GetParagraphIndex());
diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index d107bdf27749..53fcd5a9e9c7 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -59,7 +59,7 @@ namespace accessibility
AccessibleParaManager::~AccessibleParaManager()
{
- // owner is responsible for possible child defuncs
+ // owner is responsible for possible child death
}
void AccessibleParaManager::SetAdditionalChildStates( const VectorOfStates& rChildStates )
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index 43360140cd3f..8459fc8ad1db 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -716,7 +716,7 @@ sal_Int32 FastGetPos(const _Array& rArray, const _Val* p, sal_Int32& rLastPos)
}
}
}
- // The world's lamest linear search from svarray ...
+ // The world's lamest linear search from svarray...
for (sal_Int32 nIdx = 0; nIdx < nArrayLen; ++nIdx)
if (&rArray.at(nIdx) == p)
return rLastPos = nIdx;
@@ -971,7 +971,7 @@ EditLine::EditLine() :
nStart = nEnd = 0;
nStartPortion = 0; // to be able to tell the difference between a line
- // without Ptorions form one with the Portion number 0
+ // without Portions from one with the Portion number 0
nEndPortion = 0;
nHeight = 0;
nStartPosX = 0;
@@ -1324,7 +1324,7 @@ void ContentNode::ExpandAttribs( sal_Int32 nIndex, sal_Int32 nNew, SfxItemPool&
{
// Only expand when there is no feature
// and if not in exclude list!
- // Otherwise, a UL will go on until a new ULDB, expaning both
+ // Otherwise, a UL will go on until a new ULDB, expanding both
// if ( !pAttrib->IsFeature() && !rExclList.FindAttrib( pAttrib->Which() ) )
if ( !pAttrib->IsFeature() && !aCharAttribList.FindEmptyAttrib( pAttrib->Which(), nIndex ) )
{
diff --git a/editeng/source/editeng/impedit.cxx b/editeng/source/editeng/impedit.cxx
index 9f37a3f10601..ea488b95eb23 100644
--- a/editeng/source/editeng/impedit.cxx
+++ b/editeng/source/editeng/impedit.cxx
@@ -1701,7 +1701,7 @@ void ImpEditView::dragGestureRecognized(const css::datatransfer::dnd::DragGestur
sal_Int8 nActions = bReadOnly ? datatransfer::dnd::DNDConstants::ACTION_COPY : datatransfer::dnd::DNDConstants::ACTION_COPY_OR_MOVE;
rDGE.DragSource->startDrag( rDGE, nActions, 0 /*cursor*/, 0 /*image*/, xData, mxDnDListener );
- // If Drag&Move in an Engine, thenCopy&Del has to be optional!
+ // If Drag&Move in an Engine, then Copy&Del has to be optional!
GetCursor()->Hide();
}
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index ced328816d82..adb316930bd3 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -2502,7 +2502,7 @@ EditPaM ImpEditEngine::AutoCorrect( const EditSelection& rCurSel, sal_Unicode c,
}
// select second word
- // (sometimes aSel mightnot point to the end of the first word
+ // (sometimes aSel might not point to the end of the first word
// but to some following char like '.'. ':', ...
// In those cases we need aSecondWordSel to see if aSel
// will actually effect the first word.)
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index d31d12e1c47b..4df265a9bb6c 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -586,7 +586,7 @@ void ImpEditEngine::CheckPageOverflow()
mbNeedsChainingHandling = true;
} else
{
- // No overflow if withing box boundaries
+ // No overflow if within box boundaries
//aStatus.SetPageOverflow(false);
mbNeedsChainingHandling = false;
}
diff --git a/editeng/source/editeng/impedit4.cxx b/editeng/source/editeng/impedit4.cxx
index 4dee2f6e13a7..8a713f5c2b45 100644
--- a/editeng/source/editeng/impedit4.cxx
+++ b/editeng/source/editeng/impedit4.cxx
@@ -1468,7 +1468,7 @@ SpellInfo * ImpEditEngine::CreateSpellInfo( bool bMultipleDocs )
pSpellInfo->bMultipleDoc = bMultipleDocs;
// always spell draw objects completely, startting at the top.
// (spelling in only a selection or not starting with the top requires
- // further changes elsewehe to work properly)
+ // further changes elsewhere to work properly)
pSpellInfo->aSpellStart = EPaM();
pSpellInfo->aSpellTo = EPaM( EE_PARA_NOT_FOUND, EE_INDEX_NOT_FOUND );
return pSpellInfo;
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index 2a132dfc94da..10b60fd894f0 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -326,7 +326,7 @@ BorderWidthImpl SvxBorderLine::getWidthImpl( SvxBorderStyle nStyle )
aImpl = BorderWidthImpl(
BorderWidthImplFlags::CHANGE_LINE1 | BorderWidthImplFlags::CHANGE_LINE2 | BorderWidthImplFlags::CHANGE_DIST,
// fdo#46112 fdo#38542 fdo#43249:
- // non-constant witdths must sum to 1
+ // non-constant widths must sum to 1
1.0/3.0, 1.0/3.0, 1.0/3.0 );
break;
@@ -368,7 +368,7 @@ BorderWidthImpl SvxBorderLine::getWidthImpl( SvxBorderStyle nStyle )
// Engraved / Embossed
/*
- * Word compat: the lines widths are exactly following this rule, shouldbe:
+ * Word compat: the lines widths are exactly following this rule, should be:
* 0.75pt up to 3pt and then 3pt
*/