Kaydet (Commit) 0d499686 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Noel Grandin

Fix typos

Change-Id: I9701cc93a9f4315e71c133237fdd96ef6964c8ff
Reviewed-on: https://gerrit.libreoffice.org/29438Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 441fa1c0
......@@ -20,7 +20,7 @@ package lib;
/**
* StatusException is used to pass a Status object from a test code which is
* terminated abnormaly. In many cases this is because of an exception thrown,
* terminated abnormally. In many cases this is because of an exception thrown,
* but that can also be any other event that hinders the test execution.
*/
public class StatusException extends RuntimeException {
......
......@@ -3083,7 +3083,7 @@ ScVbaRange::Replace( const OUString& What, const OUString& Replacement, const un
}
ScGlobal::SetSearchItem( newOptions );
// ignore MatchByte for the moment, its not supported in
// ignore MatchByte for the moment, it's not supported in
// OOo.org afaik
uno::Reference< util::XSearchDescriptor > xSearch( xDescriptor, uno::UNO_QUERY );
......
......@@ -63,7 +63,7 @@ void capitalise() {
UnoRuntime.queryInterface(XText.class, xTextRange.getText());
xWordCursor = (XWordCursor)
UnoRuntime.queryInterface(XWordCursor.class, xText.createTextCursorByRange(xTextRange));
// move the Word cursor to the start of the word if its not
// move the Word cursor to the start of the word if it's not
// already there
if(!xWordCursor.isStartOfWord()) {
xWordCursor.gotoStartOfWord(false);
......
......@@ -137,7 +137,7 @@ public class ScriptMetaData extends ScriptEntry {
}
} else if (pathToParcel.contains(UNO_SHARED_PACKAGES1) ||
pathToParcel.contains(UNO_SHARED_PACKAGES2)) {
//its a package
//it's a package
placeHolder = "share:uno_packages";
String unoPkg = parent.parent.getName();
......
......@@ -57,7 +57,7 @@ namespace basprov
m_xDocumentScriptContext;
// hack, OPropertyContainer doesn't allow you to define a property of unknown
// type ( I guess because an Any can't contain an Any... I've always wondered why?
// as its not unusual to do that in corba )
// as it's not unusual to do that in corba )
css::uno::Sequence< css::uno::Any > m_caller;
protected:
// OPropertySetHelper
......
......@@ -103,7 +103,7 @@ ActiveMSPList::getMSPFromAnyContext( const Any& aContext )
try
{
// the component supports executing scripts embedded in a - possibly foreign document.
// Check whether this other document its the component itself.
// Check whether this other document it's the component itself.
if ( !xModel.is() || ( xModel != xScriptContext->getScriptContainer() ) )
{
msp = getMSPFromInvocationContext( xScriptContext );
......
......@@ -304,7 +304,7 @@ throw ( provider::ScriptFrameworkErrorException,
Reference< provider::XScript > xScript;
// If the script location is in the same location context as this
// MSP then delete to the lanaguage provider controlled by this MSP
// MSP then delete to the language provider controlled by this MSP
// ** Special case is BASIC, all calls to getScript will be handled
// by the language script provider in the current location context
// even if its different
......
......@@ -313,7 +313,7 @@ sal_Int32 CustomAnimationEffect::getNumberOfSubitems( const Any& aTarget, sal_In
{
xEnumeration->nextElement() >>= xParagraph;
// skip this if its not the only paragraph we want to count
// skip this if it's not the only paragraph we want to count
if( (nOnlyPara != -1) && (nOnlyPara != nPara ) )
continue;
......@@ -2496,7 +2496,7 @@ void EffectSequenceHelper::createTextGroupParagraphEffects( const CustomAnimatio
}
else
{
// reuse first effect if its not yet used
// reuse first effect if it's not yet used
pNewEffect = pEffect;
bUsed = true;
aInsertIter = find( pNewEffect );
......
......@@ -1169,7 +1169,7 @@ void EffectMigration::SetPresentationOrder( SvxShape* pShape, sal_Int32 nNewPos
/** Returns the position of the given SdrObject in the Presentation order.
* This function returns -1 if the SdrObject is not in the Presentation order
* or if its the path-object.
* or if it's the path-object.
*/
sal_Int32 EffectMigration::GetPresentationOrder( SvxShape* pShape )
{
......
......@@ -109,7 +109,7 @@ SdPage* ImpPageListWatcher::GetSdPage(PageKind ePgKind, sal_uInt32 nPgNum)
}
case PK_HANDOUT:
{
// #11420# for models used to transfer drawing shapes via clipboard its ok to not have a handout page
// #11420# for models used to transfer drawing shapes via clipboard it's ok to not have a handout page
DBG_ASSERT(nPgNum == 0L, "ImpPageListWatcher::GetSdPage: access to non existing handout page (!)");
if (nPgNum == 0)
pRetval = mpHandoutPage;
......
......@@ -2199,7 +2199,7 @@ void HtmlExport::CreateFileNames()
OUString const & HtmlExport::getDocumentTitle()
{
// check for a title object in this page, if its the first
// check for a title object in this page, if it's the first
// title it becomes this documents title for the content
// page
if( !mbHeader )
......
......@@ -30,7 +30,7 @@ FileChangedChecker::FileChangedChecker(const OUString& rFilename,
void FileChangedChecker::resetTimer()
{
//Start the Idle if its not active
//Start the Idle if it's not active
if(!mIdle.IsActive())
mIdle.Start();
......
......@@ -95,7 +95,7 @@ SvStream& RTFOutFuncs::Out_Char(SvStream& rStream, sal_Unicode c,
else
{
//If we can't convert to the dest encoding, or if
//its an uncommon multibyte sequence which most
//it's an uncommon multibyte sequence which most
//readers won't be able to handle correctly, then
//If we can't convert to the dest encoding, then
//export as unicode
......
......@@ -704,7 +704,7 @@ EnhancedCustomShape2d::EnhancedCustomShape2d( SdrObject* pAObj ) :
// of the constructed helper SdrObjects. This would lead to problems since the shadow
// of one helper object would fall on one helper object behind it (e.g. with the
// eyes of the smiley shape). This is not wanted; instead a single shadow 'behind'
// the AutoShape visualisation is wanted. This is done with primitive functionailty
// the AutoShape visualisation is wanted. This is done with primitive functionality
// now in SdrCustomShapePrimitive2D::create2DDecomposition, but only for 2D objects
// (see there and in EnhancedCustomShape3d::Create3DObject to read more).
// This exception may be removed later when AutoShapes will create primitives directly.
......
......@@ -792,7 +792,7 @@ void FmFilterModel::Remove(FmFilterData* pData)
{
FmFilterItem& rFilterItem = dynamic_cast<FmFilterItem&>(*pData);
// if its the last condition remove the parent
// if it's the last condition remove the parent
if (rItems.size() == 1)
Remove(rFilterItem.GetParent());
else
......@@ -1631,7 +1631,7 @@ void FmFilterNavigator::Command( const CommandEvent& rEvt )
ScopedVclPtrInstance<PopupMenu> aContextMenu(SVX_RES(RID_FM_FILTER_MENU));
// every condition could be deleted except the first one if its the only one
// every condition could be deleted except the first one if it's the only one
aContextMenu->EnableItem( SID_FM_DELETE, !aSelectList.empty() );
......
......@@ -1200,7 +1200,7 @@ bool SdrObjCustomShape::IsDefaultGeometry( const DefaultType eDefaultType ) cons
}
else
{
// check if its the default segment description ( M L Z N )
// check if it's the default segment description ( M L Z N )
if ( seqSegments1.getLength() == 4 )
{
if ( ( seqSegments1[ 0 ].Command == EnhancedCustomShapeSegmentCommand::MOVETO )
......
......@@ -2230,7 +2230,7 @@ static void ImplApplyBoxItem( sal_uInt16 nCellFlags, const SvxBoxItem* pBoxItem,
{
// current cell is outside the selection
if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if its not nw or ne corner
if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if it's not nw or ne corner
{
if( nCellFlags & CELL_UPPER )
{
......@@ -2243,7 +2243,7 @@ static void ImplApplyBoxItem( sal_uInt16 nCellFlags, const SvxBoxItem* pBoxItem,
rNewFrame.SetLine( nullptr, SvxBoxItemLine::TOP );
}
}
else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if its not sw or se corner
else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if it's not sw or se corner
{
if( nCellFlags & CELL_BEFORE )
{
......@@ -2315,7 +2315,7 @@ static void ImplApplyBorderLineItem( sal_uInt16 nCellFlags, const SvxBorderLine*
{
if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER|CELL_UPPER|CELL_LOWER)) != 0 )
{
if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if its not nw or ne corner
if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if it's not nw or ne corner
{
if( nCellFlags & CELL_UPPER )
{
......@@ -2328,7 +2328,7 @@ static void ImplApplyBorderLineItem( sal_uInt16 nCellFlags, const SvxBorderLine*
ImplSetLinePreserveColor( rNewFrame, pBorderLineItem, SvxBoxItemLine::TOP );
}
}
else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if its not sw or se corner
else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if it's not sw or se corner
{
if( nCellFlags & CELL_BEFORE )
{
......@@ -2882,14 +2882,14 @@ void lcl_MergeCommonBorderAttr(LinesState& rLinesState, const SvxBoxItem& rCellB
{
// current cell is outside the selection
if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if its not nw or ne corner
if( (nCellFlags & ( CELL_BEFORE|CELL_AFTER)) == 0 ) // check if it's not nw or ne corner
{
if( nCellFlags & CELL_UPPER )
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetBottom(), SvxBoxItemLine::TOP, SvxBoxInfoItemValidFlags::TOP);
else if( nCellFlags & CELL_LOWER )
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetTop(), SvxBoxItemLine::BOTTOM, SvxBoxInfoItemValidFlags::BOTTOM);
}
else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if its not sw or se corner
else if( (nCellFlags & ( CELL_UPPER|CELL_LOWER)) == 0 ) // check if it's not sw or se corner
{
if( nCellFlags & CELL_BEFORE )
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetRight(), SvxBoxItemLine::LEFT, SvxBoxInfoItemValidFlags::LEFT);
......
......@@ -151,7 +151,7 @@ OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_u
if( pItem && ( pItem->GetName() == pCheckItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( !pCompareValueFunc( pItem, pCheckItem ) )
{
// same name but different value, we need a new name for this item
......@@ -1395,7 +1395,7 @@ XLineStartItem* XLineStartItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineStartItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineStartValue() != pLineStartItem->GetLineStartValue() )
{
// same name but different value, we need a new name for this item
......@@ -1417,7 +1417,7 @@ XLineStartItem* XLineStartItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineStartItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineEndValue() != pLineStartItem->GetLineStartValue() )
{
// same name but different value, we need a new name for this item
......@@ -1441,7 +1441,7 @@ XLineStartItem* XLineStartItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineStartItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineStartValue() != pLineStartItem->GetLineStartValue() )
{
// same name but different value, we need a new name for this item
......@@ -1462,7 +1462,7 @@ XLineStartItem* XLineStartItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineStartItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineEndValue() != pLineStartItem->GetLineStartValue() )
{
// same name but different value, we need a new name for this item
......@@ -1678,7 +1678,7 @@ XLineEndItem* XLineEndItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineEndItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineStartValue() != pLineEndItem->GetLineEndValue() )
{
// same name but different value, we need a new name for this item
......@@ -1700,7 +1700,7 @@ XLineEndItem* XLineEndItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineEndItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineEndValue() != pLineEndItem->GetLineEndValue() )
{
// same name but different value, we need a new name for this item
......@@ -1724,7 +1724,7 @@ XLineEndItem* XLineEndItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineEndItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineStartValue() != pLineEndItem->GetLineEndValue() )
{
// same name but different value, we need a new name for this item
......@@ -1745,7 +1745,7 @@ XLineEndItem* XLineEndItem::checkForUniqueItem( SdrModel* pModel ) const
if( pItem && ( pItem->GetName() == pLineEndItem->GetName() ) )
{
// if there is already an item with the same name and the same
// value its ok to set it
// value it's ok to set it
if( pItem->GetLineEndValue() != pLineEndItem->GetLineEndValue() )
{
// same name but different value, we need a new name for this item
......
......@@ -68,7 +68,7 @@ class SW_DLLPUBLIC SwAnchoredObject
SwTwips mnLastTopOfLine;
// for to-paragraph and to-character anchored objects:
// Layout frame vertical position is orient at - typically its the upper
// Layout frame vertical position is orient at - typically it's the upper
// of the anchor frame, but it could also by the upper of a follow or
// a following layout frame in the text flow.
const SwLayoutFrame* mpVertPosOrientFrame;
......
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