Fix various typos

This commit is contained in:
luzpaz
2023-11-30 12:51:10 +00:00
committed by wwmayer
parent d529193f75
commit faef0c6f27
7 changed files with 7 additions and 7 deletions

View File

@@ -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) {

View File

@@ -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);
}