Fix typos
Change-Id: I9f583937da2cf49fc9013d9e36d63fff312ccb92 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131495 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
This commit is contained in:
parent
36ad7bf558
commit
34cd775646
7 changed files with 8 additions and 8 deletions
2
.vscode/vs-code-template.code-workspace.in
vendored
2
.vscode/vs-code-template.code-workspace.in
vendored
|
@ -164,7 +164,7 @@
|
|||
"MIMode": "lldb",
|
||||
"setupCommands": [
|
||||
{
|
||||
"description": "load helpers for for lldb",
|
||||
"description": "load helpers for lldb",
|
||||
"text": "command script import ${workspaceFolder:srcdir}/solenv/lldb/libreoffice/LO.py",
|
||||
"ignoreFailures": false
|
||||
}
|
||||
|
|
|
@ -395,7 +395,7 @@ private:
|
|||
bool mbUseBgFill = false;
|
||||
|
||||
// temporary space for DiagramHelper in preparation for collecting data
|
||||
// Note: I tried to use a unique_ptr here, but existing constuctor func does not allow that
|
||||
// Note: I tried to use a unique_ptr here, but existing constructor func does not allow that
|
||||
IDiagramHelper* mpDiagramHelper;
|
||||
};
|
||||
|
||||
|
|
|
@ -153,7 +153,7 @@ public class ResourceManager {
|
|||
/**
|
||||
* Get transferring Operation.
|
||||
*
|
||||
*@return String That contains the trasfering Operation
|
||||
*@return String That contains the transferring Operation
|
||||
*/
|
||||
public String getTransOperation() {
|
||||
return m_transOperation;
|
||||
|
|
|
@ -82,7 +82,7 @@ void AdvancedDiagramHelper::reLayout(SdrObjGroup& rTarget)
|
|||
// For re-creation we need to use ::addShape functionality from the
|
||||
// oox import filter since currently Shape import is very tightly
|
||||
// coupled to Shape creation. It converts a oox::Shape representation
|
||||
// combined with an oox::Theme to incarrnated XShapes representing the
|
||||
// combined with an oox::Theme to incarnated XShapes representing the
|
||||
// Diagram.
|
||||
// To use that functionality, we have to create a temporary filter
|
||||
// (based on ShapeFilterBase). Problems are that this needs to know
|
||||
|
|
|
@ -30,12 +30,12 @@ class Diagram;
|
|||
|
||||
// Advanced DiagramHelper
|
||||
//
|
||||
// This helper tries to hold all neccessary data to re-layout
|
||||
// This helper tries to hold all necessary data to re-layout
|
||||
// all XShapes/SdrObjects of an already imported Diagram. The
|
||||
// Diagram holds the SmarArt model data before it gets layouted,
|
||||
// while Theme holds the oox Fill/Line/Style definitions to
|
||||
// apply.
|
||||
// Re-Layouting (re-reating) is rather complex, for detailed
|
||||
// Re-Layouting (re-creating) is rather complex, for detailed
|
||||
// information see ::reLayout implementation.
|
||||
// This helper class may/should be extended to:
|
||||
// - deliver representative data from the Diagram-Model
|
||||
|
|
|
@ -205,7 +205,7 @@ void Shape::prepareDiagramHelper(
|
|||
const std::shared_ptr< Diagram >& rDiagramPtr,
|
||||
const std::shared_ptr<::oox::drawingml::Theme>& rTheme)
|
||||
{
|
||||
// Prepare Diagam data collecting for this Shape
|
||||
// Prepare Diagram data collecting for this Shape
|
||||
if( nullptr == mpDiagramHelper && FRAMETYPE_DIAGRAM == meFrameType )
|
||||
{
|
||||
mpDiagramHelper = new AdvancedDiagramHelper(rDiagramPtr, rTheme, *this);
|
||||
|
|
|
@ -2648,7 +2648,7 @@ void WW8PLCFx_Fc_FKP::WW8Fkp::FillEntry(WW8PLCFx_Fc_FKP::WW8Fkp::Entry &rEntry,
|
|||
}
|
||||
|
||||
const sal_uInt16 nAvailableData = sizeof(maRawData)-nDataOffset;
|
||||
OSL_ENSURE(nLen <= nAvailableData, "srpm sequence len is out of range, clipping");
|
||||
OSL_ENSURE(nLen <= nAvailableData, "sprm sequence len is out of range, clipping");
|
||||
rEntry.mnLen = std::min(nLen, nAvailableData);
|
||||
rEntry.mpData = maRawData + nDataOffset;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue