Fix typos in code and comments + some reformatting.
Change-Id: I5b6d62104e46c6eb5d142e7e11666806383eed09 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/210566 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
6410690a38
commit
850aab7852
@@ -69,7 +69,7 @@ published service DataForm
|
||||
|
||||
<p>One main difference between XLoadable::load() and com::sun::star::sdbc::XRowSet::execute()
|
||||
is that if you use the former, the row set is positioned on the first record, while in the latter case
|
||||
it is position <em>before</em> the it.</p>
|
||||
it is positioned <em>before</em> it.</p>
|
||||
*/
|
||||
interface com::sun::star::form::XLoadable;
|
||||
|
||||
@@ -126,7 +126,7 @@ published service DataForm
|
||||
the corresponding master field.<br/>
|
||||
Alternatively, you could simply base your form on the table <code>invoices</code>,
|
||||
and add the column name <code>cust_ref</code> to the DetailFields. In this case,
|
||||
and implicit filter clause <code>WHERE cust_ref = :<new_param_name></code> will
|
||||
an implicit filter clause <code>WHERE cust_ref = :<new_param_name></code> will
|
||||
be created, and the artificial parameter will be filled from the corresponding
|
||||
master field.<br/>
|
||||
If a string in this property denotes both a column name and a parameter name, it
|
||||
|
||||
@@ -141,7 +141,7 @@ interface XReportComponent
|
||||
the corresponding master field.<br/>
|
||||
Alternatively, you could simply base your report on the table <code>invoices</code>,
|
||||
and add the column name <code>cust_ref</code> to the DetailFields. In this case,
|
||||
and implicit filter clause <code>WHERE cust_ref = :<new_param_name></code> will
|
||||
an implicit filter clause <code>WHERE cust_ref = :<new_param_name></code> will
|
||||
be created, and the artificial parameter will be filled from the corresponding
|
||||
master field.<br/>
|
||||
If a string in this property denotes both a column name and a parameter name, it
|
||||
|
||||
@@ -39,7 +39,7 @@ published service HierarchyDataReadWriteAccess
|
||||
must remove data members. However, the mandatory data members (Title,
|
||||
TargetURL, Children) must never be removable.
|
||||
|
||||
<p>Replacing and getting values must be supported be every data node.
|
||||
<p>Replacing and getting values must be supported by every data node.
|
||||
*/
|
||||
interface com::sun::star::container::XNameContainer;
|
||||
|
||||
|
||||
@@ -1172,7 +1172,7 @@
|
||||
</prop>
|
||||
<prop oor:name="SkipEmptyCells" oor:type="xs:boolean" oor:nillable="false">
|
||||
<info>
|
||||
<desc>If true, Calc preserves previous content of cells when pasting empty ones. If false, Calc delete content of previous cells.</desc>
|
||||
<desc>If true, Calc preserves previous content of cells when pasting empty ones. If false, Calc deletes content of previous cells.</desc>
|
||||
<label>SkipEmptyCells</label>
|
||||
</info>
|
||||
<value>true</value>
|
||||
@@ -1286,7 +1286,7 @@
|
||||
</prop>
|
||||
<prop oor:name="SkipEmptyCells" oor:type="xs:boolean" oor:nillable="false">
|
||||
<info>
|
||||
<desc>If true, Calc preserves previous content of cells when pasting empty ones. If false, Calc delete content of previous cells.</desc>
|
||||
<desc>If true, Calc preserves previous content of cells when pasting empty ones. If false, Calc deletes content of previous cells.</desc>
|
||||
<label>SkipEmptyCells</label>
|
||||
</info>
|
||||
<value>false</value>
|
||||
@@ -1959,7 +1959,7 @@
|
||||
</group>
|
||||
<prop oor:name="Links" oor:type="xs:boolean" oor:nillable="false">
|
||||
<info>
|
||||
<desc>Insert link for the cell, instead of text fields in a cell.(Excel interopability options)</desc>
|
||||
<desc>Insert link for the cell, instead of text fields in a cell.(Excel interoperability options)</desc>
|
||||
<label>Links like Excel</label>
|
||||
</info>
|
||||
<value>false</value>
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
</prop>
|
||||
<prop oor:name="MaskFileName" oor:type="xs:string">
|
||||
<info>
|
||||
<desc>The file name of the mask bitmap. Use red for pixel outside of
|
||||
<desc>The file name of the mask bitmap. Use red for pixels outside of
|
||||
the border and blue for inside pixels.</desc>
|
||||
</info>
|
||||
<value/>
|
||||
@@ -90,8 +90,8 @@
|
||||
</prop>
|
||||
<prop oor:name="ReplacementColor" oor:type="xs:hexBinary">
|
||||
<info>
|
||||
<desc>Color that is used as replacement for the bitmap when the later
|
||||
can for some reason not be used.</desc>
|
||||
<desc>Color that is used as replacement for the bitmap when the latter
|
||||
cannot be used for some reason.</desc>
|
||||
</info>
|
||||
</prop>
|
||||
<prop oor:name="HorizontalTexturingMode" oor:type="xs:string">
|
||||
|
||||
@@ -653,6 +653,6 @@ void PlotAreaConverter::convertPositionFromModel()
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace oox
|
||||
} // namespace oox::drawingml::chart
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -419,7 +419,7 @@ void SmartArtDiagram::addDiagramModelData(boost::property_tree::ptree& rTarget)
|
||||
// needs to be created.
|
||||
// Similar with OOXDrawing: This contains parts of ModelData, e.g. Text and
|
||||
// Attributes represented by the XShapes/Sdrobjects, so for internal formats
|
||||
// this is not needed to be saved. This also true for OOXDrawingImageRels
|
||||
// this is not needed to be saved. This is also true for OOXDrawingImageRels
|
||||
// and OOXDrawingHlinkRels.
|
||||
// We *do* import OOXLayoutDomTree/ModelInfo and this is used in the layouting
|
||||
// mechanism (reLayout), but it is not changed. We could add an export of that
|
||||
|
||||
@@ -54,8 +54,8 @@ TextField::TextField()
|
||||
|
||||
namespace {
|
||||
|
||||
/** instantiate the textfields. Because of semantics difference between
|
||||
* OpenXML and OpenOffice, some OpenXML field might cause two fields to be created.
|
||||
/** instantiate the textfields. Because of semantic differences between
|
||||
* OpenXML and OpenOffice, some OpenXML fields might cause two fields to be created.
|
||||
* @param aFields the created fields. The list is empty if no field has been created.
|
||||
* @param xModel the model
|
||||
* @param sType the OpenXML field type.
|
||||
|
||||
@@ -517,7 +517,7 @@ void DrawingML::WriteSolidFill( const Reference< XPropertySet >& rXPropSet )
|
||||
bNeedGradientFill = !aTransparenceGradient.GetColorStops().isSingleColor(aSingleColor);
|
||||
|
||||
// we no longer need to 'guess' if FillTransparenceGradient is used by
|
||||
// comparing it's 1st color to COL_BLACK after having tested that the
|
||||
// comparing its 1st color to COL_BLACK after having tested that the
|
||||
// FillTransparenceGradientName is set
|
||||
if (!bNeedGradientFill)
|
||||
{
|
||||
@@ -662,7 +662,7 @@ void DrawingML::WriteGradientFill( const Reference< XPropertySet >& rXPropSet )
|
||||
// only for DOCX.
|
||||
if (aOriginalGradient == aGradient && GetDocumentType() == DOCUMENT_DOCX)
|
||||
{
|
||||
// If we have no gradient stops that means original gradient were defined by a theme.
|
||||
// If we have no gradient stops that means original gradient was defined by a theme.
|
||||
if( aGradientStops.hasElements() )
|
||||
{
|
||||
mpFS->startElementNS(XML_a, XML_gradFill, XML_rotWithShape, "0");
|
||||
@@ -1136,7 +1136,7 @@ void DrawingML::WriteOutline( const Reference<XPropertySet>& rXPropSet, Referenc
|
||||
|
||||
bool bIsRelative(aLineDash.Style == DashStyle_RECTRELATIVE || aLineDash.Style == DashStyle_ROUNDRELATIVE);
|
||||
if ( bIsRelative && aLineDash.Dots == 1)
|
||||
{ // The length were tweaked on import in case of prstDash. Revert it here.
|
||||
{ // The lengths were tweaked on import in case of prstDash. Revert it here.
|
||||
sal_uInt32 nDotLen = aLineDash.DotLen;
|
||||
sal_uInt32 nDashLen = aLineDash.DashLen;
|
||||
sal_uInt32 nDistance = aLineDash.Distance;
|
||||
@@ -1148,7 +1148,7 @@ void DrawingML::WriteOutline( const Reference<XPropertySet>& rXPropSet, Referenc
|
||||
nDashLen += 99;
|
||||
}
|
||||
// LO uses length 0 for 100%, if the attribute is missing in ODF.
|
||||
// Other applications might write 100%. Make is unique for the conditions.
|
||||
// Other applications might write 100%. Make it unique for the conditions.
|
||||
if (nDotLen == 0)
|
||||
nDotLen = 100;
|
||||
if (nDashLen == 0 && aLineDash.Dashes > 0)
|
||||
|
||||
@@ -1616,6 +1616,6 @@ Reference< XShape > GroupShape::implConvertAndInsert( const Reference< XShapes >
|
||||
return xGroupShape;
|
||||
}
|
||||
|
||||
} // namespace oox
|
||||
} // namespace oox::vml
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -622,7 +622,7 @@ ContextHandlerRef ShapeContext::onCreateContext( sal_Int32 nElement, const Attri
|
||||
u"com.sun.star.drawing.TextShape"_ustr);
|
||||
}
|
||||
else
|
||||
// FIXME: without this we does not handle some properties like shadow
|
||||
// FIXME: without this we do not handle some properties like shadow
|
||||
dynamic_cast<SimpleShape&>(mrShape).setService(u"com.sun.star.text.TextFrame"_ustr);
|
||||
}
|
||||
return new TextBoxContext( *this, mrShapeModel.createTextBox(mrShape.getTypeModel()), rAttribs,
|
||||
@@ -808,6 +808,6 @@ ControlShapeContext::ControlShapeContext( ::oox::core::ContextHandler2Helper con
|
||||
rShapes.getDrawing().registerControl(aInfo);
|
||||
}
|
||||
|
||||
} // namespace oox
|
||||
} // namespace oox::vml
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||
|
||||
@@ -100,7 +100,7 @@ packimages_icon_themes := $(filter %/,$(wildcard $(SRCDIR)/icon-themes/*/))
|
||||
# on the full list, and similarly the recursive filtering call from the initial
|
||||
# version of the patch also fails on windows for some reason
|
||||
# so don't try to be clever and do it in this awkward/tedious way.
|
||||
# all this does is filtering everything for png/svg files that have /cmd/ as
|
||||
# all this does is filter everything for png/svg files that have /cmd/ as
|
||||
# part of their path and then replacing the path to the theme-directory with
|
||||
# %MODULE% - the surrounding sort not only sorts the lists, but gets rid of
|
||||
# duplicate filenames that are left after the %MODULE% replacement
|
||||
|
||||
@@ -5,10 +5,10 @@ This script takes several sources of information:
|
||||
|
||||
* the list of images used in every .src file that is compiled
|
||||
* the configuration XML describing every command that is used
|
||||
* [[postprocess/packimages/image-sort.lst]] which provides a profile based
|
||||
* [[postprocess/packimages/image-sort.lst]] which provides a profile-based
|
||||
ordering of images.
|
||||
|
||||
It then tries to pack the images together into the .zip file into an
|
||||
It then tries to pack the images together into the .zip file in an
|
||||
order that matches / is similar to that which we want at run-time, ie.
|
||||
an entire toolbar's images should (ideally) be next to each other in a
|
||||
nice linear run, to reduce LibreOffice's working set, and improve
|
||||
|
||||
@@ -264,7 +264,6 @@ class Adapter : public cppu::WeakImplHelper<
|
||||
private:
|
||||
css::uno::Sequence< sal_Int16 > getOutIndexes( const OUString & functionName );
|
||||
|
||||
public:
|
||||
public:
|
||||
Adapter( PyRef obj,
|
||||
const css::uno::Sequence< css::uno::Type > & types );
|
||||
|
||||
@@ -202,7 +202,7 @@ OUString getLibDirImpl()
|
||||
{
|
||||
OUString libDir;
|
||||
|
||||
// workarounds the $(ORIGIN) until it is available
|
||||
// workaround the $(ORIGIN) until it is available
|
||||
if (Module::getUrlFromAddress(reinterpret_cast<oslGenericFunction>(getLibDir), libDir))
|
||||
{
|
||||
libDir = libDir.copy(0, libDir.lastIndexOf('/'));
|
||||
|
||||
@@ -256,7 +256,7 @@ public class RunnerService implements XJob, XServiceInfo,
|
||||
* Gives a factory for creating the service.
|
||||
* This method is called by the <code>JavaLoader</code>
|
||||
* <p>
|
||||
* @return returns a <code>XSingleServiceFactory</code> for creating the component
|
||||
* @return returns an <code>XSingleServiceFactory</code> for creating the component
|
||||
* @param implName the name of the implementation for which a service is desired
|
||||
* @param multiFactory the service manager to be used if needed
|
||||
* @param regKey the registryKey
|
||||
|
||||
@@ -131,7 +131,7 @@ public class JavaSystemBackend implements XSingleLayerStratum, XTypeProvider,
|
||||
* Gives a factory for creating the service.
|
||||
* This method is called by the <code>JavaLoader</code>
|
||||
* <p>
|
||||
* @return returns a <code>XSingleServiceFactory</code> for creating the component
|
||||
* @return returns an <code>XSingleServiceFactory</code> for creating the component
|
||||
* @param implName the name of the implementation for which a service is desired
|
||||
* @param multiFactory the service manager to be used if needed
|
||||
* @param regKey the registryKey
|
||||
@@ -215,7 +215,7 @@ public class JavaSystemBackend implements XSingleLayerStratum, XTypeProvider,
|
||||
"com.sun.star.comp.configuration.backend.LayerDescriber"));
|
||||
} catch (com.sun.star.uno.Exception e) {
|
||||
throw new com.sun.star.lang.NullPointerException(e,
|
||||
"exception while creating LayerDesccriber");
|
||||
"exception while creating LayerDescriber");
|
||||
}
|
||||
|
||||
if (xLayerContentDescriber == null) {
|
||||
|
||||
Reference in New Issue
Block a user