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

Fix typos

Change-Id: I04d1bc3a9f38ff7871d3192563cd1f649fdc6cea
Reviewed-on: https://gerrit.libreoffice.org/18960Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst a0649f31
...@@ -85,7 +85,7 @@ LwpSdwGroupLoaderV0102::~LwpSdwGroupLoaderV0102() ...@@ -85,7 +85,7 @@ LwpSdwGroupLoaderV0102::~LwpSdwGroupLoaderV0102()
} }
/** /**
* @descr entry of lwp-drawing objects. the functin begins to parse the sdw-drawing bento stream and create * @descr entry of lwp-drawing objects. the function begins to parse the sdw-drawing bento stream and create
* the corresponding drawing objects. * the corresponding drawing objects.
* @param pDrawObjVector a container which will contains the created drawing object of XF-Model. * @param pDrawObjVector a container which will contains the created drawing object of XF-Model.
*/ */
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
* @brief * @brief
* SdwRectangle: Not like rectangle in SODC, rectangles in Word Pro are * SdwRectangle: Not like rectangle in SODC, rectangles in Word Pro are
* defined by 4 points. So they can be any posture in the two-dimensional * defined by 4 points. So they can be any posture in the two-dimensional
* coordinate system. The class is used to describ such rectangles. * coordinate system. The class is used to describe such rectangles.
* The four corner points must be saved in member variable:m_nRectCorner * The four corner points must be saved in member variable:m_nRectCorner
* one after another. We assume the input order(the same order in .lwp files) * one after another. We assume the input order(the same order in .lwp files)
* is as below: * is as below:
......
...@@ -243,7 +243,7 @@ LwpPara* LwpSilverBullet::GetBulletPara() ...@@ -243,7 +243,7 @@ LwpPara* LwpSilverBullet::GetBulletPara()
/** /**
* @short: Get numbering character of the bullet vo_para. * @short: Get numbering character of the bullet vo_para.
* @descr: * @descr:
* @param: pParaNumber a pionter to the structure LwpFribParaNumber which * @param: pParaNumber a pointer to the structure LwpFribParaNumber which
* includes numbering prefix, format and suffix. * includes numbering prefix, format and suffix.
* @return: An OUString object which store the numbering character. * @return: An OUString object which store the numbering character.
*/ */
......
...@@ -913,7 +913,7 @@ void LwpTableLayout::SplitRowToCells(XFTable* pTmpTable,XFTable* pXFTable, ...@@ -913,7 +913,7 @@ void LwpTableLayout::SplitRowToCells(XFTable* pTmpTable,XFTable* pXFTable,
} }
pXFRow->SetStyleName(pXFStyleManager->AddStyle(pRowStyle).m_pStyle->GetStyleName()); pXFRow->SetStyleName(pXFStyleManager->AddStyle(pRowStyle).m_pStyle->GetStyleName());
//construct headong row //construct heading row
XFCell* pXFCell1 = new XFCell; XFCell* pXFCell1 = new XFCell;
XFCell* pXFCell2 = new XFCell; XFCell* pXFCell2 = new XFCell;
XFTable* pSubTable1 = new XFTable; XFTable* pSubTable1 = new XFTable;
...@@ -1097,7 +1097,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID) ...@@ -1097,7 +1097,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID)
{ {
//Comment:The old code doesn't check if the LwpFoundry pointer is NULL, //Comment:The old code doesn't check if the LwpFoundry pointer is NULL,
// So the NULL pointer cause sodc frozee. Add code to check the // So the NULL pointer cause sodc frozen. Add code to check the
// the pointer. // the pointer.
//New Code //New Code
if( !pFoundry ) return; if( !pFoundry ) return;
...@@ -1132,7 +1132,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID) ...@@ -1132,7 +1132,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID)
sal_uInt16 nRowID = pRowList->GetRowID(); sal_uInt16 nRowID = pRowList->GetRowID();
{ {
LwpCellList* pCellList = static_cast<LwpCellList*>(pRowList->GetChildHeadID().obj().get()); LwpCellList* pCellList = static_cast<LwpCellList*>(pRowList->GetChildHeadID().obj().get());
//loop the celllist //loop the cellList
while( NULL!=pCellList) while( NULL!=pCellList)
{ {
{//put cell {//put cell
......
...@@ -77,7 +77,7 @@ sal_uLong LtcUtBenValueStream::GetData( void* pData, sal_uLong nSize ) ...@@ -77,7 +77,7 @@ sal_uLong LtcUtBenValueStream::GetData( void* pData, sal_uLong nSize )
return AmtRead; return AmtRead;
} }
/** /**
* Value stream write function, not suppoted now * Value stream write function, not supported now
* @param pointer of saved buffer * @param pointer of saved buffer
* @param size of buffer to be written * @param size of buffer to be written
* @return number of bytes written into value stream * @return number of bytes written into value stream
......
...@@ -93,9 +93,9 @@ public: ...@@ -93,9 +93,9 @@ public:
virtual enumXFStyle GetStyleFamily() = 0; virtual enumXFStyle GetStyleFamily() = 0;
/** /**
* @descr: Compare wheather two style object are the same.Used only by XFStyleManager. * @descr: Compare whatever two style object are the same. Used only by XFStyleManager.
* @param: pStyle the style to be compared. * @param: pStyle the style to be compared.
* @return: return sal_True if equals,else sal_False. * @return: return sal_True if equals, else sal_False.
*/ */
virtual bool Equal(IXFStyle *pStyle) = 0; virtual bool Equal(IXFStyle *pStyle) = 0;
......
...@@ -204,9 +204,9 @@ enum enumXFBorder ...@@ -204,9 +204,9 @@ enum enumXFBorder
/************************************************************************** /**************************************************************************
* @descr * @descr
* Line height type. * Line height type.
* enumLHHeight: height of the line,in "cm". * enumLHHeight: height of the line, in "cm".
* enumLHLeast: the height may be adjusted,but has a min value. * enumLHLeast: the height may be adjusted, but has a min value.
* enumLHPercent: the height is a centain times of the normal height. * enumLHPercent: the height is a certain times of the normal height.
* enumLHSpace: space between lines. * enumLHSpace: space between lines.
*************************************************************************/ *************************************************************************/
enum enumLHType enum enumLHType
......
...@@ -53,10 +53,10 @@ ...@@ -53,10 +53,10 @@
* *
* *
************************************************************************/ ************************************************************************/
/************************************************************************* /*
* @file * @file
* Polylon object. * Polygon object.
************************************************************************/ */
#include "xfdrawpolygon.hxx" #include "xfdrawpolygon.hxx"
XFDrawPolygon::XFDrawPolygon() XFDrawPolygon::XFDrawPolygon()
......
...@@ -144,12 +144,12 @@ public: ...@@ -144,12 +144,12 @@ public:
void SetIndexType(enumXFIndex type); void SetIndexType(enumXFIndex type);
/** /**
* @descr Add index templaet entry. * @descr Add index template entry.
*/ */
void AddTemplate(const OUString& level, const OUString& style, XFIndexTemplate* templ); void AddTemplate(const OUString& level, const OUString& style, XFIndexTemplate* templ);
/** /**
* @descr Set if protected index to prevent handly-revise. * @descr Set if protected index to prevent handy-revise.
*/ */
void SetProtected(bool protect); void SetProtected(bool protect);
......
...@@ -105,7 +105,7 @@ public: ...@@ -105,7 +105,7 @@ public:
or if you set the format to 'a', then the output would be: or if you set the format to 'a', then the output would be:
a item1 a item1
b item2 b item2
some sepecial, if you set the format to a sequence,ie. "一,二,三,..." some special, if you set the format to a sequence,ie. "一,二,三,..."
the output would be: the output would be:
一 item1 一 item1
二 item2 二 item2
......
...@@ -112,7 +112,7 @@ public: ...@@ -112,7 +112,7 @@ public:
/** /**
* @descr set the paragraph default font. * @descr set the paragraph default font.
* @param font font object to be setted.Font object are deleted by font-factory,so * @param font font object to be setted.Font object are deleted by font-factory,so
* dont't delete it in the destructure function of para style. * don't delete it in the destructure function of para style.
*/ */
void SetFont(rtl::Reference<XFFont> const & font); void SetFont(rtl::Reference<XFFont> const & font);
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# #
# Test for the Boost C++ libraries of a particular version (or newer) # Test for the Boost C++ libraries of a particular version (or newer)
# #
# If no path to the installed boost library is given the macro searchs # If no path to the installed boost library is given the macro searches
# under /usr, /usr/local, /opt and /opt/local and evaluates the # under /usr, /usr/local, /opt and /opt/local and evaluates the
# $BOOST_ROOT environment variable. Further documentation is available at # $BOOST_ROOT environment variable. Further documentation is available at
# <http://randspringer.de/boost/index.html>. # <http://randspringer.de/boost/index.html>.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* which varied adaptively according to the social information. * which varied adaptively according to the social information.
* *
* Applied domain: efficiently for ridge class feasible space (SF), such as * Applied domain: efficiently for ridge class feasible space (SF), such as
* the problem with eqaulity constraints * the problem with equality constraints
* *
* Author Create/Modi Note * Author Create/Modi Note
* Xiaofeng Xie Jun 24, 2003 Created * Xiaofeng Xie Jun 24, 2003 Created
......
...@@ -28,7 +28,7 @@ package net.adaptivebox.goodness; ...@@ -28,7 +28,7 @@ package net.adaptivebox.goodness;
public class BCHComparator implements IGoodnessCompareEngine { public class BCHComparator implements IGoodnessCompareEngine {
/* check the magnitude of two array, the frontial is more important /* check the magnitude of two array, the frontal is more important
**/ **/
private static int compareArray(double[] fit1, double[] fit2) { private static int compareArray(double[] fit1, double[] fit2) {
for (int i=0; i<fit1.length; i++) { for (int i=0; i<fit1.length; i++) {
......
...@@ -76,7 +76,7 @@ public class SCAgent { ...@@ -76,7 +76,7 @@ public class SCAgent {
public SearchPoint generatePoint() { public SearchPoint generatePoint() {
//generate a new point //generate a new point
generatePoint(trailPoint); generatePoint(trailPoint);
//evalute the generated point //evaluete the generated point
problemEncoder.evaluate(trailPoint); problemEncoder.evaluate(trailPoint);
return trailPoint; return trailPoint;
} }
......
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