Fix typos

Change-Id: I57ddd4f37138287fce235b10469257c1bcb1efe7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211772
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-10-03 10:12:19 +02:00
committed by Julien Nabet
parent f0bc159124
commit f6b0e1736e
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
// Th current high-level preprocessor structure is: // The current high-level preprocessor structure is:
// //
// if !HAVE_FEATURE_UI // if !HAVE_FEATURE_UI
// => STATIC_SAL_INSTANCE // => STATIC_SAL_INSTANCE
+4 -4
View File
@@ -359,13 +359,13 @@ void PrintDialog::PrintPreviewWindow::preparePreviewBitmap()
// tdf#141761 // tdf#141761
// The display quality of the Preview is pretty ugly when // The display quality of the Preview is pretty ugly when
// FormControls are used. I made a deep-dive why this happens, // FormControls are used. I made a deep-dive why this happens,
// and in principle the reason is the Mteafile::Scale used // and in principle the reason is the Metafile::Scale used
// below. Since Metafile actions are integer, that floating point // below. Since Metafile actions are integer, that floating point
// scale leads to rounding errors that make the lines painting // scale leads to rounding errors that make the lines painting
// the FormControls disappear in the surrounding ClipRegions. // the FormControls disappear in the surrounding ClipRegions.
// That Scale cannot be avoided since the Metafile contains it's // That Scale cannot be avoided since the Metafile contains its
// own SetMapMode commands which *will* be executed on ::Play, // own SetMapMode commands which *will* be executed on ::Play,
// so the ::Scale is the only possibility fr Metafile currently: // so the ::Scale is the only possibility for Metafile currently:
// Giving a Size as parameter in ::Play will *not* work due to // Giving a Size as parameter in ::Play will *not* work due to
// the relativeMapMode that gets created will fail on // the relativeMapMode that gets created will fail on
// ::SetMapMode actions in the Metafile - and FormControls DO // ::SetMapMode actions in the Metafile - and FormControls DO
@@ -393,7 +393,7 @@ void PrintDialog::PrintPreviewWindow::preparePreviewBitmap()
// memory problems, still limit to a useful factor is // memory problems, still limit to a useful factor is
// necessary, also empirically estimated to // necessary, also empirically estimated to
// avoid the quality from collapsing (using a direct // avoid the quality from collapsing (using a direct
// in-between , ceil'd result) // in-between, ceil'd result)
static const double fMaximumQualitySquare(1396221.0); static const double fMaximumQualitySquare(1396221.0);
if(fNewNeededPixels > fMaximumQualitySquare) if(fNewNeededPixels > fMaximumQualitySquare)
@@ -108,7 +108,7 @@ void CertificateChooser::BeforeRun()
// We can't check for personal certificates before raising this dialog, // We can't check for personal certificates before raising this dialog,
// because the mozilla implementation throws a NoPassword exception, // because the mozilla implementation throws a NoPassword exception,
// if the user pressed cancel, and also if the database does not exist! // if the user pressed cancel, and also if the database does not exist!
// But in the later case, the is no password query, and the user is confused // But in the later case, there is no password query, and the user is confused
// that nothing happens when pressing "Add..." in the SignatureDialog. // that nothing happens when pressing "Add..." in the SignatureDialog.
// PostUserEvent( LINK( this, CertificateChooser, Initialize ) ); // PostUserEvent( LINK( this, CertificateChooser, Initialize ) );