Fix typos

Change-Id: Icd5b8ad9f175c85ac1d8df644679fab945c0de0e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210373
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2026-09-02 15:33:22 +02:00
committed by Julien Nabet
parent f6df43abda
commit 0974df2160
10 changed files with 21 additions and 21 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ struct PDFPage
// the same for double values
void appendMappedLength( double fLength, OStringBuffer& rBuffer, bool bVertical = true, sal_Int32 nPrecision = 5 ) const;
// appends LineInfo
// returns false if too many dash array entry were created for
// returns false if too many dash array entries were created for
// the implementation limits of some PDF readers
bool appendLineInfo( const LineInfo& rInfo, OStringBuffer& rBuffer ) const;
// appends a horizontal waveline with vertical offset (helper for drawWaveLine)
@@ -279,12 +279,12 @@ CPPUNIT_TEST_FIXTURE(PDFEncryptionTest, testPermsEncryption)
{
// Encrypts file permissions for /Perms entry
// We use a existing encrypted /Perm to validate the decryption and re-encryption
// We use an existing encrypted /Perm to validate the decryption and re-encryption
// algorithm works correctly.
const sal_uInt8 pUserPass[] = { 'T', 'e', 's', 't' };
// U and UE taken from an PDF that was encrypted with "Test" as password
// U and UE taken from a PDF that was encrypted with "Test" as password
std::vector<sal_uInt8> U = parseHex("7BD210807A0277FECC52C261C442F02E1AD62C1A23553348B8F8AF7320"
"DC9978FAB7E65E1BF4CA76F4BE5E6D2AA8C7D5");
std::vector<sal_uInt8> UE
@@ -327,7 +327,7 @@ CPPUNIT_TEST_FIXTURE(PDFEncryptionTest, testPermsEncryption)
CPPUNIT_ASSERT_EQUAL(std::string("fcffffffffffffff54616462bb609a8a"),
comphelper::hashToString(aPermsDecrpyted));
// Check the creating /Perm content from access permissions works correctly
// Check that creating /Perm content from access permissions works correctly
std::vector<sal_uInt8> aPermsCreated = vcl::pdf::createPerms(nExpectedAccessPermisssions, true);
// Last 12 bytes are random, so we shouldn't check those
@@ -500,7 +500,7 @@ CPPUNIT_TEST_FIXTURE(PDFEncryptionTest, testFileEncryption_checkDifferentIV)
}
}
} // end anonymous namespace
} // namespace
CPPUNIT_PLUGIN_IMPLEMENT();
+1 -1
View File
@@ -149,7 +149,7 @@ void loadFromSvg(SvStream& rStream, const OUString& sPath, Bitmap& rBitmap, doub
@param pData
The block of data to copy
@param nStride
The number of bytes in a scanline, must >= (width * nBitCount / 8)
The number of bytes in a scanline, must be >= (width * nBitCount / 8)
@param bReversColors
In case the endianness of pData is wrong, you could reverse colors
*/
+4 -4
View File
@@ -294,7 +294,7 @@ namespace vcl
return;
// prevent WizardTravelSuspension from using this instance
// after will be destructed due to onFinish and async response call
// after it is destructed due to onFinish and async response call
{
WizardTravelSuspension aTravelGuard( *this );
if (!prepareLeaveCurrentState(WizardTypes::eFinish))
@@ -579,8 +579,8 @@ namespace vcl
OSL_ENSURE( pController != nullptr, "WizardMachine::updateTravelUI: no controller for the current page!" );
bool bCanAdvance =
( !pController || pController->canAdvance() ) // the current page allows to advance
&& canAdvance(); // the dialog as a whole allows to advance
( !pController || pController->canAdvance() ) // the current page allows advancing
&& canAdvance(); // the dialog as a whole allows advancing
enableButtons( WizardButtonFlags::NEXT, bCanAdvance );
}
@@ -695,7 +695,7 @@ namespace vcl
return nullptr;
}
} // namespace svt
} // namespace vcl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+5 -5
View File
@@ -76,14 +76,14 @@ public:
// vector with same direction and a length of 1:
DXFVector Unit() const;
// equivalence or net:
// equivalence or not:
bool operator == (const DXFVector & rV) const;
};
//---------------------------- DXFTransform ------------------------------------
// a transformation matrice specialized for our problem
// a transformation matrix specialized for our problem
class DXFTransform {
@@ -104,7 +104,7 @@ public:
DXFTransform(const DXFVector & rExtrusion);
// Transformation "ECS->WCS" via "Entity Extrusion Direction"
// ant the "Arbitrary Axis Algorithm"
// and the "Arbitrary Axis Algorithm"
// (See DXF-Docu from AutoDesk)
DXFTransform(const DXFVector & rViewDir, const DXFVector & rViewTarget);
@@ -127,7 +127,7 @@ public:
bool TransCircleToEllipse(double fRadius, double & rEx, double & rEy) const;
// Attempt to transform a circle (in xy plane) so that it results
// in an aligned ellipse. If the does not work because an ellipse of
// in an aligned ellipse. If this does not work because an ellipse of
// arbitrary position would be created, sal_False is returned.
// (The center point will not be transformed, use Transform(..))
@@ -135,7 +135,7 @@ public:
// Calculates the rotation angle around z-axis (in degrees)
bool Mirror() const;
// Returns sal_True, if the matrice represents a left-handed coordinate system
// Returns sal_True, if the matrix represents a left-handed coordinate system
LineInfo Transform(const DXFLineInfo& aDXFLineInfo) const;
// Transform to LineInfo
+1 -1
View File
@@ -698,7 +698,7 @@ bool PSDReader::ImplReadBody()
if (mbTransparent && m_rPSD.good())
{
// the psd is 24 or 8 bit grafix + alpha channel
// the psd is 24 or 8 bit graphic + alpha channel
nY = nX = 0;
while ( nY < mpFileHeader->nRows )
+2 -2
View File
@@ -100,7 +100,7 @@ bool RASReader::ReadRAS(Graphic & rGraphic)
if (!m_rRAS.good() || nMagicNumber != SUNRASTER_MAGICNUMBER)
return false;
// Kopf einlesen:
// Read header:
mbStatus = ImplReadHeader();
if ( !mbStatus )
@@ -109,7 +109,7 @@ bool RASReader::ReadRAS(Graphic & rGraphic)
std::vector<Color> aPalette;
bool bOk = true;
if ( mnDstBitsPerPix <= 8 ) // pallets pictures
if ( mnDstBitsPerPix <= 8 ) // palette pictures
{
bool bPalette(false);
+1 -1
View File
@@ -124,7 +124,7 @@ ImplSplitSet::ImplSplitSet() :
the upper or lower bound, respectively. Otherwise return the given size
unmodified.
Note that either mnMinSize and/or mnMaxSize can be -1 in which case the
size has not lower or upper bound.
size has no lower or upper bound.
*/
namespace {
tools::Long ValidateSize (const tools::Long nSize, const ImplSplitItem & rItem)
+1 -1
View File
@@ -834,7 +834,7 @@ bool PspSalPrinter::StartJob( const OUString* i_pFileName, const OUString& i_rJo
// either on first page
// or on paper format change - cups does not support multiple paper formats per job (yet?)
// so we need to start a new job to get a new paper format from the printer
// orientation switches (that is switch of height and width) is handled transparently by CUPS
// orientation switches (that is switch of height and width) are handled transparently by CUPS
if( ! xWriter ||
(aNewParm != aLastParm && ! i_pFileName ) )
{
+1 -1
View File
@@ -98,7 +98,7 @@ void WinSalYieldMutex::BeforeReleaseHandler()
if ( GetSalData()->mnAppThreadId != GetCurrentThreadId() )
{
// If we don't call these message, the Output from the
// If we don't call these messages, the Output from the
// Java clients doesn't come in the right order
GdiFlush();
}