Fix typos
Change-Id: I52ac067c200b02bc8513033b249863f67b245528 Reviewed-on: https://gerrit.libreoffice.org/77271 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
committed by
Julien Nabet
parent
7aef9ab8e8
commit
89fa56078e
@@ -89,7 +89,7 @@ public:
|
||||
const unsigned char* read(unsigned long, unsigned long&) override { return nullptr; }
|
||||
//! returns actual offset position
|
||||
long tell() override { return 0; }
|
||||
/*! \brief seeks to a offset position, from actual, beginning or ending position
|
||||
/*! \brief seeks to an offset position, from actual, beginning or ending position
|
||||
* \return 0 if ok
|
||||
*/
|
||||
int seek(long, librevenge::RVNG_SEEK_TYPE) override { return 1; }
|
||||
|
||||
@@ -1781,7 +1781,7 @@ namespace xmloff
|
||||
|
||||
// clone the attributes
|
||||
Reference< XCloneable > xCloneList(_rxAttrList, UNO_QUERY);
|
||||
OSL_ENSURE(xCloneList.is(), "OColumnWrapperImport::StartElement: AttributeList not cloneable!");
|
||||
OSL_ENSURE(xCloneList.is(), "OColumnWrapperImport::StartElement: AttributeList not clonable!");
|
||||
if ( xCloneList.is() )
|
||||
m_xOwnAttributes.set(xCloneList->createClone(), UNO_QUERY);
|
||||
OSL_ENSURE(m_xOwnAttributes.is(), "OColumnWrapperImport::StartElement: no cloned list!");
|
||||
|
||||
@@ -394,7 +394,7 @@ static bool has_states( const std::vector< XMLPropertyState >& xPropStates )
|
||||
mrExport.AddAttribute(XML_NAMESPACE_TABLE, XML_STYLE_NAME, sStyleName );
|
||||
}
|
||||
|
||||
// TODO: All columns first have to be checked if some ones
|
||||
// TODO: all columns first have to be checked if someone
|
||||
// have identical properties. If yes, attr table:number-columns-repeated
|
||||
// has to be written.
|
||||
SvXMLElementExport tableColumnElement( mrExport, XML_NAMESPACE_TABLE, XML_TABLE_COLUMN, true, true );
|
||||
|
||||
@@ -2442,7 +2442,7 @@ sal_Int32 XMLTextImportHelper::GetDataStyleKey(const OUString& sStyleName,
|
||||
|
||||
|
||||
// first check if it's an Impress and draw only number format
|
||||
// this is needed since its also a SvXMLNumFormatContext,
|
||||
// this is needed since it's also a SvXMLNumFormatContext,
|
||||
// that was needed to support them for controls in impress/draw also
|
||||
const SdXMLNumberFormatImportContext* pSdNumStyle = dynamic_cast<const SdXMLNumberFormatImportContext*>( pStyle );
|
||||
if( pSdNumStyle )
|
||||
|
||||
@@ -1058,15 +1058,15 @@ void ElementDescriptor::readDefaults( bool supportPrintable, bool supportVisible
|
||||
Any a( _xProps->getPropertyValue( "Name" ) );
|
||||
|
||||
// The following is a hack to allow 'form' controls to override the default
|
||||
// control supported by dialogs. This should work well for both vba support and
|
||||
// normal openoffice ( when normal 'Dialogs' decide to support form control models )
|
||||
// control supported by dialogs. This should work well for both VBA support and
|
||||
// normal LibreOffice (when normal 'Dialogs' decide to support form control models)
|
||||
// In the future VBA support might require custom models ( and not the just the form
|
||||
// variant of a control that we currently use ) In this case the door is still open,
|
||||
// we just need to define a new way for the 'ServiceName' to be extracted from the
|
||||
// incoming model. E.g. the use of supporting service
|
||||
// "com.sun.star.form.FormComponent", 'ServiceName' and XPersistObject
|
||||
// is only an implementation detail here, in the future some other
|
||||
// method ( perhaps a custom prop ) could be used instead.
|
||||
// method (perhaps a custom prop) could be used instead.
|
||||
Reference< lang::XServiceInfo > xSrvInfo( _xProps, UNO_QUERY );
|
||||
if ( xSrvInfo.is() && xSrvInfo->supportsService( "com.sun.star.form.FormComponent" ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user