summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qadevOOo/runner/lib/StatusException.java2
-rw-r--r--sc/source/ui/vba/vbarange.cxx2
-rw-r--r--scripting/examples/beanshell/Capitalise/capitalise.bsh2
-rw-r--r--scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java2
-rw-r--r--scripting/source/basprov/basscript.hxx2
-rw-r--r--scripting/source/provider/ActiveMSPList.cxx2
-rw-r--r--scripting/source/provider/MasterScriptProvider.cxx2
-rw-r--r--sd/source/core/CustomAnimationEffect.cxx4
-rw-r--r--sd/source/core/EffectMigration.cxx2
-rw-r--r--sd/source/core/PageListWatcher.cxx2
-rw-r--r--sd/source/filter/html/htmlex.cxx2
-rw-r--r--svtools/source/misc/filechangedchecker.cxx2
-rw-r--r--svtools/source/svrtf/rtfout.cxx2
-rw-r--r--svx/source/customshapes/EnhancedCustomShape2d.cxx2
-rw-r--r--svx/source/form/filtnav.cxx4
-rw-r--r--svx/source/svdraw/svdoashp.cxx2
-rw-r--r--svx/source/table/tablecontroller.cxx12
-rw-r--r--svx/source/xoutdev/xattr.cxx18
-rw-r--r--sw/inc/anchoredobject.hxx2
19 files changed, 34 insertions, 34 deletions
diff --git a/qadevOOo/runner/lib/StatusException.java b/qadevOOo/runner/lib/StatusException.java
index 328fc4ff1899..98ca686af3b7 100644
--- a/qadevOOo/runner/lib/StatusException.java
+++ b/qadevOOo/runner/lib/StatusException.java
@@ -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 {
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 70f0f9b4d7dd..a49e5a2ee344 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -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 );
diff --git a/scripting/examples/beanshell/Capitalise/capitalise.bsh b/scripting/examples/beanshell/Capitalise/capitalise.bsh
index 206a84910ee6..6b68e010f29f 100644
--- a/scripting/examples/beanshell/Capitalise/capitalise.bsh
+++ b/scripting/examples/beanshell/Capitalise/capitalise.bsh
@@ -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);
diff --git a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
index 004fe2b181e9..6341b51d4e4a 100644
--- a/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
+++ b/scripting/java/com/sun/star/script/framework/container/ScriptMetaData.java
@@ -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();
diff --git a/scripting/source/basprov/basscript.hxx b/scripting/source/basprov/basscript.hxx
index cf964a8cdc0a..cf530d69f22b 100644
--- a/scripting/source/basprov/basscript.hxx
+++ b/scripting/source/basprov/basscript.hxx
@@ -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
diff --git a/scripting/source/provider/ActiveMSPList.cxx b/scripting/source/provider/ActiveMSPList.cxx
index a591ee5b9ced..5859b4b6eef5 100644
--- a/scripting/source/provider/ActiveMSPList.cxx
+++ b/scripting/source/provider/ActiveMSPList.cxx
@@ -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 );
diff --git a/scripting/source/provider/MasterScriptProvider.cxx b/scripting/source/provider/MasterScriptProvider.cxx
index df823d8c5fa0..7c6157d4d7b4 100644
--- a/scripting/source/provider/MasterScriptProvider.cxx
+++ b/scripting/source/provider/MasterScriptProvider.cxx
@@ -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
diff --git a/sd/source/core/CustomAnimationEffect.cxx b/sd/source/core/CustomAnimationEffect.cxx
index da8d1bd5ae75..b7e9bead245e 100644
--- a/sd/source/core/CustomAnimationEffect.cxx
+++ b/sd/source/core/CustomAnimationEffect.cxx
@@ -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 );
diff --git a/sd/source/core/EffectMigration.cxx b/sd/source/core/EffectMigration.cxx
index 140c2405ed71..cac25968e4b0 100644
--- a/sd/source/core/EffectMigration.cxx
+++ b/sd/source/core/EffectMigration.cxx
@@ -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 )
{
diff --git a/sd/source/core/PageListWatcher.cxx b/sd/source/core/PageListWatcher.cxx
index a0c0771e8cda..cb05d4be1f7d 100644
--- a/sd/source/core/PageListWatcher.cxx
+++ b/sd/source/core/PageListWatcher.cxx
@@ -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;
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index e495a5f1a220..28141c3d9d83 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -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 )
diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx
index 85f9a630db8d..17361fcd095d 100644
--- a/svtools/source/misc/filechangedchecker.cxx
+++ b/svtools/source/misc/filechangedchecker.cxx
@@ -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();
diff --git a/svtools/source/svrtf/rtfout.cxx b/svtools/source/svrtf/rtfout.cxx
index 250f9e6bb785..68ccedd1b48e 100644
--- a/svtools/source/svrtf/rtfout.cxx
+++ b/svtools/source/svrtf/rtfout.cxx
@@ -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
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
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx
index ec4264d32060..a91b530425bc 100644
--- a/sw/inc/anchoredobject.hxx
+++ b/sw/inc/anchoredobject.hxx
@@ -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;