diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2016-10-01 15:45:53 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-10-01 20:05:49 +0000 |
commit | 0d4996862b5df79fd601eff6193d5718f8f84047 (patch) | |
tree | 9ec8b740d17219de71d10f9fd311f8a1a888202a /svx | |
parent | 441fa1c03664081d76bf6007c4ac0aee32f56342 (diff) |
Fix typos
Change-Id: I9701cc93a9f4315e71c133237fdd96ef6964c8ff
Reviewed-on: https://gerrit.libreoffice.org/29438
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape2d.cxx | 2 | ||||
-rw-r--r-- | svx/source/form/filtnav.cxx | 4 | ||||
-rw-r--r-- | svx/source/svdraw/svdoashp.cxx | 2 | ||||
-rw-r--r-- | svx/source/table/tablecontroller.cxx | 12 | ||||
-rw-r--r-- | svx/source/xoutdev/xattr.cxx | 18 |
5 files changed, 19 insertions, 19 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShape2d.cxx b/svx/source/customshapes/EnhancedCustomShape2d.cxx index a3b08471c363..91bd8afc6f93 100644 --- a/svx/source/customshapes/EnhancedCustomShape2d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape2d.cxx @@ -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. diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx index eba73ac0734e..10dc8b7a4975 100644 --- a/svx/source/form/filtnav.cxx +++ b/svx/source/form/filtnav.cxx @@ -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() ); diff --git a/svx/source/svdraw/svdoashp.cxx b/svx/source/svdraw/svdoashp.cxx index 9482d259c3da..ea37cf640e4d 100644 --- a/svx/source/svdraw/svdoashp.cxx +++ b/svx/source/svdraw/svdoashp.cxx @@ -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 ) diff --git a/svx/source/table/tablecontroller.cxx b/svx/source/table/tablecontroller.cxx index 939930e4dd40..9385ca843c6a 100644 --- a/svx/source/table/tablecontroller.cxx +++ b/svx/source/table/tablecontroller.cxx @@ -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); diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx index 119003770e5d..1eea3d8ddca3 100644 --- a/svx/source/xoutdev/xattr.cxx +++ b/svx/source/xoutdev/xattr.cxx @@ -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 |