diff options
15 files changed, 19 insertions, 19 deletions
diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java b/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java index e3dde734416c..dd2b48068f84 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/loader/InputRepositoryResourceData.java @@ -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; } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java index 71562ca5beb2..90647e45bf95 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/model/OfficeStylesCollection.java @@ -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; diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java index eef2178934a9..2889a8f3b4eb 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java @@ -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 diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java index 8ba9231850cd..db8fe0fd18d0 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/StyleUtilities.java @@ -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); } diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java index 3f3fe44e3476..469e5ef48268 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/text/TextRawReportTarget.java @@ -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) diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java index 5a6356abdc8b..03cd8f9eef8b 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/parser/rpt/FormattedTextReadHandler.java @@ -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 } diff --git a/reportdesign/source/ui/inc/GroupsSorting.hxx b/reportdesign/source/ui/inc/GroupsSorting.hxx index 714191c2c887..3b3fd602dd28 100644 --- a/reportdesign/source/ui/inc/GroupsSorting.hxx +++ b/reportdesign/source/ui/inc/GroupsSorting.hxx @@ -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); diff --git a/reportdesign/source/ui/inc/ReportController.hxx b/reportdesign/source/ui/inc/ReportController.hxx index e48f9ccf4f47..e9434e30b18f 100644 --- a/reportdesign/source/ui/inc/ReportController.hxx +++ b/reportdesign/source/ui/inc/ReportController.hxx @@ -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 */ diff --git a/rsc/inc/rscarray.hxx b/rsc/inc/rscarray.hxx index 65a74e9fa5b8..1b7fc3bb9025 100644 --- a/rsc/inc/rscarray.hxx +++ b/rsc/inc/rscarray.hxx @@ -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: diff --git a/rsc/inc/rscrange.hxx b/rsc/inc/rscrange.hxx index 4739b5792ce2..e34533beef68 100644 --- a/rsc/inc/rscrange.hxx +++ b/rsc/inc/rscrange.hxx @@ -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; } diff --git a/rsc/inc/rsctop.hxx b/rsc/inc/rsctop.hxx index f94f574ea98a..43b32ca9d98a 100644 --- a/rsc/inc/rsctop.hxx +++ b/rsc/inc/rsctop.hxx @@ -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 diff --git a/rsc/source/res/rscclass.cxx b/rsc/source/res/rscclass.cxx index a7c63b827c0c..a16755202bcb 100644 --- a/rsc/source/res/rscclass.cxx +++ b/rsc/source/res/rscclass.cxx @@ -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() ) { diff --git a/rsc/source/rscpp/cpp.h b/rsc/source/rscpp/cpp.h index d0432ed5ec14..927f1ba061b8 100644 --- a/rsc/source/rscpp/cpp.h +++ b/rsc/source/rscpp/cpp.h @@ -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() */ /* diff --git a/rsc/source/rscpp/cpp1.c b/rsc/source/rscpp/cpp1.c index 7f4e0799b803..02fcb4eb7664 100644 --- a/rsc/source/rscpp/cpp1.c +++ b/rsc/source/rscpp/cpp1.c @@ -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 diff --git a/rsc/source/rscpp/cpp2.c b/rsc/source/rscpp/cpp2.c index 2c2e55094c61..2108f099d83d 100644 --- a/rsc/source/rscpp/cpp2.c +++ b/rsc/source/rscpp/cpp2.c @@ -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. */ |