Kaydet (Commit) 563fe608 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Christian Lohmaier

Fix typos

Change-Id: I5195d13b351c0eebad1eae901f7ce8408a9e5c92
Reviewed-on: https://gerrit.libreoffice.org/57028
Tested-by: Jenkins
Reviewed-by: 's avatarChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>
üst 480ac84f
......@@ -237,7 +237,7 @@ public class LocalOfficeWindow
* Returns an Any containing a sequences of com.sun.star.beans.NamedValue. One NamedValue
* contains the name "WINDOW" and the value is a Long representing the window handle.
* The second NamedValue has the name "XEMBED" and the value is true, when the XEmbed
* protocol shall be used fore embedding the native Window.
* protocol shall be used for embedding the native Window.
*/
protected Any getWrappedWindowHandle()
{
......
......@@ -584,7 +584,7 @@ void SvxCharacterMap::SetCharFont( const vcl::Font& rFont )
if (aTmp.GetFamilyName() == "StarSymbol" && m_xFontLB->find_text(aTmp.GetFamilyName()) == -1)
{
//if for some reason, like font in an old document, StarSymbol is requested and its not available, then
//if for some reason, like font in an old document, StarSymbol is requested and it's not available, then
//try OpenSymbol instead
aTmp.SetFamilyName("OpenSymbol");
}
......
......@@ -388,7 +388,7 @@ namespace dbaui
for (SvTreeListEntry* pAdjust = m_pIndexList->First(); pAdjust; pAdjust = m_pIndexList->Next(pAdjust))
{
Indexes::const_iterator aAfterInsertPos = m_pIndexes->find(m_pIndexList->GetEntryText(pAdjust));
OSL_ENSURE(aAfterInsertPos != m_pIndexes->end(), "DbaIndexDialog::OnNewIndex: problems with on of the entries!");
OSL_ENSURE(aAfterInsertPos != m_pIndexes->end(), "DbaIndexDialog::OnNewIndex: problems with one of the entries!");
pAdjust->SetUserData(reinterpret_cast< void* >(sal_Int32(aAfterInsertPos - m_pIndexes->begin())));
}
......@@ -460,7 +460,7 @@ namespace dbaui
for (SvTreeListEntry* pAdjust = m_pIndexList->First(); pAdjust; pAdjust = m_pIndexList->Next(pAdjust))
{
Indexes::const_iterator aAfterDropPos = m_pIndexes->find(m_pIndexList->GetEntryText(pAdjust));
OSL_ENSURE(aAfterDropPos != m_pIndexes->end(), "DbaIndexDialog::OnDropIndex: problems with on of the remaining entries!");
OSL_ENSURE(aAfterDropPos != m_pIndexes->end(), "DbaIndexDialog::OnDropIndex: problems with one of the remaining entries!");
pAdjust->SetUserData(reinterpret_cast< void* >(sal_Int32(aAfterDropPos - m_pIndexes->begin())));
}
......
......@@ -562,7 +562,7 @@ static sal_Bool isHiDPI(struct splash* splash)
return sal_False;
pValStr = XGetDefault(splash->display, "Xft", "dpi");
/* if its too old to have this, assume its not hidpi */
/* if it's too old to have this, assume it's not hidpi */
if (!pValStr)
return sal_False;
......
......@@ -728,7 +728,7 @@ namespace drawinglayer
Wrote an eMail to FS, he is on vacation currently. I see no reason why not to move
that stuff to somewhere else, maybe tools or svtools ?!? We will see...
Moved to toolkit, so I have to link against it. I tried VCL first, but it did
not work since VCLUnoHelper::CreateFont is unresolved in VCL (!). Other then the name
not work since VCLUnoHelper::CreateFont is unresolved in VCL (!). Other than the name
may imply, it is defined in toolkit (!). Since toolkit is linked against VCL itself,
the lowest movement plane is toolkit.
Checked form control export, it works well. Done.
......
......@@ -104,7 +104,7 @@ namespace dbp
);
virtual ~OControlWizard() override;
// make the some base class methods public
// make the same base class methods public
using OControlWizard_Base::travelNext;
public:
......
......@@ -207,7 +207,7 @@ void JobData::setEvent( const OUString& sEvent ,
setAlias(sAlias);
SolarMutexGuard g;
// take over the new information - which differ against set on of method setAlias()!
// take over the new information - which differ against set one of method setAlias()!
m_sEvent = sEvent;
m_eMode = E_EVENT;
}
......
......@@ -36,7 +36,7 @@ public:
const ::rtl::OUString& rsApplication,
const ::rtl::OUString& rsContext);
/** When two contexts are matched against each other then
/** When two contexts are matched against each other, then
application or context name may have the wildcard value 'any'.
In order to prefer matches without wildcards over matches with
wildcards we introduce a integer evaluation for matches.
......
......@@ -26,7 +26,7 @@ class SfxBroadcaster;
class SfxHint;
//StartListening duplicate handling options
//Prevent only adds the listener if its not already added
//Prevent only adds the listener if it's not already added
//Allow allows duplicate listeners
//Unexpected, the default, is for the usual case where the
//listener should only be added once and duplicates are
......
......@@ -135,7 +135,7 @@ public:
bool operator == (const EnumContext& rOther);
bool operator != (const EnumContext& rOther);
/** When two contexts are matched against each other then
/** When two contexts are matched against each other, then
application or context name may have the wildcard value 'any'.
In order to prefer matches without wildcards over matches with
wildcards we introduce a integer evaluation for matches.
......
......@@ -61,7 +61,7 @@ namespace io_stm {
* OMarkableOutputStream.
*
* This object allows to set marks in an outputstream. It is allowed to jump back to the marks and
* rewrite the some bytes.
* rewrite the same bytes.
*
* The object must buffer the data since the last mark set. Flush will not
* have any effect. As soon as the last mark has been removed, the object may write the data
......
......@@ -256,7 +256,7 @@ XMultiPropertySet
* then the argument <em>id</em> has to be a String that equals the name of
* the member variable that holds the Property's value.
* Override this method if you want to implement your own mapping from Property objects to ids or
* if you need ids of a type other then String.
* if you need ids of a type other than String.
* Then you also need to override {@link #initMappings initMappings} and {@link #getPropertyId getPropertyId}.
* @param prop The Property object that is being assigned an id.
* @param id The object which identifies the storage used for the property's value.
......
......@@ -368,7 +368,7 @@ void SAL_CALL
{
bDisposing = true;
//! its too late to save the options here!
//! it's too late to save the options here!
// (see AppExitListener for saving)
//aOpt.Save(); // save (possible) changes before exiting
......
......@@ -137,7 +137,7 @@ public class ProcessHandler
/**
* Creates instance with specified external command which
* will be executed in the some work directory and
* will be executed in the same work directory and
*
* @param cmdLine the command to be executed
* @param log log stream where debug info and output
......
......@@ -87,7 +87,7 @@ public class ScChartObj extends TestCase {
/**
* Creating a TestEnvironment for the interfaces to be tested.
* Retrieves a collection of spreadsheets from a document
* and takes one of them. Inserts some values into the cells of the some cell
* and takes one of them. Inserts some values into the cells of the same cell
* range address. Adds the chart that using the data from the cells of this
* cell range address. New chart is the instance of
* the service <code>com.sun.star.table.TableChart</code>.
......
......@@ -88,7 +88,7 @@ public class ScChartsObj extends TestCase {
/**
* Creating a TestEnvironment for the interfaces to be tested.
* Retrieves a collection of spreadsheets from a document
* and takes one of them. Inserts some values into the cells of the some cell
* and takes one of them. Inserts some values into the cells of the same cell
* range address. Obtains the collection of the charts using the interface
* <code>XTableChartsSupplier</code>. Creates and adds the chart that using
* the data from the cells of this cell range address. Collection of
......
......@@ -156,7 +156,7 @@ public class ChXDiagram extends TestCase {
/**
* Creating a TestEnvironment for the interfaces to be tested.
* Retrieves a collection of spreadsheets from a document
* and takes one of them. Inserts some values into the cells of the some cell
* and takes one of them. Inserts some values into the cells of the same cell
* range address. Adds and retrieves the chart that using the data from
* the cells of this cell range address. Obtains the chart document which is
* embedded into the retrieved chart using the interface
......
......@@ -3928,15 +3928,15 @@ ScVbaRange::getRowHeight()
}
// if any row's RowHeight in the
// range is different from any other then return NULL
// range is different from any other, then return NULL
RangeHelper thisRange( mxRange );
table::CellRangeAddress thisAddress = thisRange.getCellRangeAddressable()->getRangeAddress();
sal_Int32 nStartRow = thisAddress.StartRow;
sal_Int32 nEndRow = thisAddress.EndRow;
sal_uInt16 nRowTwips = 0;
// #TODO probably possible to use the SfxItemSet ( and see if
// SfxItemState::DONTCARE is set ) to improve performance
// #TODO probably possible to use the SfxItemSet (and see if
// SfxItemState::DONTCARE is set) to improve performance
// #CHECKME looks like this is general behaviour not just row Range specific
// if ( mbIsRows )
ScDocShell* pShell = getScDocShell();
......
......@@ -117,7 +117,7 @@ void SAL_CALL BasicViewFactory::disposing()
// Release the view shell container. At this point no one other than us
// should hold references to the view shells (at the moment this is a
// trivial requirement, because no one other then us holds a shared
// trivial requirement, because no one other than us holds a shared
// pointer).
// ViewShellContainer::const_iterator iView;
for (iView=mpViewShellContainer->begin(); iView!=mpViewShellContainer->end(); ++iView)
......
......@@ -127,7 +127,7 @@ public:
used by the SFX as factories. They only set the initial pane
configuration, nothing more.
So what we do here in essence is to return on of the
So what we do here in essence is to return one of the
ViewShellFactoryIds that can be used to select the factory that
creates the ViewShellBase subclass with the initial pane
configuration that has in the center pane a view shell of the same
......
......@@ -553,7 +553,7 @@ void SlideSorterViewShell::WriteFrameViewData()
mpFrameView->SetSelectedPage((pActualPage->GetPageNum()- 1) / 2);
// else
// The slide sorter is not expected to switch the current page
// other then by double clicks. That is handled separately.
// other than by double clicks. That is handled separately.
}
else
{
......
......@@ -2309,7 +2309,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co
{
// current cell is outside the selection
if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner
if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Upper)
{
......@@ -2322,7 +2322,7 @@ void ImplApplyBoxItem( CellPosFlag nCellPosFlags, const SvxBoxItem* pBoxItem, co
rNewFrame.SetLine( nullptr, SvxBoxItemLine::TOP );
}
}
else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner
else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Before)
{
......@@ -2395,7 +2395,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL
{
if (nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After|CellPosFlag::Upper|CellPosFlag::Lower))
{
if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner
if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Upper)
{
......@@ -2408,7 +2408,7 @@ static void ImplApplyBorderLineItem( CellPosFlag nCellPosFlags, const SvxBorderL
ImplSetLinePreserveColor( rNewFrame, pBorderLineItem, SvxBoxItemLine::TOP );
}
}
else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner
else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Before)
{
......@@ -2941,14 +2941,14 @@ void lcl_MergeCommonBorderAttr(LinesState& rLinesState, const SvxBoxItem& rCellB
{
// current cell is outside the selection
if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if its not any corner
if (!(nCellPosFlags & (CellPosFlag::Before|CellPosFlag::After))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Upper)
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetBottom(), SvxBoxItemLine::TOP, SvxBoxInfoItemValidFlags::TOP);
else if (nCellPosFlags & CellPosFlag::Lower)
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetTop(), SvxBoxItemLine::BOTTOM, SvxBoxInfoItemValidFlags::BOTTOM);
}
else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if its not any corner
else if (!(nCellPosFlags & (CellPosFlag::Upper|CellPosFlag::Lower))) // check if it's not any corner
{
if (nCellPosFlags & CellPosFlag::Before)
lcl_MergeBorderLine(rLinesState, rCellBoxItem.GetRight(), SvxBoxItemLine::LEFT, SvxBoxInfoItemValidFlags::LEFT);
......
......@@ -1865,7 +1865,7 @@ void SvxColorWindow::SelectEntry(const NamedColor& rNamedColor)
// try recently used
if (!bFoundColor)
bFoundColor = SelectValueSetEntry(mpRecentColorSet, rColor);
// if its not there, add it there now to the end of the recently used
// if it's not there, add it there now to the end of the recently used
// so its available somewhere handy, but not without trashing the
// whole recently used
if (!bFoundColor)
......@@ -1906,7 +1906,7 @@ void ColorWindow::SelectEntry(const NamedColor& rNamedColor)
// try recently used
if (!bFoundColor)
bFoundColor = SelectValueSetEntry(mxRecentColorSet.get(), rColor);
// if its not there, add it there now to the end of the recently used
// if it's not there, add it there now to the end of the recently used
// so its available somewhere handy, but not without trashing the
// whole recently used
if (!bFoundColor)
......
......@@ -91,7 +91,7 @@ namespace sw
}
SvtBroadcaster& GetNotifier() { return m_aNotifier; }
};
/// refactoring out the some of the more sane SwClient functionality
/// refactoring out the same of the more sane SwClient functionality
class SW_DLLPUBLIC WriterListener
{
friend class ::SwModify;
......
......@@ -500,7 +500,7 @@ void SwHTMLWrtTable::OutTableCells( SwHTMLWriter& rWrt,
const SwWriteTableCells& rCells,
const SvxBrushItem *pBrushItem ) const
{
// If the line contains more the one cell and all cells have the some
// If the line contains more the one cell and all cells have the same
// alignment, then output the VALIGN at the line instead of the cell.
sal_Int16 eRowVertOri = text::VertOrientation::NONE;
if( rCells.size() > 1 )
......
......@@ -24,7 +24,7 @@ unopkg \- LibreOffice Extension Manager
LibreOffice is a fully featured office suite for the daily use with all
features you would normally expect in an office suite.
There exists many LibreOffice extensions all over the word. For example, see
There exists many LibreOffice extensions all over the world. For example, see
\fBhttp://extensions.libreoffice.org/\fR
This tool allows managing the extensions from the command line.
......
......@@ -1418,7 +1418,7 @@ bool checkSeek(SvStream &rSt, sal_uInt64 nOffset)
return (nOffset <= nMaxSeek && rSt.Seek(nOffset) == nOffset);
}
//STREAM_SEEK_TO_END in the some of the Seek backends is special cased to be
//STREAM_SEEK_TO_END in some of the Seek backends is special cased to be
//efficient, in others e.g. SotStorageStream it's really horribly slow, and in
//those this should be overridden
sal_uInt64 SvStream::remainingSize()
......
......@@ -316,7 +316,7 @@ ReadState XBMReader::ReadXBM( Graphic& rGraphic )
bStatus = false;
//xbms are a minimum of one character per 8 pixels, so if the file isn't
//even that long, its not all there
//even that long, it's not all there
if (rIStm.remainingSize() < (static_cast<sal_uInt64>(nWidth) * nHeight) / 8)
bStatus = false;
......
......@@ -29,7 +29,7 @@
#define XPMTEMPBUFSIZE 0x00008000
#define XPMSTRINGBUF 0x00008000
#define XPMIDENTIFIER 0x00000001 // mnIdentifier includes on of the six phases
#define XPMIDENTIFIER 0x00000001 // mnIdentifier includes one of the six phases
#define XPMDEFINITION 0x00000002 // the XPM format consists of
#define XPMVALUES 0x00000003
#define XPMCOLORS 0x00000004
......
......@@ -6793,7 +6793,7 @@ void PDFWriterImpl::drawLayout( SalLayout& rLayout, const OUString& rText, bool
aAlignOffset = aRotScale.transform( aAlignOffset );
/* #159153# do not emit an empty glyph vector; this can happen if e.g. the original
string contained only on of the UTF16 BOMs
string contained only one of the UTF16 BOMs
*/
if( ! aGlyphs.empty() )
{
......
......@@ -455,7 +455,7 @@ void OutputDevice::DrawComplexGradient( const tools::Rectangle& rRect,
assert(!is_double_buffered_window());
// Determine if we output via Polygon or PolyPolygon
// For all rasteroperations other then Overpaint always use PolyPolygon,
// For all rasteroperations other than Overpaint always use PolyPolygon,
// as we will get wrong results if we output multiple times on top of each other.
// Also for printers always use PolyPolygon, as not all printers
// can print polygons on top of each other.
......@@ -799,7 +799,7 @@ void OutputDevice::DrawComplexGradientToMetafile( const tools::Rectangle& rRect,
assert(!is_double_buffered_window());
// Determine if we output via Polygon or PolyPolygon
// For all rasteroperations other then Overpaint always use PolyPolygon,
// For all rasteroperations other than Overpaint always use PolyPolygon,
// as we will get wrong results if we output multiple times on top of each other.
// Also for printers always use PolyPolygon, as not all printers
// can print polygons on top of each other.
......
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