Fix typos
Change-Id: I04d1bc3a9f38ff7871d3192563cd1f649fdc6cea Reviewed-on: https://gerrit.libreoffice.org/18960 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
committed by
Samuel Mehrbrodt
parent
a0649f316e
commit
ecf5384f75
@@ -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.
|
||||
* @param pDrawObjVector a container which will contains the created drawing object of XF-Model.
|
||||
*/
|
||||
|
@@ -68,7 +68,7 @@
|
||||
* @brief
|
||||
* 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
|
||||
* 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
|
||||
* one after another. We assume the input order(the same order in .lwp files)
|
||||
* is as below:
|
||||
|
@@ -243,7 +243,7 @@ LwpPara* LwpSilverBullet::GetBulletPara()
|
||||
/**
|
||||
* @short: Get numbering character of the bullet vo_para.
|
||||
* @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.
|
||||
* @return: An OUString object which store the numbering character.
|
||||
*/
|
||||
|
@@ -913,7 +913,7 @@ void LwpTableLayout::SplitRowToCells(XFTable* pTmpTable,XFTable* pXFTable,
|
||||
}
|
||||
pXFRow->SetStyleName(pXFStyleManager->AddStyle(pRowStyle).m_pStyle->GetStyleName());
|
||||
|
||||
//construct headong row
|
||||
//construct heading row
|
||||
XFCell* pXFCell1 = new XFCell;
|
||||
XFCell* pXFCell2 = new XFCell;
|
||||
XFTable* pSubTable1 = new XFTable;
|
||||
@@ -1097,7 +1097,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID)
|
||||
{
|
||||
|
||||
//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.
|
||||
//New Code
|
||||
if( !pFoundry ) return;
|
||||
@@ -1132,7 +1132,7 @@ void LwpTableLayout::PutCellVals(LwpFoundry* pFoundry, LwpObjectID aTableID)
|
||||
sal_uInt16 nRowID = pRowList->GetRowID();
|
||||
{
|
||||
LwpCellList* pCellList = static_cast<LwpCellList*>(pRowList->GetChildHeadID().obj().get());
|
||||
//loop the celllist
|
||||
//loop the cellList
|
||||
while( NULL!=pCellList)
|
||||
{
|
||||
{//put cell
|
||||
|
@@ -77,7 +77,7 @@ sal_uLong LtcUtBenValueStream::GetData( void* pData, sal_uLong nSize )
|
||||
return AmtRead;
|
||||
}
|
||||
/**
|
||||
* Value stream write function, not suppoted now
|
||||
* Value stream write function, not supported now
|
||||
* @param pointer of saved buffer
|
||||
* @param size of buffer to be written
|
||||
* @return number of bytes written into value stream
|
||||
|
@@ -93,9 +93,9 @@ public:
|
||||
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.
|
||||
* @return: return sal_True if equals,else sal_False.
|
||||
* @return: return sal_True if equals, else sal_False.
|
||||
*/
|
||||
virtual bool Equal(IXFStyle *pStyle) = 0;
|
||||
|
||||
|
@@ -204,9 +204,9 @@ enum enumXFBorder
|
||||
/**************************************************************************
|
||||
* @descr
|
||||
* Line height type.
|
||||
* enumLHHeight: height of the line,in "cm".
|
||||
* enumLHLeast: the height may be adjusted,but has a min value.
|
||||
* enumLHPercent: the height is a centain times of the normal height.
|
||||
* enumLHHeight: height of the line, in "cm".
|
||||
* enumLHLeast: the height may be adjusted, but has a min value.
|
||||
* enumLHPercent: the height is a certain times of the normal height.
|
||||
* enumLHSpace: space between lines.
|
||||
*************************************************************************/
|
||||
enum enumLHType
|
||||
|
@@ -53,10 +53,10 @@
|
||||
*
|
||||
*
|
||||
************************************************************************/
|
||||
/*************************************************************************
|
||||
/*
|
||||
* @file
|
||||
* Polylon object.
|
||||
************************************************************************/
|
||||
* Polygon object.
|
||||
*/
|
||||
#include "xfdrawpolygon.hxx"
|
||||
|
||||
XFDrawPolygon::XFDrawPolygon()
|
||||
|
@@ -144,12 +144,12 @@ public:
|
||||
void SetIndexType(enumXFIndex type);
|
||||
|
||||
/**
|
||||
* @descr Add index templaet entry.
|
||||
* @descr Add index template entry.
|
||||
*/
|
||||
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);
|
||||
|
||||
|
@@ -105,7 +105,7 @@ public:
|
||||
or if you set the format to 'a', then the output would be:
|
||||
a item1
|
||||
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:
|
||||
一 item1
|
||||
二 item2
|
||||
|
@@ -112,7 +112,7 @@ public:
|
||||
/**
|
||||
* @descr set the paragraph default font.
|
||||
* @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);
|
||||
|
||||
|
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# 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
|
||||
# $BOOST_ROOT environment variable. Further documentation is available at
|
||||
# <http://randspringer.de/boost/index.html>.
|
||||
|
@@ -3,7 +3,7 @@
|
||||
* which varied adaptively according to the social information.
|
||||
*
|
||||
* 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
|
||||
* Xiaofeng Xie Jun 24, 2003 Created
|
||||
|
@@ -28,7 +28,7 @@ package net.adaptivebox.goodness;
|
||||
|
||||
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) {
|
||||
for (int i=0; i<fit1.length; i++) {
|
||||
|
@@ -76,7 +76,7 @@ public class SCAgent {
|
||||
public SearchPoint generatePoint() {
|
||||
//generate a new point
|
||||
generatePoint(trailPoint);
|
||||
//evalute the generated point
|
||||
//evaluete the generated point
|
||||
problemEncoder.evaluate(trailPoint);
|
||||
return trailPoint;
|
||||
}
|
||||
|
Reference in New Issue
Block a user