Kaydet (Commit) 133da6ed authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Jens Carl

Fix typos

Change-Id: Ia3e6f17217b837517faa588ea7f2e72dc5aff6aa
Reviewed-on: https://gerrit.libreoffice.org/57767
Tested-by: Jenkins
Reviewed-by: 's avatarJens Carl <j.carl43@gmx.de>
üst 4a627a57
......@@ -57,7 +57,7 @@ void SvxPrepareAutoCorrect( OUString &rOldText, const OUString &rNewText )
// the strings before passing them on to the autocorrect function in
// order that the autocorrect function will hopefully
// works properly with normal words and abbreviations (with trailing '.')
// independ of if they are at the end of the sentence or not.
// independent of if they are at the end of the sentence or not.
//
// rOldText: text to be replaced
// rNewText: replacement text
......
......@@ -517,7 +517,7 @@ void OEditModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
m_xAggregateSet->setPropertyValue(PROPERTY_MAXTEXTLEN, makeAny(nOldTextLen));
// and reset the text
// First we set it to an empty string : Without this the second setPropertyValue would not do anything as it thinks
// we aren't changing the prop (it didn't notify the - implicite - change of the text prop while setting the max text len)
// we aren't changing the prop (it didn't notify the - implicit - change of the text prop while setting the max text len)
// This seems to be a bug with in toolkit's EditControl-implementation.
m_xAggregateSet->setPropertyValue(PROPERTY_TEXT, makeAny(OUString()));
m_xAggregateSet->setPropertyValue(PROPERTY_TEXT, aCurrentText);
......
......@@ -1002,7 +1002,7 @@ ErrCode ScDocShell::DBaseExport( const OUString& rFullFileName, rtl_TextEncoding
// SQL error 22001: String length exceeds field width (after encoding).
bool bEncErr = (nError == 22018);
bool bIsOctetTextEncoding = rtl_isOctetTextEncoding( eCharSet);
OSL_ENSURE( !bEncErr || bIsOctetTextEncoding, "ScDocShell::DBaseExport: encoding error and not an octect textencoding");
OSL_ENSURE( !bEncErr || bIsOctetTextEncoding, "ScDocShell::DBaseExport: encoding error and not an octet textencoding");
SCCOL nDocCol = nFirstCol;
const sal_Int32* pColTypes = aColTypes.getConstArray();
const sal_Int32* pColLengths = aColLengths.getConstArray();
......
......@@ -4728,7 +4728,7 @@ void ScOutputData::DrawRotated(bool bPixelToLogic)
double nAbsCos = fabs( nCos );
double nAbsSin = fabs( nSin );
// adjust witdh of papersize for height of text
// adjust width of papersize for height of text
int nSteps = 5;
while (nSteps > 0)
{
......
......@@ -153,7 +153,7 @@ namespace sfx2
Reference< XInterface > xInstance( (*m_pComponentFactoryFunc)( m_xServiceFactory, nCreationFlags ) );
// to mimic the bahaviour of the default factory's createInstanceWithArguments, we initialize
// to mimic the behaviour of the default factory's createInstanceWithArguments, we initialize
// the object with the given arguments, stripped by the three special ones
Sequence< Any > aStrippedArguments( _rArguments.getLength() );
Any* pStrippedArgs = aStrippedArguments.getArray();
......
......@@ -571,7 +571,7 @@ const PPDParser* PPDParser::getParser( const OUString& rFile )
if( pNewParser )
{
// this may actually be the SGENPRT parser,
// so ensure uniqueness here (but don't remove lest we delete us!)
// so ensure uniqueness here (but don't remove last we delete us!)
if (std::find_if(
rPPDCache.aAllParsers.begin(),
rPPDCache.aAllParsers.end(),
......
......@@ -46,7 +46,7 @@ HBITMAP WinSalVirtualDevice::ImplCreateVirDevBitmap(HDC hDC, long nDX, long nDY,
nBitCount = static_cast<WORD>(GetDeviceCaps(hDC, BITSPIXEL));
// #146839# Don't use CreateCompatibleBitmap() - there seem to
// be build-in limits for those HBITMAPs, at least this fails
// be built-in limits for those HBITMAPs, at least this fails
// rather often on large displays/multi-monitor setups.
BITMAPINFO aBitmapInfo;
aBitmapInfo.bmiHeader.biSize = sizeof( BITMAPINFOHEADER );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment