Kaydet (Commit) d721cc51 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Samuel Mehrbrodt

Fix typos

Change-Id: I8f4500fc7a901c5cc73634ba6da6b9541452e5ae
Reviewed-on: https://gerrit.libreoffice.org/18966Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 4314fb64
......@@ -47,7 +47,7 @@ public class InputRepositoryResourceData extends AbstractResourceData
public Object getAttribute(final String key)
{
// we dont support attributes here ..
// we don't support attributes here ..
return null;
}
......
......@@ -80,7 +80,7 @@ public class OfficeStylesCollection extends Element
}
// And later: Autogenerate one of the default styles.
// However, at this moment, we dont have a clue about the default styles
// However, at this moment, we don't have a clue about the default styles
// at all. Maybe we should add them to make this implementation more robust
// against invalid documents.
return null;
......
......@@ -1401,7 +1401,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget
imageAreaHeightVal = CSSNumericValue.createValue(imageAreaHeightVal.getType(), ret[1]);
}
}
// If we do scale, then we simply use the given image-area-size as valid image size and dont
// If we do scale, then we simply use the given image-area-size as valid image size and don't
// care about the image itself ..
}
else
......
......@@ -174,7 +174,7 @@ public class StyleUtilities
stylesCollection.getStyle(styleFamily, styleParent);
if (inherited != null)
{
// OK, recurse (and hope that we dont run into an infinite loop) ..
// OK, recurse (and hope that we don't run into an infinite loop) ..
copyStyle(styleFamily, styleParent, stylesCollection,
commonCollection, predefCollection, inheritanceTracker);
}
......
......@@ -346,7 +346,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget
// derive section style ..
// This is a rather cheap solution to the problem. In a sane world, we would have to feed the
// footer multiple times. Right now, we simply rely on the balacing, which should make sure that
// footer multiple times. Right now, we simply rely on the balancing, which should make sure that
// the column's content are evenly distributed.
final XmlWriter writer = getXmlWriter();
final AttributeList attrs = new AttributeList();
......@@ -1014,7 +1014,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget
}
if (getCurrentRole() == ROLE_TEMPLATE || getCurrentRole() == ROLE_SPREADSHEET_PAGE_HEADER || getCurrentRole() == ROLE_SPREADSHEET_PAGE_FOOTER)
{
// the template section would break the multi-column stuff and we dont open up sections there
// the template section would break the multi-column stuff and we don't open up sections there
// anyway ..
return;
}
......@@ -1040,7 +1040,7 @@ public class TextRawReportTarget extends OfficeDocumentReportTarget
sectionHeight = new LengthCalculator();
if (role == OfficeDocumentReportTarget.ROLE_TEMPLATE || role == OfficeDocumentReportTarget.ROLE_SPREADSHEET_PAGE_HEADER || role == OfficeDocumentReportTarget.ROLE_SPREADSHEET_PAGE_FOOTER)
{
// Start buffering with an dummy styles-collection, so that the global styles dont get polluted ..
// Start buffering with an dummy styles-collection, so that the global styles don't get polluted ..
startBuffering(new OfficeStylesCollection(), true);
}
else if (role == OfficeDocumentReportTarget.ROLE_PAGE_HEADER)
......
......@@ -69,7 +69,7 @@ public class FormattedTextReadHandler extends ElementReadHandler
// * Print-When-Section-Overflows
// That property cannot be evaluated yet, as this would require us to
// have a clue about pagebreaking. We dont have that - not yet and never
// have a clue about pagebreaking. We don't have that - not yet and never
// in the future, as pagebreaks are computed by OpenOffice instead
}
......
......@@ -126,7 +126,7 @@ private:
*/
void displayGroup(const ::com::sun::star::uno::Reference< ::com::sun::star::report::XGroup>& _xGroup);
/** enables or diables the up and down button
/** enables or disables the up and down button
@param _nRow the row which will be active
*/
void checkButtons(sal_Int32 _nRow);
......
......@@ -343,7 +343,7 @@ namespace rptui
// SfxListener
virtual void Notify(SfxBroadcaster & rBc, SfxHint const & rHint) SAL_OVERRIDE;
/** returns <TRUE/> when the command is enbaled
/** returns <TRUE/> when the command is enabled
@param _nCommand the command id
@param _xControlFormat the report control format
*/
......
......@@ -49,7 +49,7 @@ struct RscArrayInst
RscInstNode * pNode;
};
/* The tree is sorted against its enum value, not gainst its HashId */
/* The tree is sorted against its enum value, not against its HashId */
class RscArray : public RscTop
{
protected:
......
......@@ -77,7 +77,7 @@ public:
RscLongRange( Atom nId, sal_uInt32 nTypId );
virtual RSCCLASS_TYPE GetClassType() const SAL_OVERRIDE;
RSCINST Create( RSCINST * pInst, const RSCINST & rDfltInst, bool ) SAL_OVERRIDE;
// sets the alloed range
// sets the allowed range
ERRTYPE SetRange( sal_Int32 nMinimum, sal_Int32 nMaximum );
// returns the class size in bytes
sal_uInt32 Size() SAL_OVERRIDE { return nSize; }
......
......@@ -123,7 +123,7 @@ public:
// returns instance at the position
virtual RSCINST GetPosEle( const RSCINST & rInst, sal_uInt32 nPos );
// smove an instance
// move an instance
virtual ERRTYPE MovePosEle( const RSCINST & rInst, sal_uInt32 nDestPos,
sal_uInt32 nSourcePos );
......@@ -163,7 +163,7 @@ public:
virtual RSCINST Create( RSCINST * pInst,
const RSCINST & rDefInst, bool bOwnClass = false );
// detroys instance
// destroys instance
virtual void Destroy( const RSCINST & rInst );
// checks consistency
......
......@@ -773,7 +773,7 @@ ERRTYPE RscSysDepend::WriteSysDependRc( const RSCINST & rInst, RscWriteRc & rMem
ERRTYPE aError;
RSCINST aFileName;
// retriebe instance with file name "FILENAME"
// retrieve instance with file name "FILENAME"
aFileName = RscClass::GetCopyVar( rInst, pHS->getID( "FILE", true ) );
if( aFileName.IsInst() )
{
......
......@@ -40,7 +40,7 @@ extern FILE* pDefOut; /* ER */
#define EOS '\0' /* End of string */
#define EOF_CHAR 0 /* Returned by get() on eof */
#define NULLST ((char *) NULL) /* Pointer to nowhere (linted) */
#define NULLST ((char *) NULL) /* Pointer to nowhere (linked) */
#define DEF_NOARGS (-1) /* #define foo vs #define foo() */
/*
......
......@@ -94,14 +94,14 @@ int rec_recover = TRUE; /* Unwind recursive macros */
* shouldn't delimit tokens, but we'll worry about that some other
* time -- it is more important to prevent infinitly long output lines.
*
* instring and inmarcor are parameters to the get() routine which
* instring and inmacro are parameters to the get() routine which
* were made global for speed.
*/
int instring = FALSE; /* TRUE if scanning string */
int inmacro = FALSE; /* TRUE if #defining a macro */
/*
* work[] and workp are used to store one piece of text in a temporay
* work[] and workp are used to store one piece of text in a temporary
* buffer. To initialize storage, set workp = work. To store one
* character, call save(c); (This will fatally exit if there isn't
* room.) To terminate the string, call save(EOS). Note that
......
......@@ -373,7 +373,7 @@ FILE_LOCAL void doinclude()
#ifdef CONTROL_COMMENTS_NOT_ALLOWED
while ((c = get()) != '\n' && c != EOF_CHAR)
save(c); /* Put it away. */
unget(); /* Force nl after includee */
unget(); /* Force nl after include */
/*
* The draft is unclear if the following should be done.
*/
......
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