Fix typos

Change-Id: I4525b43fa823d743b86bf4136c56af35274085e6
Reviewed-on: https://gerrit.libreoffice.org/18995
Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org>
Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
This commit is contained in:
Andrea Gelmini
2015-09-29 22:16:00 +00:00
committed by Joren De Cuyper
parent 79797f8e59
commit 3406ae78a5
15 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -565,7 +565,7 @@ CMM2UnitString(const uno::Any& rAny)
static bool
UnitString2CMM( uno::Any& rAny, const gchar * value )
{
float fValue = 0.0; // pb: dont use double here because of warning on linux
float fValue = 0.0; // pb: don't use double here because of warning on linux
if( 1 != sscanf( value, "%gmm", &fValue ) )
return false;
+1 -1
View File
@@ -579,7 +579,7 @@ void GtkData::Yield( bool bWait, bool bHandleAllCurrentEvents )
blockIdleTimeout = !bWait;
/* #i33212# only enter g_main_context_iteration in one thread at any one
* time, else one of them potentially will never end as long as there is
* another thread in there. Having only one yieldin thread actually dispatch
* another thread in there. Having only one yielding thread actually dispatch
* fits the vcl event model (see e.g. the generic plugin).
*/
bool bDispatchThread = false;
+2 -2
View File
@@ -925,7 +925,7 @@ sal_Int16 SAL_CALL SalGtkFilePicker::execute() throw( uno::RuntimeException, std
uno::Reference < awt::XTopWindowListener > xLifeCycle(pRunDialog);
while( GTK_RESPONSE_NO == btn )
{
btn = GTK_RESPONSE_YES; // we dont want to repeat unless user clicks NO for file save.
btn = GTK_RESPONSE_YES; // we don't want to repeat unless user clicks NO for file save.
gint nStatus = pRunDialog->run();
switch( nStatus )
@@ -1794,7 +1794,7 @@ case_insensitive_filter (const GtkFileFilterInfo *filter_info, gpointer data)
if( !g_ascii_strcasecmp( pFilter, pExtn ) )
bRetval = true;
SAL_INFO( "vcl.gtk", "'" << filter_info->uri << "' match extn '" << pExtn << "' vs '" << pFilter << "' yeilds " << bRetval );
SAL_INFO( "vcl.gtk", "'" << filter_info->uri << "' match extn '" << pExtn << "' vs '" << pFilter << "' yields " << bRetval );
return bRetval;
}
+1 -1
View File
@@ -860,7 +860,7 @@ void UnxFilePicker::checkFilePicker() throw( ::com::sun::star::uno::RuntimeExcep
{
if ( m_nFilePickerPid > 0 )
{
// TODO check if external file picker is runnning
// TODO check if external file picker is running
}
else
{
+1 -1
View File
@@ -1606,7 +1606,7 @@ void WinSalGraphicsImpl::drawPolyLine( sal_uInt32 nPoints, const SalPoint* pPtAr
POINT* pWinPtAry = (POINT*)pPtAry;
// we assume there are at least 2 points (Polyline requres at least 2 point, see MSDN)
// we assume there are at least 2 points (Polyline requires at least 2 point, see MSDN)
// we must paint the endpoint for last line
BOOL bPaintEnd = TRUE;
if ( pWinPtAry[nPoints-2].x == pWinPtAry[nPoints-1].x )
+1 -1
View File
@@ -1498,7 +1498,7 @@ bool WinSalPrinter::StartJob( const OUString* pFileName,
mnError = 0;
mbAbort = FALSE;
// As the Telocom Balloon Fax driver tends to send messages repeatedly
// As the Telecom Balloon Fax driver tends to send messages repeatedly
// we try to process first all, and then insert a dummy message
bool bWhile = TRUE;
int i = 0;
+1 -1
View File
@@ -310,7 +310,7 @@ bool ImplWinFontEntry::AddChunkOfGlyphs(int nGlyphIndex, const WinLayout& rLayou
// Try hard to avoid overlap as we want to be able to use
// individual rectangles for each glyph. The ABC widths don't
// take anti-alising into consideration. Let's hope that leaving
// take anti-aliasing into consideration. Let's hope that leaving
// "extra" space inbetween glyphs will help.
std::vector<int> aDX(nCount);
int totWidth = 0;
@@ -29,7 +29,7 @@ struct IAccessible;
class AccObjectWinManager;
/****************************************************************
AccObjectMangerAgent is used for manaing AccObjects,which encapsulates
AccObjectMangerAgent is used for managing AccObjects, which encapsulates
platform differences,and call AccObjectWinManager for Windows platform. To do for
Linux platform
*****************************************************************/
+1 -1
View File
@@ -93,7 +93,7 @@ STDMETHODIMP CAccTable::get_accessibleAt(long row, long column, IUnknown * * acc
/**
* Gets accessible table caption.
*
* @param accessible the accessible object of table cpation.
* @param accessible the accessible object of table caption.
*/
STDMETHODIMP CAccTable::get_caption(IUnknown * *)
{
@@ -93,7 +93,7 @@ public class ColumnPropertySet
public void assignPropertyValues(PropertyValue[] _aNewColPropertyValues, boolean _bsetDefaultProperties)
{
assignPropertyValues(null /* dont change the name */, _aNewColPropertyValues, _bsetDefaultProperties);
assignPropertyValues(null /* don't change the name */, _aNewColPropertyValues, _bsetDefaultProperties);
}
private void setType(String _sTypeName, Integer precision)
@@ -234,7 +234,7 @@ public class TypeInspector
}
else if (ret.length() == 0)
{
// in case we dont find anything else, we at return a typename
// in case we don't find anything else, we at return a typename
// with the correct class
ret = sDataTypeNames[i];
}
@@ -122,8 +122,8 @@ public class TextDocument
}
catch (Exception e)
{
// TODO: it seems the whole project does not really have an error handling. Other menthods
// seem to generally silence errors, so we can't do anything else here ...
// TODO: it seems the whole project does not really have an error handling. Other methods
// seem to generally silence errors, so we can't do anything else here...
}
if (bShowStatusIndicator)
@@ -167,7 +167,7 @@ class BackgroundsDialog(ImageListDialog):
'''
when instanciating the model, it checks if each image
exists. If it doesnot, it will be removed from
exists. If it doesn't, it will be removed from
the configuration.
This is what this method does...
@param imageName
+1 -1
View File
@@ -518,7 +518,7 @@ class Process(ProcessErrors):
# if two files with the same name
# need to be exported ? So here
# i get a new filename, so I do not
# I get a new filename, so I do not
# overwrite files...
f = self.fileAccess.getNewFile(folder, fn, destExt)
@@ -261,7 +261,7 @@ void MakeBorderLine( sal_Int32 nLineThickness, sal_Int32 nLineToken,
// Map to our border types, we should use of one equal line
// thickness, or one of smaller thickness. If too small we
// can make the defecit up in additional white space or
// can make the deficit up in additional white space or
// object size
::editeng::SvxBorderStyle const nLineStyle(
::editeng::ConvertBorderStyleFromWord(nLineType));