Fix various typos
This commit is contained in:
@@ -243,7 +243,7 @@ QString QGIRichAnno::convertTextSizes(const QString& inHtml) const
|
||||
QStringList findList;
|
||||
QStringList replList;
|
||||
|
||||
// find each occurence of "font-size:..." and calculate the equivalent size in scene units
|
||||
// find each occurrence of "font-size:..." and calculate the equivalent size in scene units
|
||||
// or CSS pixels
|
||||
int pos = 0;
|
||||
while ((pos = inHtml.indexOf(rxFontSize, pos, &match)) != -1) {
|
||||
|
||||
@@ -310,7 +310,7 @@ void TaskRichAnno::createAnnoFeature()
|
||||
m_annoFeat->X.setValue(Rez::appX(vTemp.x));
|
||||
m_annoFeat->Y.setValue(Rez::appX(vTemp.y));
|
||||
} else {
|
||||
//if we don't have a base featrue, we can't calculate start position, so just put it mid-page
|
||||
//if we don't have a base feature, we can't calculate start position, so just put it mid-page
|
||||
m_annoFeat->X.setValue(m_basePage->getPageWidth()/2.0);
|
||||
m_annoFeat->Y.setValue(m_basePage->getPageHeight()/2.0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user