Kaydet (Commit) a2ef65b0 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos

Change-Id: I0e56430afa65b6b5826d56212ac501c0244fce9b
Reviewed-on: https://gerrit.libreoffice.org/47145Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst d0222ba1
......@@ -34,7 +34,7 @@ class TypeManager;
namespace codemaker { namespace cppumaker {
/**
A simple class to track which other entites a given entity depends on.
A simple class to track which other entities a given entity depends on.
<p>This class is not multi-thread&ndash;safe.</p>
*/
......
......@@ -44,7 +44,7 @@ namespace connectivity
sal_Int32 m_nFilePos; // current IResultSetHelper::Movement
sal_uInt8* m_pBuffer;
sal_uInt16 m_nBufferSize; // size of the ReadBuffer, if pBuffer != NULL
bool m_bWriteable; // svstream cann't say if we are writeable
bool m_bWriteable; // svstream can't say if we are writeable
// so we have to
virtual void FileClose();
......
......@@ -1126,7 +1126,7 @@ TOTypeInfoSP queryPrimaryKeyType(const OTypeInfoMap& _rTypeInfo)
if ( !pTypeInfo.get() ) // just a fallback
pTypeInfo = queryTypeInfoByType(DataType::VARCHAR,_rTypeInfo);
OSL_ENSURE(pTypeInfo.get(),"checkColumns: cann't find a type which is useable as a key!");
OSL_ENSURE(pTypeInfo.get(),"checkColumns: can't find a type which is useable as a key!");
return pTypeInfo;
}
......
......@@ -2617,7 +2617,7 @@ void EditDoc::FindAttribs( ContentNode* pNode, sal_Int32 nStartPos, sal_Int32 nE
while ( pAttr && ( pAttr->GetStart() < nEndPos) )
{
const SfxPoolItem* pItem = nullptr;
// Attribut is about...
// Attribute is about...
if ( ( pAttr->GetStart() <= nStartPos ) && ( pAttr->GetEnd() >= nEndPos ) )
pItem = pAttr->GetItem();
// Attribute starts right in the middle ...
......
......@@ -1522,12 +1522,12 @@
<xsl:when test="string-length($typeid_adj) = 0">
<xsl:if test="contains(@adj,',')">
<!--Please Note that the modifier can be more than 2 , so use a translate can be more efficient.
-####Note that comma cann't be recognized by OOo's modifiers
-####Note that comma can't be recognized by OOo's modifiers
<xsl:variable name="adjust-x" select="substring-before(@adj,',')"/>
<xsl:variable name="adjust-y" select="substring-after(@adj,',')"/>
<xsl:variable name="adjuststr">
<xsl:if test="$adjust-x and $adjust-y">
-####Note that comma cann't be recognized by OOo's modifiers->
-####Note that comma can't be recognized by OOo's modifiers->
<xsl:value-of select="concat( $adjust-x , ' ' ,$adjust-y )"/>
</xsl:if>
</xsl:variable>-->
......@@ -1536,7 +1536,7 @@
</xsl:attribute>
</xsl:if>
<xsl:if test="@adj and not(contains(@adj,','))">
<!--####Note that comma cann't be recognized by OOo's modifiers.-->
<!--####Note that comma can't be recognized by OOo's modifiers.-->
<xsl:attribute name="draw:modifiers">
<xsl:value-of select="@adj"/>
</xsl:attribute>
......@@ -1742,12 +1742,12 @@
<xsl:if test="not($instance/@adj)">
<xsl:if test="contains(@adj,',')">-->
<!--Please Note that the modifier can be more than 2 , so use a translate can be more efficient.
-####Note that comma cann't be recognized by OOo's modifiers
-####Note that comma can't be recognized by OOo's modifiers
<xsl:variable name="adjust-x" select="substring-before(@adj,',')"/>
<xsl:variable name="adjust-y" select="substring-after(@adj,',')"/>
<xsl:variable name="adjuststr">
<xsl:if test="$adjust-x and $adjust-y">
< -####Note that comma cann't be recognized by OOo's modifiers.->
< -####Note that comma can't be recognized by OOo's modifiers.->
<xsl:value-of select="concat( $adjust-x , ' ' ,$adjust-y )"/>
</xsl:if>
</xsl:variable>-->
......@@ -1756,7 +1756,7 @@
</xsl:attribute>
</xsl:if>
<xsl:if test="@adj and not(contains(@adj,','))">-->
<!--####Note that comma cann't be recognized by OOo's modifiers.-->
<!--####Note that comma can't be recognized by OOo's modifiers.-->
<!--Dummy after version 1.63 <xsl:attribute name="draw:modifiers">
<xsl:value-of select="@adj"/>
</xsl:attribute>
......
......@@ -583,7 +583,7 @@
<!--
**Template vmlpath2enhancedpath**
The template is responsible for converting the vml-path to enhanced-path, because the svg:path
cann't support command a now.(But heard that will be supported in OOo3.0)
can't support command a now.(But heard that will be supported in OOo3.0)
And the 2nd reason of using an enhanced-path is that enhanced-path have a perfect mapping to
vmlpath.(You will find out that often, we even don't need to change the parameters).
-->
......
......@@ -34,7 +34,7 @@ namespace framework{
@short implements a simple configuration access
@descr Sometimes it's better to have direct config access
instead of using specialized config items of the svtools
project. This class can wrapp such configuration access.
project. This class can wrap such configuration access.
*/
class FWI_DLLPUBLIC ConfigAccess final
{
......
......@@ -42,7 +42,7 @@ namespace framework{
/**
@short it represent a job; execute it and control its lifetime
@descr This implementation can be used to wrapp jobs, execute it
@descr This implementation can be used to wrap jobs, execute it
synchronously or asynchronous, control its lifetime
and differe between jobs with and without configuration.
*/
......
......@@ -30,7 +30,7 @@ namespace framework{
/** @short specify an exception, which can be used inside the
load environment only.
@descr Of course outside code must wrapp it, to transport
@descr Of course outside code must wrap it, to transport
the occurred information to its caller.
*/
class LoadEnvException
......
......@@ -354,7 +354,7 @@ struct TxtBox: public FBox
*/
short nCell; //:=1 offset 80
/**
* If value of protect is 1, size of cell cann't change.
* If value of protect is 1, size of cell can't change.
*/
short protect; //1=size lock
......
......@@ -111,7 +111,7 @@ SAL_DLLPUBLIC sal_Int32 SAL_CALL rtl_compareUuid(
@param pTargetUUID pointer to at least 16 bytes of memory. After the call
it contains the newly generated uuid in network byte order.
@param pNameSpaceUUID The namespace uuid. Below are some predefined ones,
but any arbitray uuid can be used as namespace.
but any arbitrary uuid can be used as namespace.
@param pName the name
*/
......
......@@ -103,7 +103,7 @@ namespace sfx2
/** checks whether the document's storage contains sub storages with macros or scripts
A default implementation of this method will simply cann DocumentMacroMode::storageHasMacros
A default implementation of this method will simply call DocumentMacroMode::storageHasMacros
with the document's root storage. However, there might be document types where this
isn't sufficient (e.g. database documents which contain sub documents which can also
contain macro/script storages).
......
......@@ -32,7 +32,7 @@ class SVX_DLLPUBLIC SvxFmDrawPage :public SvxDrawPage
{
protected:
// Creating a SdrObject based on a Description. Cann be used by derived classes to
// Creating a SdrObject based on a Description. Can be used by derived classes to
// support own css::drawing::Shapes (for example Controls)
virtual SdrObject *CreateSdrObject_( const css::uno::Reference< css::drawing::XShape > & xShape ) override;
......
......@@ -68,7 +68,7 @@ import util.ValueComparer;
* must lost it. </li>
* <li> <code>'XWindow.ControlShape'</code> <b>optional</b>
* (of type <code>XControlShape</code>):
* Some shapes cann't change their size within fixed ControlShape
* Some shapes can't change their size within fixed ControlShape
* and their size could be changed only if size of container
* ControlShape is changed. For such shapes this relation should
* be passed for proper <code>addWindowListener</code> test. </li>
......
......@@ -47,7 +47,7 @@ import com.sun.star.uno.XNamingService;
* container.</li>
* <li> <code>'INSTANCE2'</code> : <b>(optional)</b>
* Object which can be inserted into container. The relation
* must be specified when container cann't contain two
* must be specified when container can't contain two
* identical objects. Replaces the first instance.</li>
* <li> <code>'XContainer.Container'</code> (of type
* <code>com.sun.star.container.XNameContainer</code>)
......
......@@ -114,7 +114,7 @@ public class _XFilter extends MultiMethodTest {
result = oObj.filter(mDesc) ;
if (checker == null) {
log.println("!!! Warning : cann't check filter as no relation found");
log.println("!!! Warning : can't check filter as no relation found");
} else {
result &= checker.checkFilter() ;
}
......
......@@ -55,7 +55,7 @@ import com.sun.star.uno.UnoRuntime;
*
* <b>Prerequisites:</b> component must implement <code>XTextComponent</code>
* interface for changing component's text which must cause listener call.
* If the component cann't support the interface, then the relation
* If the component can't support the interface, then the relation
* <code>'XChangeBroadcaster.Changer'</code> must be passed. <p>
*
* Test is <b> NOT </b> multithread compliant. <p>
......
......@@ -406,7 +406,7 @@ public class _XFrame extends MultiMethodTest {
TestFrameActionListener listener = new TestFrameActionListener();
if (tEnv.getTestCase().getObjectName().equals("Desktop")) {
log.println("Desktop cann't change context");
log.println("Desktop can't change context");
tRes.tested("contextChanged()", true) ;
return;
}
......
......@@ -80,7 +80,7 @@ public class _XInvocationAdapterFactory extends MultiMethodTest {
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;
throw new StatusException("Cann't create invocation for object", e) ;
throw new StatusException("Can't create invocation for object", e) ;
}
XInterface xInStr = null ;
......
......@@ -80,7 +80,7 @@ public class _XInvocationAdapterFactory2 extends MultiMethodTest {
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace(log) ;
throw new StatusException("Cann't create invocation for object", e) ;
throw new StatusException("Can't create invocation for object", e) ;
}
XInterface xInStr = null ;
......
......@@ -32,9 +32,9 @@ import com.sun.star.util.XCancellable;
* <li><code> execute()</code></li>
* </ul> <p>
*
* This interface methods cann't be checked, thereby methods
* These interface methods can't be checked, thereby methods
* are just called. <code>execute</code> method is not called
* at all as the dialog shown cann't be disposed. <p>
* at all as the dialog shown can't be disposed. <p>
*
* Test is <b> NOT </b> multithread compliant. <p>
* @see com.sun.star.ui.dialogs.XExecutableDialog
......
......@@ -114,7 +114,7 @@ public class _XPrintable extends MultiMethodTest {
* exists. <p>
*
* @throws StatusException if service
* <code>com.sun.star.ucb.SimpleFileAccess</code> cann't be
* <code>com.sun.star.ucb.SimpleFileAccess</code> can't be
* created.
*/
public void _print() throws Exception {
......
......@@ -205,7 +205,7 @@ public class ORowSet extends TestCase {
* Creating a TestEnvironment for the interfaces to be tested.
* The database (DBF) file is copied from test document directory
* into SOffice temp dir with unique name for each environment
* creation. If the file cann't be copied (is not released)
* creation. If the file can't be copied (is not released)
* then another unique name is used (file name suffix incremented
* by 1).<p>
*
......
......@@ -120,7 +120,7 @@ public class SwAccessibleFooterView extends TestCase {
Integer.valueOf(1000));
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace();
throw new StatusException("Cann't change footer.", e);
throw new StatusException("Can't change footer.", e);
}
}
});
......
......@@ -110,7 +110,7 @@ public class SwAccessibleHeaderView extends TestCase {
Integer.valueOf(1000));
} catch (com.sun.star.uno.Exception e) {
e.printStackTrace();
throw new StatusException("Cann't change footer.", e);
throw new StatusException("Can't change footer.", e);
}
}
});
......
......@@ -376,7 +376,7 @@ public class _XDataPilotDescriptor {
}
if (fieldsNames[rem] == null) {
System.out.println("No fields were set to this orientation - cann't check result") ;
System.out.println("No fields were set to this orientation - can't check result") ;
return true ;
}
......
......@@ -295,7 +295,7 @@ ScMatrixRef ScInterpreter::GetNewMat(SCSIZE nC, SCSIZE nR, bool bEmpty)
SCSIZE nCols, nRows;
pMat->GetDimensions( nCols, nRows);
if ( nCols != nC || nRows != nR )
{ // arbitray limit of elements exceeded
{ // arbitrary limit of elements exceeded
SetError( FormulaError::MatrixSize);
pMat.reset();
}
......
......@@ -197,7 +197,7 @@
</anim:par>
</xsl:template>
<!-- whipe -->
<!-- wipe -->
<xsl:template match="anim:par[@pres:preset-id = 'ooo-entrance-wipe']">
<anim:par pres:preset-property="Direction">
<xsl:apply-templates select="*|@*|text()"/>
......
......@@ -385,7 +385,7 @@ namespace svt { namespace table
DrawTextFlags nDrawTextFlags = lcl_getAlignmentTextDrawFlags(*m_pImpl, 0) | DrawTextFlags::Clip;
if (!m_pImpl->rModel.isEnabled())
nDrawTextFlags |= DrawTextFlags::Disable;
// TODO: is using the horizontal alignment of the 0'th column a good idea here? This is pretty ... arbitray ..
// TODO: is using the horizontal alignment of the 0'th column a good idea here? This is pretty ... arbitrary ..
rRenderContext.DrawText(aTextRect, rowTitle, nDrawTextFlags);
}
......
......@@ -99,7 +99,7 @@ drawinglayer::primitive2d::Primitive2DContainer ViewContactOfSdrOle2Obj::createP
{
// #i123539# allow buffering and reuse of local chart data to not need to rebuild it
// on every ViewObjectContact::getPrimitive2DSequence call. TTTT: Not needed for
// aw080, there this mechanism alraedy works differently
// aw080, there this mechanism already works differently
if(mxChartContent.is()
// check if we need to update the transformation primitive wrapping the chart
&& maGridOffset == GetOle2Obj().GetGridOffset())
......
......@@ -351,11 +351,11 @@ std::vector<std::pair< const SfxPoolItem*, std::unique_ptr<SwPaM> >> SwEditShell
if( pItem->Which() == nWhich )
{
sal_Int32 nStart = 0, nStop = 0;
if( nAttrStart < nStt ) //Attribut starts before selection
if( nAttrStart < nStt ) // Attribute starts before selection
nStart = nStt;
else
nStart = nAttrStart;
if( *pAttrEnd > nEnd ) //Attribut ends after selection
if( *pAttrEnd > nEnd ) // Attribute ends after selection
nStop = nEnd;
else
nStop = *pAttrEnd;
......
......@@ -1934,7 +1934,7 @@ bool SwTextNode::SetAttr(
{
if ( nEnd != nStt && !pNew->GetEnd() )
{
OSL_FAIL("Attribut without end, but area marked");
OSL_FAIL("Attribute without end, but area marked");
DestroyAttr( pNew ); // do not insert
}
else if ( InsertHint( pNew, nMode ) )
......
......@@ -3161,7 +3161,7 @@ void CellSaveStruct::InsertCell( SwHTMLParser& rParser,
// Otherwise something's wrong. Let's check that...
// MIB 8.1.98: When attributes were opened outside of a cell,
// they're still in the attribut table and will only be deleted at the end
// they're still in the attribute table and will only be deleted at the end
// through the CleanContext calls in BuildTable. We don't check that there
// so that we get no assert [violations, by translator]
// We can see this on nContextStAttrMin: the remembered value of nContextStAttrMinSave
......
......@@ -4654,10 +4654,10 @@ void WW8AttributeOutput::ParaAdjust( const SvxAdjustItem& rAdjust )
nAdj = nAdjBiDi = 1;
break;
default:
return; // not a supported Attribut
return; // not a supported Attribute
}
if ( 255 != nAdj ) // supported Attribut?
if ( 255 != nAdj ) // supported Attribute?
{
m_rWW8Export.InsUInt16( NS_sprm::sprmPJc80 );
m_rWW8Export.pO->push_back( nAdj );
......
......@@ -1065,7 +1065,7 @@ struct SEPr
// Fixed array - two entries for each SEP column to store width of column and spacing to next column.
// At odd index values [1,3,5,...] the column widths are stored.
// At even index values [2,4,6,...] the spacings to the next columns are stored.
// Value at index 0 is initialized with 0 and used for easier interation on the array
// Value at index 0 is initialized with 0 and used for easier iteration on the array
sal_Int32 rgdxaColumnWidthSpacing[MAX_NO_OF_SEP_COLUMNS*2 + 1];
sal_Int32 dxaColumnWidth;
......
......@@ -181,7 +181,7 @@ void SwMailMergeGreetingsPage::UpdatePreview()
bFemale = xColumn->getString() == sFemaleValue;
if( !bNoValue )
{
//no last name value marks the greeting also als neutral
//no last name value marks the greeting also as neutral
const OUString sLastNameColumn =
m_rConfigItem.GetAssignedColumn(MM_PART_LASTNAME);
if ( xColAccess->hasByName(sLastNameColumn) )
......
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