Fix typos
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
parent
f82e642407
commit
1a8915ef83
@ -323,7 +323,7 @@ namespace basegfx
|
||||
rRotate = atan2(aUnitVecY.getY(), aUnitVecY.getX()) - M_PI_2;
|
||||
}
|
||||
|
||||
// one or both unit vectors do not extist, determinant is zero, no decomposition possible.
|
||||
// one or both unit vectors do not exist, determinant is zero, no decomposition possible.
|
||||
// Eventually used rotations or shears are lost
|
||||
return false;
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ namespace basegfx
|
||||
namespace trapezoidhelper
|
||||
{
|
||||
|
||||
// helper class to hold a simple ege. This is only used for horizontal edges
|
||||
// helper class to hold a simple edge. This is only used for horizontal edges
|
||||
// currently, thus the YPositions will be equal. I did not create a special
|
||||
// class for this since holdingthe pointers is more effective and also can be
|
||||
// used as baseclass for the traversing edges
|
||||
|
@ -53,7 +53,7 @@ void TitleDialogData::readFromModel( const uno::Reference< frame::XModel>& xChar
|
||||
this->aPossibilityList[5]=aAxisPossibilityList[3];//secondary x axis title
|
||||
this->aPossibilityList[6]=aAxisPossibilityList[4];//secondary y axis title
|
||||
|
||||
//find out which title exsist and get their text
|
||||
//find out which title exists and get their text
|
||||
//main title:
|
||||
for( sal_Int32 nTitleIndex = static_cast< sal_Int32 >( TitleHelper::TITLE_BEGIN);
|
||||
nTitleIndex < static_cast< sal_Int32 >( TitleHelper::NORMAL_TITLE_END );
|
||||
|
@ -723,7 +723,7 @@ bool ODbTypeWizDialogSetup::SaveDatabaseDocument()
|
||||
InteractiveIOException aRequest;
|
||||
aRequest.Classification = InteractionClassification_ERROR;
|
||||
if ( aError.isExtractableTo( ::cppu::UnoType< IOException >::get() ) )
|
||||
// assume savint the document faile
|
||||
// assume saving the document failed
|
||||
aRequest.Code = IOErrorCode_CANT_WRITE;
|
||||
else
|
||||
aRequest.Code = IOErrorCode_GENERAL;
|
||||
|
@ -305,7 +305,7 @@ namespace dbaui
|
||||
// disposes the connection associated with the given entry (which must represent a data source)
|
||||
void disposeConnection( SvTreeListEntry* _pDSEntry );
|
||||
|
||||
/// flushs and disposes the given connection, and de-registers as listener
|
||||
/// flushes and disposes the given connection, and de-registers as listener
|
||||
void impl_releaseConnection( SharedConnection& _rxConnection );
|
||||
|
||||
/** close the connection (and collapse the list entries) of the given list entries
|
||||
|
@ -594,7 +594,7 @@ bool OTableEditorCtrl::SaveModified()
|
||||
|
||||
switch( nColId )
|
||||
{
|
||||
// Fieled type
|
||||
// Field type
|
||||
case FIELD_TYPE:
|
||||
{
|
||||
// Reset the type
|
||||
|
@ -193,7 +193,7 @@ public:
|
||||
Return the download URLs from the update information.
|
||||
|
||||
Because the <code><update-download></code> and the <code><update-website></code>
|
||||
elements are mutually exclusive one may need to determine exacty if the element
|
||||
elements are mutually exclusive one may need to determine exactly if the element
|
||||
was provided.
|
||||
|
||||
@return
|
||||
|
@ -2368,7 +2368,7 @@ EditPaM ImpEditEngine::DeleteLeftOrRight( const EditSelection& rSel, sal_uInt8 n
|
||||
}
|
||||
}
|
||||
|
||||
// ConnectParagraphs not enoguh for different Nodes when
|
||||
// ConnectParagraphs not enough for different Nodes when
|
||||
// DELMODE_RESTOFCONTENT.
|
||||
if ( ( nDelMode == DELMODE_RESTOFCONTENT ) || ( aDelStart.GetNode() == aDelEnd.GetNode() ) )
|
||||
return ImpDeleteSelection( EditSelection( aDelStart, aDelEnd ) );
|
||||
|
@ -359,7 +359,7 @@ bool SvxSpellWrapper::SpellNext( )
|
||||
}
|
||||
else if( bReverse == bStartChk ) //For a change of direction, an area can
|
||||
{ // be processed during certain circumstances
|
||||
if( bStartChk ) // If the firdt part is spell checked in backwards
|
||||
if( bStartChk ) // If the first part is spell checked in backwards
|
||||
bEndDone = true; // and this is reversed in the process, then
|
||||
else // then the end part is processed (and vice-versa).
|
||||
bStartDone = true;
|
||||
|
@ -275,7 +275,7 @@ namespace pcr
|
||||
@precond
|
||||
we're inspecting (sub) database form
|
||||
@return
|
||||
<TRUE/> if and only if the user successfully eneter master and slave fields
|
||||
<TRUE/> if and only if the user successfully enter master and slave fields
|
||||
*/
|
||||
bool impl_dialogLinkedFormFields_nothrow( ::osl::ClearableMutexGuard& _rClearBeforeDialog ) const;
|
||||
|
||||
|
@ -300,7 +300,7 @@
|
||||
</w:right>
|
||||
</xsl:if>
|
||||
</w:tcMar>
|
||||
<!-- the following code is to get the cell borders if they exsits Gary.Yang-->
|
||||
<!-- the following code is to get the cell borders if they exists -->
|
||||
<xsl:variable name="border-top" select="$cell-style-properties/@fo:border-top | $cell-style-properties/@fo:border"/>
|
||||
<xsl:variable name="border-bottom" select="$cell-style-properties/@fo:border-bottom | $cell-style-properties/@fo:border"/>
|
||||
<xsl:variable name="border-left" select="$cell-style-properties/@fo:border-left | $cell-style-properties/@fo:border"/>
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
/**
|
||||
set the properties from the submission element
|
||||
that control aspects of the serialization
|
||||
eachs serialization may support individual properties
|
||||
each serialization may support individual properties
|
||||
*/
|
||||
void setProperties(const css::uno::Sequence< css::beans::NamedValue >& props)
|
||||
{
|
||||
|
@ -281,7 +281,7 @@ IMPL_LINK_NOARG(CloseDispatcher, impl_asyncCallback)
|
||||
|
||||
// Analyze the environment a first time.
|
||||
// If we found some special cases, we can
|
||||
// make some decisions erliar!
|
||||
// make some decisions erlier!
|
||||
css::uno::Reference< css::frame::XFramesSupplier > xDesktop( css::frame::Desktop::create(xContext), css::uno::UNO_QUERY_THROW);
|
||||
FrameListAnalyzer aCheck1(xDesktop, xCloseFrame, FrameListAnalyzer::E_HELP | FrameListAnalyzer::E_BACKINGCOMPONENT);
|
||||
|
||||
|
@ -1081,7 +1081,7 @@ void SAL_CALL Desktop::disposing()
|
||||
@short add/remove listener for dispose events
|
||||
@descr Add an event listener to this object, if you wish to get information
|
||||
about our dying!
|
||||
You must releas ethis listener reference during your own disposing() method.
|
||||
You must release this listener reference during your own disposing() method.
|
||||
|
||||
@attention Our container is threadsafe himeslf. So we don't need any lock here.
|
||||
@param "xListener", reference to valid listener. We don't accept invalid values!
|
||||
|
@ -466,7 +466,7 @@ void NewToolbarController::functionExecuted( const OUString &rCommand )
|
||||
popup menu of this control, we return sal_True. Otherwhise we return sal_False.
|
||||
Further we return a fallback URL, in case we have to return sal_False. Because
|
||||
the outside code must select a valid item of the popup menu every time ...
|
||||
and we define it here. By the way this m ethod was written to handle
|
||||
and we define it here. By the way this method was written to handle
|
||||
error situations gracefully. E.g. it can be called during creation time
|
||||
but then we have no valid menu. For this case we know another fallback URL.
|
||||
Then we return the private:factory/ URL of the default factory.
|
||||
|
@ -241,7 +241,7 @@ Transliteration_l2u::Transliteration_l2u()
|
||||
|
||||
Transliteration_togglecase::Transliteration_togglecase()
|
||||
{
|
||||
// usually nMappingType must NOT be a combiantion of different flages here,
|
||||
// usually nMappingType must NOT be a combination of different flags here,
|
||||
// but we take care of that problem in Transliteration_body::transliterate above
|
||||
// before that value is used. There we will decide which of both is to be used on
|
||||
// a per character basis.
|
||||
|
@ -55,7 +55,7 @@ class FWE_DLLPUBLIC PreventDuplicateInteraction : private ThreadHelpBase2
|
||||
,public ::cppu::WeakImplHelper1< css::task::XInteractionHandler2 >
|
||||
{
|
||||
|
||||
// structs, types etcp.
|
||||
// structs, types etc.
|
||||
public:
|
||||
|
||||
struct InteractionInfo
|
||||
|
@ -99,7 +99,7 @@ namespace osl
|
||||
inline bool SAL_CALL setPort( sal_Int32 nPort );
|
||||
|
||||
/** Sets the address of the underlying socket address struct in network byte order.
|
||||
@return true on success, false signales falure.
|
||||
@return true on success, false signales failure.
|
||||
*/
|
||||
inline bool SAL_CALL setAddr( const ::rtl::ByteSequence & address );
|
||||
|
||||
|
@ -138,7 +138,7 @@ namespace svt
|
||||
/** smaller form of <method>initialize</method>.<p/>
|
||||
The <method>initialize</method> method is called with a sequence of com.sun.star.uno::Any's,
|
||||
which is split up into the single elements, which are passed to implInitialize. The default implementation
|
||||
tries to exract an com.sun.star.beans::PropertyValue from the value an pass it to the
|
||||
tries to extract an com.sun.star.beans::PropertyValue from the value an pass it to the
|
||||
com.sun.star.beans::XPropertySet interface of the object.
|
||||
*/
|
||||
virtual void implInitialize(const com::sun::star::uno::Any& _rValue);
|
||||
|
@ -36,7 +36,7 @@ enum class SdrSearchOptions
|
||||
WHOLEPAGE = 0x0004, /* Not just the ObjList of PageView */
|
||||
TESTMARKABLE = 0x0008, /* just markable Objekte/Punkte/Handles/... */
|
||||
TESTMACRO = 0x0010, /* Just objects with macro */
|
||||
TESTTEXTEDIT = 0x0020, /* Just TextEdit-enabed objects */
|
||||
TESTTEXTEDIT = 0x0020, /* Just TextEdit-enabled objects */
|
||||
WITHTEXT = 0x0040, /* Just objects with text */
|
||||
TESTTEXTAREA = 0x0080, /* The textarea of objects with text (TextEditHit) */
|
||||
BACKWARD = 0x0100, /* Backwards search */
|
||||
|
@ -1286,7 +1286,7 @@ The following structure describes the permissions used in PDF security
|
||||
the interface to the additional stream
|
||||
|
||||
@param bCompress
|
||||
specifies whether the stream should be flate encoded by PDFWriter or not
|
||||
specifies whether the stream should be flat encoded by PDFWriter or not
|
||||
*/
|
||||
void AddStream( const OUString& rMimeType, PDFOutputStream* pStream, bool bCompress );
|
||||
|
||||
|
@ -111,7 +111,7 @@ public:
|
||||
*
|
||||
* The factory has to create an import context for a <script:event>
|
||||
* element. The context has to call the
|
||||
* EventsImportContext::AddEventValues() method to fave its event
|
||||
* EventsImportContext::AddEventValues() method to save its event
|
||||
* registered with the enclosing element. For events consisting only
|
||||
* of attributes (and an empty element) an easy solution is to handle
|
||||
* all attributes in the CreateContext()-method and return a default
|
||||
|
@ -912,7 +912,7 @@ rtl::Reference<VendorBase> getJREInfoByPath(
|
||||
//Then we need not detect it again
|
||||
//For example, a sun JKD contains <jdk>/bin/java and <jdk>/jre/bin/java.
|
||||
//When <jdk>/bin/java has been found then we need not find <jdk>/jre/bin/java.
|
||||
//Otherwise we would execute java two times for evers JDK found.
|
||||
//Otherwise we would execute java two times for every JDK found.
|
||||
MapIt entry2 = find_if(mapJREs.begin(), mapJREs.end(),
|
||||
SameOrSubDirJREMap(sResolvedDir));
|
||||
if (entry2 != mapJREs.end())
|
||||
@ -1248,7 +1248,7 @@ void addJavaInfosDirScan(
|
||||
if (!arCollectDirs[j].isEmpty())
|
||||
{
|
||||
//usr/java/xxx
|
||||
//Examin every subdirectory
|
||||
//Examining every subdirectory
|
||||
Directory aCollectionDir(usDir2);
|
||||
|
||||
Directory::RC openErr = aCollectionDir.open();
|
||||
|
@ -908,7 +908,7 @@ bool LwpFrameLayout::HasPreviousLinkLayout()
|
||||
return true;
|
||||
}
|
||||
/**
|
||||
* @descr whether current frame is for water mark. Problem maybe exsits by this method, must be tracking
|
||||
* @descr whether current frame is for water mark. Problem maybe exists by this method, must be tracking
|
||||
*
|
||||
*/
|
||||
bool LwpFrameLayout::IsForWaterMark()
|
||||
|
@ -256,7 +256,7 @@ LwpMasterPage::LwpMasterPage(LwpPara* pPara, LwpPageLayout* pLayout)
|
||||
*/
|
||||
bool LwpMasterPage::RegisterMasterPage(LwpFrib* pFrib)
|
||||
{
|
||||
//if there is no other frib after current firb, register master page in starting para of next page
|
||||
//if there is no other frib after current frib, register master page in starting para of next page
|
||||
if(IsNextPageType()&&(!pFrib->HasNextFrib()))
|
||||
{
|
||||
LwpStory* pStory = static_cast<LwpStory*>(m_pPara->GetStoryID().obj().get());
|
||||
|
@ -113,7 +113,7 @@ private:
|
||||
};
|
||||
|
||||
/**
|
||||
* @descr Get flage value
|
||||
* @descr Get flags value
|
||||
*
|
||||
*/
|
||||
inline sal_uInt16 LwpSection::GetFlags()
|
||||
|
@ -32,7 +32,7 @@ public abstract interface IGoodnessCompareEngine {
|
||||
* check the magnitude of two IEncodeEngine
|
||||
* LARGER_THAN: goodness1 is worse than goodness2
|
||||
* LESS_THAN: goodness1 is better than goodness2
|
||||
* EQUAL_TO : goodness1 is eqaul to goodness2
|
||||
* EQUAL_TO : goodness1 is equal to goodness2
|
||||
**/
|
||||
int compare(double[] goodness1, double[] goodness2);
|
||||
}
|
||||
|
@ -138,7 +138,7 @@ public abstract class ComplexTestCase extends Assurance implements ComplexTest
|
||||
try
|
||||
{
|
||||
// some tests are very dynamic in its exceution time so that
|
||||
// a threadTimeOut fials. In this cases the logging mechanisim
|
||||
// a threadTimeOut fails. In this cases the logging mechanisim
|
||||
// is a useful way to detect that a office respective a test
|
||||
// is running and not death.
|
||||
// But way ThreadTimeOut?
|
||||
|
@ -24,7 +24,7 @@ import share.LogWriter;
|
||||
import util.*;
|
||||
|
||||
/**
|
||||
* This class support you to execute some shell commands in a buld environment. At ervery call of commands
|
||||
* This class support you to execute some shell commands in a buld environment. At every call of commands
|
||||
* a build environment was created and the commands will be executed.
|
||||
*
|
||||
*/
|
||||
|
@ -141,7 +141,7 @@ public class ComplexDescGetter extends DescGetter
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a description exntry for the given parameter
|
||||
* Creates a description entry for the given parameter
|
||||
* @param testObjectName the name of the object
|
||||
* @param className the class name of the class to load
|
||||
* @param testMethodNames list of all methods to test
|
||||
|
@ -46,7 +46,7 @@ import com.sun.star.xml.sax.XLocator;
|
||||
* <ul>
|
||||
* <li> <code>'XDocumentHandler.XMLData'</code> (of type <code>String[][]
|
||||
* </code>):the XML data which will be passed to the handler. Each
|
||||
* array of strings corresponds to some handler event. The fisrt
|
||||
* array of strings corresponds to some handler event. The first
|
||||
* string of event array is the type of the event they can have
|
||||
* the following values :
|
||||
* <ul>
|
||||
|
@ -246,7 +246,7 @@ Sequence<sal_Int8> ScTableProtectionImpl::getPasswordHash(
|
||||
Sequence<sal_Int8> aPassHash;
|
||||
|
||||
if (mbEmptyPass)
|
||||
// Flaged as empty.
|
||||
// Flagged as empty.
|
||||
return aPassHash;
|
||||
|
||||
if (!maPassText.isEmpty())
|
||||
|
@ -312,7 +312,7 @@ inline TokenPool& TokenPool::operator <<( const TokenId& rId )
|
||||
inline TokenPool& TokenPool::operator <<( const DefTokenId eId )
|
||||
{
|
||||
OSL_ENSURE( ( sal_uInt32 ) eId + nScTokenOff < 0xFFFF,
|
||||
"-TokenPool::operator<<: enmum too large!" );
|
||||
"-TokenPool::operator<<: enum too large!" );
|
||||
|
||||
if( nP_IdAkt >= nP_Id )
|
||||
if (!GrowId())
|
||||
|
@ -279,7 +279,7 @@ const sal_uInt16 EXC_ID_MSODRAWINGSEL = 0x00ED;
|
||||
|
||||
const sal_uInt16 EXC_ID_TXO = 0x01B6;
|
||||
|
||||
// TXO constants are eqzal to BIFF5 OBJ text object flags
|
||||
// TXO constants are equal to BIFF5 OBJ text object flags
|
||||
|
||||
// Structs and classes ========================================================
|
||||
|
||||
|
@ -3398,7 +3398,7 @@ void ScXMLExport::ExportShape(const uno::Reference < drawing::XShape >& xShape,
|
||||
}
|
||||
|
||||
boost::scoped_ptr< SvXMLElementExport > pDrawA;
|
||||
// enlose shapes with <draw:a> element only if sHlink contains something
|
||||
// enclose shapes with <draw:a> element only if sHlink contains something
|
||||
if ( !sHlink.isEmpty() )
|
||||
{
|
||||
// need to get delete the attributes that are pre-loaded
|
||||
|
@ -478,7 +478,7 @@ IMPL_LINK( ScPrintAreasDlg, Impl_BtnHdl, PushButton*, pBtn )
|
||||
|
||||
// Druckbereich veraendert?
|
||||
|
||||
// first try the list box, if "Entite sheet" is selected
|
||||
// first try the list box, if "Entire sheet" is selected
|
||||
bool bEntireSheet = (pLbPrintArea->GetSelectEntryPos() == SC_AREASDLG_PR_ENTIRE);
|
||||
SfxBoolItem aEntireSheet( FN_PARAM_4, bEntireSheet );
|
||||
|
||||
|
@ -1401,7 +1401,7 @@ table::CellRangeAddress getCellRangeAddressForVBARange( const uno::Any& aParam,
|
||||
break;
|
||||
|
||||
default:
|
||||
throw uno::RuntimeException("Can't extact CellRangeAddress from type" );
|
||||
throw uno::RuntimeException("Can't extract CellRangeAddress from type" );
|
||||
}
|
||||
return lclGetRangeAddress( xRangeParam );
|
||||
}
|
||||
|
@ -1256,7 +1256,7 @@ void ScPrintFunc::DrawBorder( long nScrX, long nScrY, long nScrW, long nScrH,
|
||||
long nEffHeight = nScrH - nTop - nBottom;
|
||||
long nEffWidth = nScrW - nLeft - nRight;
|
||||
if (nEffHeight<=0 || nEffWidth<=0)
|
||||
return; // enmpty
|
||||
return; // empty
|
||||
|
||||
if ( pBackground )
|
||||
{
|
||||
|
@ -198,7 +198,7 @@ void ScTabControl::MouseButtonUp( const MouseEvent& rMEvt )
|
||||
if( nMouseClickPageId == 0 )
|
||||
{
|
||||
// Click in the area next to the existing tabs:
|
||||
// #i70320# if several sheets are selected, deselect all ecxept the current sheet,
|
||||
// #i70320# if several sheets are selected, deselect all except the current sheet,
|
||||
// otherwise add new sheet
|
||||
sal_uInt16 nSlot = ( GetSelectPageCount() > 1 ) ? FID_TAB_DESELECTALL : FID_INS_TABLE;
|
||||
SfxDispatcher* pDispatcher = pViewData->GetViewShell()->GetViewFrame()->GetDispatcher();
|
||||
|
@ -169,7 +169,7 @@ sal_Int32 SAL_CALL AccessiblePageShape::getForeground()
|
||||
return nColor;
|
||||
}
|
||||
|
||||
/** Extract the background color from the Background property of eithe the
|
||||
/** Extract the background color from the Background property of the
|
||||
draw page or its master page.
|
||||
*/
|
||||
sal_Int32 SAL_CALL AccessiblePageShape::getBackground()
|
||||
|
@ -561,7 +561,7 @@ uno::Sequence< beans::PropertyValue > ModelData_Impl::GetPreselectedFilter_Impl(
|
||||
|
||||
if ( !aFilterProps.getLength() )
|
||||
{
|
||||
// the default filter was not faund, use just the first acceptable one
|
||||
// the default filter was not found, use just the first acceptable one
|
||||
aFilterProps = GetDocServiceAnyFilter( nMust, nDont );
|
||||
}
|
||||
}
|
||||
|
@ -1402,7 +1402,7 @@ void SmCursor::FinishEdit(SmNodeList* pLineList,
|
||||
//The most natural thing to do would be to make the line like this:
|
||||
//A + B lsub E + C ^ D
|
||||
//E.g. apply LSUB and LSUP to the first element in pLineList and RSUP
|
||||
//and RSUB to the last eleent in pLineList. But how should this act
|
||||
//and RSUB to the last element in pLineList. But how should this act
|
||||
//for CSUP and CSUB ???
|
||||
//For this reason and because brackets was faster to implement, this solution
|
||||
//have been chosen. It might be worth working on the other solution later...
|
||||
|
@ -111,7 +111,7 @@ bool SfxMiniRecordReader::SetHeader_Impl( sal_uInt32 nHeader )
|
||||
_nEofRec = _pStream->Tell() + SFX_REC_OFS(nHeader);
|
||||
_nPreTag = sal::static_int_cast< sal_uInt8 >(SFX_REC_PRE(nHeader));
|
||||
|
||||
// Errror in cae of End of Record tag
|
||||
// Error in case of End of Record tag
|
||||
if ( _nPreTag == SFX_REC_PRETAG_EOR )
|
||||
{
|
||||
_pStream->SetError( ERRCODE_IO_WRONGFORMAT );
|
||||
|
@ -2055,7 +2055,7 @@ void SdrTextObj::SetObjectItemNoBroadcast(const SfxPoolItem& rItem)
|
||||
// - Edit
|
||||
// - Printing, Saving, Painting in neighboring View while editing
|
||||
// - ModelChanged (e. g. through a neighboring View or rulers) while editing
|
||||
// - FillColorChanged while editin
|
||||
// - FillColorChanged while editing
|
||||
// - and many more...
|
||||
|
||||
|
||||
|
@ -1107,7 +1107,7 @@ DECLARE_OOXMLIMPORT_TEST(testWordArtResizing, "WordArt.docx")
|
||||
{
|
||||
/* The Word-Arts and watermarks were getting resized automatically, It was as if they were
|
||||
getting glued to the fallback geometry(the sdrObj) and were getting bound to the font size.
|
||||
The test-case esures the original height and width of the word-art is not changed while importing*/
|
||||
The test-case ensures the original height and width of the word-art is not changed while importing*/
|
||||
|
||||
uno::Reference<drawing::XDrawPageSupplier> xDrawPageSupplier(mxComponent, uno::UNO_QUERY);
|
||||
uno::Reference<container::XIndexAccess> xDrawPage(xDrawPageSupplier->getDrawPage(), uno::UNO_QUERY);
|
||||
|
@ -384,7 +384,7 @@ bool SwPaM::Find( const SearchOptions& rSearchOpt, bool bSearchInNotes , utl::Te
|
||||
if (aNumberPostits)
|
||||
--aNumberPostits;
|
||||
}
|
||||
//search inside and finsih and put focus back into the doc
|
||||
//search inside, finish and put focus back into the doc
|
||||
if (pPostItMgr->FinishSearchReplace(rSearchOpt,bSrchForward))
|
||||
{
|
||||
bFound = true ;
|
||||
|
@ -2044,7 +2044,7 @@ uno::Sequence< OUString > SAL_CALL SwChartDataSequence::generateLabel(
|
||||
const OUString aCellRange( GetCellRangeName( *pTableFormat, *pTableCrsr ) );
|
||||
OSL_ENSURE( !aCellRange.isEmpty(), "failed to get cell range" );
|
||||
bOk = FillRangeDescriptor( aDesc, aCellRange );
|
||||
OSL_ENSURE( bOk, "falied to get SwRangeDescriptor" );
|
||||
OSL_ENSURE( bOk, "failed to get SwRangeDescriptor" );
|
||||
}
|
||||
if (bOk)
|
||||
{
|
||||
|
@ -4462,7 +4462,7 @@ void SwWW8ImplReader::Read_Relief( sal_uInt16 nId, const sal_uInt8* pData, short
|
||||
{
|
||||
if( *pData )
|
||||
{
|
||||
// not so eays because this is also a toggle attribute!
|
||||
// not so easy because this is also a toggle attribute!
|
||||
// 2 x emboss on -> no emboss !!!
|
||||
// the actual value must be searched over the stack / template
|
||||
|
||||
|
@ -2519,7 +2519,7 @@ void SwXMLTableContext::_MakeTable( SwTableBox *pBox )
|
||||
// space that is available.
|
||||
bMinExtra = true;
|
||||
}
|
||||
// Otherwise, if there is enouth space for every column, every
|
||||
// Otherwise, if there is enough space for every column, every
|
||||
// column gets this space.
|
||||
|
||||
for( colIter = aColumnWidths.begin(); nRelCols > 0UL && colIter < aColumnWidths.end(); ++colIter )
|
||||
|
@ -98,7 +98,7 @@ protected:
|
||||
* Get the proper color between two options, according to current status.
|
||||
*
|
||||
* The return color can be one of the given colors, or a merged one.
|
||||
* It depends on highlight fadind status.
|
||||
* It depends on highlight fading status.
|
||||
*
|
||||
* \param rHighColor color used to highlight status
|
||||
* \param rLowColor color used to normal status
|
||||
|
@ -2608,7 +2608,7 @@ sal_Int32 SAL_CALL SwXTextDocument::getRendererCount(
|
||||
|
||||
// there is some redundancy between those two function calls, but right now
|
||||
// there is no time to sort this out.
|
||||
//TODO: check what exatly needs to be done and make just one function for that
|
||||
//TODO: check what exactly needs to be done and make just one function for that
|
||||
pViewShell->CalcLayout();
|
||||
pViewShell->CalcPagesForPrint( pViewShell->GetPageCount() );
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
||||
|
||||
// CoreFoundation designers, in their wisdom, decided that CFRelease of NULL
|
||||
// cause a Crash, yet few API can return NULL when asking for the creation
|
||||
// of an object, which force us to peper the code with egly if construct everywhere
|
||||
// of an object, which force us to peper the code with ugly if construct everywhere
|
||||
// and open the door to very nasty crash on rare occasion
|
||||
// this macro hide the mess
|
||||
#define SafeCFRelease(a) do { if(a) { CFRelease(a); (a)=NULL; } } while(false)
|
||||
|
@ -133,7 +133,7 @@ struct ImplFrameData
|
||||
InputContext maOldInputContext; //< last set Input Context
|
||||
VclPtr<vcl::Window> mpNextFrame; //< next frame window
|
||||
VclPtr<vcl::Window> mpFirstOverlap; //< first overlap vcl::Window
|
||||
VclPtr<vcl::Window> mpFocusWin; //< focus window (is also set, when frame doesn't have the focous)
|
||||
VclPtr<vcl::Window> mpFocusWin; //< focus window (is also set, when frame doesn't have the focus)
|
||||
VclPtr<vcl::Window> mpMouseMoveWin; //< last window, where MouseMove() called
|
||||
VclPtr<vcl::Window> mpMouseDownWin; //< last window, where MouseButtonDown() called
|
||||
VclPtr<vcl::Window> mpFirstBackWin; //< first overlap-window with saved background
|
||||
|
@ -94,7 +94,7 @@ void MenuButton::dispose()
|
||||
|
||||
IMPL_LINK_NOARG_TYPED(MenuButton, ImplMenuTimeoutHdl, Timer *, void)
|
||||
{
|
||||
// See if Button Tracking is still active, as it could've been cancelled earler
|
||||
// See if Button Tracking is still active, as it could've been cancelled earlier
|
||||
if ( IsTracking() )
|
||||
{
|
||||
if ( !(GetStyle() & WB_NOPOINTERFOCUS) )
|
||||
|
@ -3633,8 +3633,8 @@ void ToolBox::MouseMove( const MouseEvent& rMEvt )
|
||||
++it;
|
||||
}
|
||||
|
||||
// was a new entery selected ?
|
||||
// don't change selection if keyboard selection is active and
|
||||
// was a new entry selected?
|
||||
// don't change selection if keyboard selection is active and
|
||||
// mouse leaves the toolbox
|
||||
if ( nNewPos != mnCurPos && !( HasFocus() && nNewPos == TOOLBOX_ITEM_NOTFOUND ) )
|
||||
{
|
||||
|
@ -33,7 +33,7 @@
|
||||
* in UNO are: FRAME, WINDOW, DIALOG, MENU, TOOLTIP.
|
||||
* It implements the methods of XTopWindowListener and the most important method is windowOpened().
|
||||
* In this method, all the accessible objects (including COM object and Uno objects) are created and
|
||||
* cached into bridge managers, and they are monitored by listeners for later accessible evnet handling.
|
||||
* cached into bridge managers, and they are monitored by listeners for later accessible event handling.
|
||||
*/
|
||||
class AccTopWindowListener
|
||||
: public ::cppu::WeakImplHelper1<com::sun::star::awt::XTopWindowListener>
|
||||
|
@ -156,7 +156,7 @@ Dim iNumProperties As Integer, i As Integer
|
||||
pvPropertyValuesArray(i) = pvPropertyValuesArray(i + 1)
|
||||
Next i
|
||||
EndIf
|
||||
' Redimension the array to have one feweer element.
|
||||
' Redimension the array to have one fewer element.
|
||||
Redim Preserve pvPropertyValuesArray(iNumProperties - 2)
|
||||
EndIf
|
||||
|
||||
@ -180,4 +180,4 @@ Dim sName As String, vValue As Variant
|
||||
_PropValuesToStr() = sResult
|
||||
|
||||
End Function ' _PropValuesToStr V1.3.0
|
||||
</script:module>
|
||||
</script:module>
|
||||
|
@ -196,7 +196,7 @@ class XMLSenderFieldImportContext : public XMLTextFieldImportContext
|
||||
protected:
|
||||
// variables for access in subclass
|
||||
bool bFixed;
|
||||
sal_uInt16 nElementToken; /// token for this elment field
|
||||
sal_uInt16 nElementToken; /// token for this element field
|
||||
|
||||
public:
|
||||
TYPEINFO_OVERRIDE();
|
||||
|
@ -63,7 +63,7 @@ void XMLTransformerOOoEventMap_Impl::AddMap( XMLTransformerEventMapEntry *pInit
|
||||
|
||||
if( !insert( aVal ).second )
|
||||
{
|
||||
OSL_FAIL( "duplicate OOo event name extry" );
|
||||
OSL_FAIL( "duplicate OOo event name entry" );
|
||||
}
|
||||
|
||||
++pInit;
|
||||
|
@ -169,7 +169,7 @@ void SAL_CALL EncryptorImpl::setReferenceCount(sal_Int32)
|
||||
throw (Exception, RuntimeException, std::exception)
|
||||
{
|
||||
/*
|
||||
* dummp method, because there is only one reference in
|
||||
* dummy method, because there is only one reference in
|
||||
* encryption, different from signature.
|
||||
* so the referenceNumber is always 1
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user