Fix typos

Change-Id: I42e6c0c272cd5b83bb2747d938049a64d4b19936
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210443
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
This commit is contained in:
Andrea Gelmini
2026-09-03 08:50:28 +02:00
committed by Julien Nabet
parent 2aa35f1ba1
commit 30cc365def
7 changed files with 42 additions and 42 deletions
@@ -33,12 +33,12 @@ namespace drawinglayer::primitive2d
{
/** GridPrimitive2D class
This primitive is specialized to Grid visualisation. The graphic definition
This primitive is specialized to grid visualization. The graphic definition
(Transform) contains the whole grid area, but will of course be combined
with the visible area (Viewport) when decomposed. Also a resolution-dependent
point reduction is used to not create too much grid visualisation data. This
point reduction is used to not create too much grid visualization data. This
makes this primitive highly view-dependent and it dynamically buffers
the last decomposition dependent from the Viewport used.
the last decomposition depending on the Viewport used.
*/
class DRAWINGLAYER_DLLPUBLIC GridPrimitive2D final : public BufferedDecompositionPrimitive2D
{
@@ -57,11 +57,11 @@ namespace drawinglayer::primitive2d
/// Grid color for single-pixel grid points
basegfx::BColor maBColor;
/// The Bitmap (with transparence) for grid cross points
/// The Bitmap (with transparency) for grid cross points
Bitmap maCrossMarker;
/** the last used object to view transformation and the last Viewport,
used from getDecomposition for decide buffering
used from getDecomposition to decide buffering
*/
basegfx::B2DHomMatrix maLastObjectToViewTransformation;
basegfx::B2DRange maLastViewport;
@@ -44,11 +44,11 @@ namespace drawinglayer::primitive2d
This primitive provides a view-dependent helpline definition. The Helpline
is defined by a line equation (Point and vector) and a style. When the style
is a line, dependent from Viewport the visible part of that Helpline is
is a line, depending on the Viewport the visible part of that Helpline is
constructed. For Point, a cross is constructed. This primitive is highly
view-dependent.
The visualisation uses the two given colors to create a dashed line with
The visualization uses the two given colors to create a dashed line with
the given dash length.
*/
class DRAWINGLAYER_DLLPUBLIC HelplinePrimitive2D final : public BufferedDecompositionPrimitive2D
@@ -65,7 +65,7 @@ namespace drawinglayer::primitive2d
double mfDiscreteDashLength;
/** the last used object to view transformation and the last Viewport,
used from getDecomposition for decide buffering
used from getDecomposition to decide buffering
*/
basegfx::B2DHomMatrix maLastObjectToViewTransformation;
basegfx::B2DRange maLastViewport;
+1 -1
View File
@@ -26,7 +26,7 @@
// class SvxCrossedOutItem -----------------------------------------------
/* [Description]
This item describes, whether and how it is struck out.
This item describes whether and how it is struck out.
*/
class EDITENG_DLLPUBLIC SvxCrossedOutItem final : public SfxEnumItem<FontStrikeout>
+1 -1
View File
@@ -153,6 +153,6 @@ inline constexpr sal_uInt16 EE_ITEMS_END (EE_FEATURE_END);
inline constexpr sal_uInt16 EDITITEMCOUNT (EE_ITEMS_END - EE_ITEMS_START + 1);
#endif // _ INCLUDED_EDITENG_EEITEM_HXX
#endif // INCLUDED_EDITENG_EEITEM_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+2 -2
View File
@@ -89,7 +89,7 @@ public:
ExternalHashMap maReverseExternalHashMap; /// Hash map of ocExternal, AddIn String -> Filter String
FormulaGrammar::Grammar meGrammar; /// Grammar, language and reference convention
sal_uInt16 mnSymbols; /// Count of OpCode symbols
bool mbCore : 1; /// If mapping was setup by core, not filters
bool mbCore : 1; /// If mapping was set up by core, not filters
bool mbEnglish : 1; /// If English symbols and external names
bool mbEnglishLocale : 1; /// If English locale for numbers
@@ -330,7 +330,7 @@ public:
/** Sets the implicit intersection compute flag */
void SetComputeIIFlag(bool bSet) { mbComputeII = bSet; }
/** Sets the matrix flag for the formula*/
/** Sets the matrix flag for the formula */
void SetMatrixFlag(bool bSet) { mbMatrixFlag = bSet; }
void SetPreferLocalNames(bool bSet) { mbPreferLocalNames = bSet; }
+4 -4
View File
@@ -242,14 +242,14 @@ protected:
bool mbFromRangeName :1; // If this array originates from a named expression
bool mbShareable :1; // Whether or not it can be shared with adjacent cells.
bool mbFinalized :1; // Whether code arrays have their final used size and no more tokens can be added.
bool mbDynamicArrayFunction :1; // If a dynamic-array function occurs in the formula.(i.e. UNIQUE, FILTER, SORT)
bool mbDynamicArrayFunction :1; // If a dynamic-array function occurs in the formula (i.e. UNIQUE, FILTER, SORT)
protected:
void Assign( const FormulaTokenArray& );
void Assign( sal_uInt16 nCode, FormulaToken **pTokens );
void Move( FormulaTokenArray&& );
/// Also used by the compiler. The token MUST had been allocated with new!
/// Also used by the compiler. The token MUST have been allocated with new!
FormulaToken* Add( FormulaToken* );
public:
@@ -259,7 +259,7 @@ public:
CODE_AND_RPN ///< replacement in pCode and pRPN
};
/** Also used by the compiler. The token MUST had been allocated with new!
/** Also used by the compiler. The token MUST have been allocated with new!
@param nOffset
Absolute offset in pCode of the token to be replaced.
@param eMode
@@ -324,7 +324,7 @@ public:
return pCode[nIdx];
}
/// Peek at nIdx-1 if not out of bounds, decrements nIdx if successful. Returns NULL if not.
/// Peek at nIdx-1 if not out of bounds, decrements nIdx if successful. Returns nullptr if not.
FormulaToken* PeekPrev( sal_uInt16 & nIdx ) const;
/// Return the opcode at pCode[nIdx-1], ocNone if nIdx-1 is out of bounds
+26 -26
View File
@@ -63,8 +63,8 @@ enum ELoadState
};
/*-************************************************************************************************************
@short implement the topframe of frame tree
@descr This is the root of the frame tree. The desktop has no window, is not visible but he is the logical
@short implements the top frame of the frame tree
@descr This is the root of the frame tree. The desktop has no window, is not visible but it is the logical
"masternode" to build the hierarchy.
@implements XInterface
@@ -134,20 +134,20 @@ class FWK_DLLPUBLIC Desktop final : private cppu::BaseMutex,
/**
@interface XDesktop
@short try to shutdown these desktop environment.
@short try to shut down this desktop environment.
@descr Will try to close all frames. If at least one frame could
not be closed successfully termination will be stopped.
Registered termination listener will be taken into account
also. As special feature some of our registered listener
are well known by its UNO implementation name. They are handled
different to all other listener.
Registered termination listeners will be taken into account
also. As a special feature some of our registered listeners
are well known by their UNO implementation name. They are handled
differently to all other listeners.
Btw: Desktop.terminate() was designed in the past to be used
within an UI based environment. So it's allowed e.g. to
within a UI based environment. So it's allowed e.g. to
call XController.suspend() here. If UI isn't an option ... please
use XCloseable.close() at these desktop implementation.
use XCloseable.close() at this desktop implementation.
... if it will be supported in the future .-))
@seealso XTerminateListener
@@ -166,10 +166,10 @@ class FWK_DLLPUBLIC Desktop final : private cppu::BaseMutex,
@short add a listener for termination events
@descr Additional to adding normal listener these method was implemented special.
@descr In addition to adding normal listeners this method was implemented specially.
Every listener will be asked for its uno implementation name.
Some of them are well known... and the corresponding listener won't be added
to the container of "normal listener". Those listener will be set as special
to the container of "normal listeners". Those listeners will be set as a special
member.
see e.g. member m_xSfxTerminator
@@ -187,10 +187,10 @@ class FWK_DLLPUBLIC Desktop final : private cppu::BaseMutex,
@short remove a listener from this container.
@descr Additional to removing normal listener these method was implemented special.
@descr In addition to removing normal listeners this method was implemented specially.
Every listener will be asked for its uno implementation name.
Some of them are well known... and the corresponding listener was set as special member.
Now those special member will be reset also.
Some of them are well known... and the corresponding listener was set as a special member.
Now that special member will be reset also.
see e.g. member m_xSfxTerminator
@seealso terminate()
@@ -383,16 +383,16 @@ class FWK_DLLPUBLIC Desktop final : private cppu::BaseMutex,
/** when true, the call came from session manager
* the method is Desktop::terminateQuickstarterToo()
* this the only one place where set this to true
* In this case, when one frame break, not make
* question for other, the break of shutdown or logout
* can be only once.
* In Desktop::impl_closeFrames would be test and break
* this is the only place where this is set to true
* In this case, when one frame breaks, don't ask
* questions for others, the break of shutdown or logout
* can happen only once.
* In Desktop::impl_closeFrames it would be tested and break
* the loop and reset to false
*/
bool m_bSession;
css::uno::Reference< css::uno::XComponentContext > m_xContext; /// reference to factory, which has create this instance
css::uno::Reference< css::uno::XComponentContext > m_xContext; /// reference to factory, which has created this instance
FrameContainer m_aChildTaskContainer; /// array of child tasks (children of desktop are tasks; and tasks are also frames - But pure frames are not accepted!)
comphelper::OMultiTypeInterfaceContainerHelper2 m_aListenerContainer; /// container for ALL Listener
rtl::Reference< OFrames > m_xFramesHelper; /// helper for XFrames, XIndexAccess, XElementAccess and implementation of a childcontainer!
@@ -419,23 +419,23 @@ class FWK_DLLPUBLIC Desktop final : private cppu::BaseMutex,
/** special terminate listener which loads images asynchronous for current open documents.
* Because internally it uses blocking system APIs... it can't be guaranteed that
* running jobs can be cancelled successfully if the corresponding document will be closed...
* it will not hinder those documents on closing. Instead it let all jobs running...
* it will not hinder those documents on closing. Instead it lets all jobs run...
* but at least on terminate we have to wait for all those blocked requests.
* So these implementation must be a special terminate listener too .-(
* So this implementation must be a special terminate listener too .-(
*/
css::uno::Reference< css::frame::XTerminateListener > m_xSWThreadManager;
/** special terminate listener shutting down the SfxApplication.
* Because these desktop instance closes documents and informs listener
* Because this desktop instance closes documents and informs listeners
* only... it does not really shutdown the whole application.
*
* Btw: that wouldn't be possible by design... because Desktop.terminate()
* has to return a boolean value about success... it can't really shutdown the
* process .-)
*
* So we uses a trick: a special listener (exactly these one here) listen for notifyTermination()
* and shutdown the process asynchronous. But desktop has to make this special
* notification as really last one ... Otherwise it can happen that asynchronous
* So we use a trick: a special listener (exactly this one here) listens for notifyTermination()
* and shuts down the process asynchronously. But desktop has to make this special
* notification as really the last one ... Otherwise it can happen that asynchronous
* shutdown will be faster than all other code around Desktop.terminate() .-))
*/
css::uno::Reference< css::frame::XTerminateListener > m_xSfxTerminator;