Fixing "...."
Change-Id: Id005a7531d546dd43de13b49bcb3e93081c5ad8d Reviewed-on: https://gerrit.libreoffice.org/78679 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
parent
c12c84e6d8
commit
22ef2a15bb
@ -4591,7 +4591,7 @@ void StructRefInfo::setValue( const Any& rValue )
|
|||||||
reinterpret_cast< uno_AcquireFunc >(cpp_acquire),
|
reinterpret_cast< uno_AcquireFunc >(cpp_acquire),
|
||||||
reinterpret_cast< uno_ReleaseFunc >(cpp_release) );
|
reinterpret_cast< uno_ReleaseFunc >(cpp_release) );
|
||||||
OSL_ENSURE(bSuccess,
|
OSL_ENSURE(bSuccess,
|
||||||
"StructRefInfo::setValue: ooops .... the value could not be assigned!");
|
"StructRefInfo::setValue: ooops... the value could not be assigned!");
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString StructRefInfo::getTypeName() const
|
OUString StructRefInfo::getTypeName() const
|
||||||
|
@ -161,7 +161,7 @@ enum class FileOffset {
|
|||||||
|
|
||||||
// SBX-objects:
|
// SBX-objects:
|
||||||
// sal_uInt16 number of objects
|
// sal_uInt16 number of objects
|
||||||
// .... object data
|
// ... object data
|
||||||
|
|
||||||
// user defined types B_USERTYPES :
|
// user defined types B_USERTYPES :
|
||||||
// sal_uInt16 identifier UT
|
// sal_uInt16 identifier UT
|
||||||
|
@ -80,7 +80,7 @@ static const sal_Unicode* Symbol( const sal_Unicode* p, OUString& rSym )
|
|||||||
return p;
|
return p;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Qualified name. Element.Element....
|
// Qualified name. Element.Element...
|
||||||
|
|
||||||
static SbxVariableRef QualifiedName
|
static SbxVariableRef QualifiedName
|
||||||
( SbxObject* pObj, SbxObject* pGbl, const sal_Unicode** ppBuf, SbxClassType t )
|
( SbxObject* pObj, SbxObject* pGbl, const sal_Unicode** ppBuf, SbxClassType t )
|
||||||
|
@ -64,7 +64,7 @@ typedef ::cppu::WeakComponentImplHelper<
|
|||||||
* the internal data table.
|
* the internal data table.
|
||||||
*
|
*
|
||||||
* <p>A range representation can be either '0', '1', '2', ..., or 'label 1',
|
* <p>A range representation can be either '0', '1', '2', ..., or 'label 1',
|
||||||
* 'label 2', ....</p>
|
* 'label 2', ...</p>
|
||||||
*/
|
*/
|
||||||
class UncachedDataSequence final :
|
class UncachedDataSequence final :
|
||||||
public ::comphelper::OMutexAndBroadcastHelper,
|
public ::comphelper::OMutexAndBroadcastHelper,
|
||||||
|
@ -231,7 +231,7 @@ public:
|
|||||||
|
|
||||||
std::vector< VDataSeries* > getAllSeries();
|
std::vector< VDataSeries* > getAllSeries();
|
||||||
|
|
||||||
// This method creates a series plotter of the requested type; e.g. : return new PieChart ....
|
// This method creates a series plotter of the requested type; e.g. : return new PieChart...
|
||||||
static VSeriesPlotter* createSeriesPlotter( const css::uno::Reference< css::chart2::XChartType >& xChartTypeModel
|
static VSeriesPlotter* createSeriesPlotter( const css::uno::Reference< css::chart2::XChartType >& xChartTypeModel
|
||||||
, sal_Int32 nDimensionCount
|
, sal_Int32 nDimensionCount
|
||||||
, bool bExcludingPositioning /*for pie and donut charts labels and exploded segments are excluded from the given size*/);
|
, bool bExcludingPositioning /*for pie and donut charts labels and exploded segments are excluded from the given size*/);
|
||||||
|
@ -409,7 +409,7 @@ namespace comphelper
|
|||||||
{
|
{
|
||||||
return m_xInnerContext->getAccessibleRelationSet();
|
return m_xInnerContext->getAccessibleRelationSet();
|
||||||
// TODO: if this relation set would contain relations to siblings, we would normally need
|
// TODO: if this relation set would contain relations to siblings, we would normally need
|
||||||
// to wrap them, too ....
|
// to wrap them, too...
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -386,7 +386,7 @@ void OPropertyContainerHelper::setFastPropertyValue(sal_Int32 _nHandle, const An
|
|||||||
reinterpret_cast< uno_ReleaseFunc >( cpp_release ) );
|
reinterpret_cast< uno_ReleaseFunc >( cpp_release ) );
|
||||||
|
|
||||||
OSL_ENSURE( bSuccess,
|
OSL_ENSURE( bSuccess,
|
||||||
"OPropertyContainerHelper::setFastPropertyValue: ooops .... the value could not be assigned!");
|
"OPropertyContainerHelper::setFastPropertyValue: ooops... the value could not be assigned!");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -165,7 +165,7 @@ void SAL_CALL OSequenceOutputStream::writeBytes( const Sequence< sal_Int8 >& _rD
|
|||||||
nNewLength = nCurrentLength + m_nMinimumResize;
|
nNewLength = nCurrentLength + m_nMinimumResize;
|
||||||
|
|
||||||
if (nNewLength < m_nSize + _rData.getLength())
|
if (nNewLength < m_nSize + _rData.getLength())
|
||||||
{ // it's not enough .... the data would not fit
|
{ // it's not enough... the data would not fit
|
||||||
|
|
||||||
// let's take the double amount of the length of the data to be written, as the next write
|
// let's take the double amount of the length of the data to be written, as the next write
|
||||||
// request could be as large as this one
|
// request could be as large as this one
|
||||||
@ -173,7 +173,7 @@ void SAL_CALL OSequenceOutputStream::writeBytes( const Sequence< sal_Int8 >& _rD
|
|||||||
nNewLength = nCurrentLength + nNewGrowth;
|
nNewLength = nCurrentLength + nNewGrowth;
|
||||||
}
|
}
|
||||||
|
|
||||||
// round it off to the next multiple of 4 ...
|
// round it off to the next multiple of 4...
|
||||||
nNewLength = (nNewLength + 3) / 4 * 4;
|
nNewLength = (nNewLength + 3) / 4 * 4;
|
||||||
|
|
||||||
m_rSequence.realloc(nNewLength);
|
m_rSequence.realloc(nNewLength);
|
||||||
|
@ -84,7 +84,7 @@ bool ConstantFunction::VisitFunctionDecl(const FunctionDecl * pFunctionDecl) {
|
|||||||
if (aFileName.startswith(SRCDIR "/basegfx/test/")) {
|
if (aFileName.startswith(SRCDIR "/basegfx/test/")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
// bridges has some weird stuff in it....
|
// bridges has some weird stuff in it...
|
||||||
if (aFileName.startswith(SRCDIR "/bridges/")) {
|
if (aFileName.startswith(SRCDIR "/bridges/")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -733,7 +733,7 @@ void UnusedFields::checkIfWrittenTo(const FieldDecl* fieldDecl, const Expr* memb
|
|||||||
|
|
||||||
// if we're inside a block that looks like
|
// if we're inside a block that looks like
|
||||||
// if (fieldDecl)
|
// if (fieldDecl)
|
||||||
// ....
|
// ...
|
||||||
// then writes to this field don't matter, because unless we find another write to this field, this field is dead
|
// then writes to this field don't matter, because unless we find another write to this field, this field is dead
|
||||||
if (std::find(insideConditionalCheckOfMemberSet.begin(), insideConditionalCheckOfMemberSet.end(), fieldDecl) != insideConditionalCheckOfMemberSet.end())
|
if (std::find(insideConditionalCheckOfMemberSet.begin(), insideConditionalCheckOfMemberSet.end(), fieldDecl) != insideConditionalCheckOfMemberSet.end())
|
||||||
return;
|
return;
|
||||||
|
@ -352,7 +352,7 @@ void UseUniquePtr::CheckDeleteLocalVar(const FunctionDecl* functionDecl, const C
|
|||||||
if (fn == SRCDIR "/vcl/unx/gtk3/gtk3gtkdata.cxx"
|
if (fn == SRCDIR "/vcl/unx/gtk3/gtk3gtkdata.cxx"
|
||||||
|| fn == SRCDIR "/vcl/unx/gtk/gtkdata.cxx")
|
|| fn == SRCDIR "/vcl/unx/gtk/gtkdata.cxx")
|
||||||
return;
|
return;
|
||||||
// sometimes this stuff is held by tools::SvRef, sometimes by std::unique_ptr .....
|
// sometimes this stuff is held by tools::SvRef, sometimes by std::unique_ptr...
|
||||||
if (fn == SRCDIR "/sot/source/unoolestorage/xolesimplestorage.cxx")
|
if (fn == SRCDIR "/sot/source/unoolestorage/xolesimplestorage.cxx")
|
||||||
return;
|
return;
|
||||||
// don't feel like messing with this chunk of sfx2
|
// don't feel like messing with this chunk of sfx2
|
||||||
|
@ -796,7 +796,7 @@ void WriteOnlyVars::checkIfWrittenTo(const VarDecl* varDecl, const Expr* memberE
|
|||||||
{
|
{
|
||||||
// if we're inside a block that looks like
|
// if we're inside a block that looks like
|
||||||
// if (varDecl)
|
// if (varDecl)
|
||||||
// ....
|
// ...
|
||||||
// then writes to this var don't matter, because unless we find another write to this var, this var is dead
|
// then writes to this var don't matter, because unless we find another write to this var, this var is dead
|
||||||
if (std::find(insideConditionalCheckOfMemberSet.begin(),
|
if (std::find(insideConditionalCheckOfMemberSet.begin(),
|
||||||
insideConditionalCheckOfMemberSet.end(), varDecl)
|
insideConditionalCheckOfMemberSet.end(), varDecl)
|
||||||
|
@ -2,4 +2,4 @@ This folder contains the description.xml from update/web6.oxt
|
|||||||
When creating the release 2.0 on the repository then this description.xml can be uploaded.
|
When creating the release 2.0 on the repository then this description.xml can be uploaded.
|
||||||
|
|
||||||
|
|
||||||
This folder is not needed on extensions.openoffice.org/testarea/desktop/....
|
This folder is not needed on extensions.openoffice.org/testarea/desktop/...
|
||||||
|
@ -2,4 +2,4 @@ This folder contains the description.xml from update/web7.oxt
|
|||||||
When creating the release 2.0 on the repository then this description.xml can be uploaded.
|
When creating the release 2.0 on the repository then this description.xml can be uploaded.
|
||||||
|
|
||||||
|
|
||||||
This folder is not needed on extensions.openoffice.org/testarea/desktop/....
|
This folder is not needed on extensions.openoffice.org/testarea/desktop/...
|
||||||
|
@ -226,7 +226,7 @@ namespace svt
|
|||||||
}
|
}
|
||||||
|
|
||||||
// _and_ add as event listener to the parent - in case the parent is destroyed
|
// _and_ add as event listener to the parent - in case the parent is destroyed
|
||||||
// before we are disposed, our disposal would access dead VCL windows then ....
|
// before we are disposed, our disposal would access dead VCL windows then...
|
||||||
m_xDialogParent = VCLUnoHelper::GetInterface( m_pDlg->GetParent() );
|
m_xDialogParent = VCLUnoHelper::GetInterface( m_pDlg->GetParent() );
|
||||||
OSL_ENSURE( m_xDialogParent.is() || !m_pDlg->GetParent(), "OCommonPicker::createFileDialog: invalid window component (the parent this time)!" );
|
OSL_ENSURE( m_xDialogParent.is() || !m_pDlg->GetParent(), "OCommonPicker::createFileDialog: invalid window component (the parent this time)!" );
|
||||||
if ( m_xDialogParent.is() )
|
if ( m_xDialogParent.is() )
|
||||||
@ -377,11 +377,11 @@ namespace svt
|
|||||||
// Thus we post ourself a message for cancelling the dialog. This way, the message
|
// Thus we post ourself a message for cancelling the dialog. This way, the message
|
||||||
// is either handled in the thread which opened the dialog (which may even be
|
// is either handled in the thread which opened the dialog (which may even be
|
||||||
// this thread here), or, if no dialog is open, in the thread doing scheduling
|
// this thread here), or, if no dialog is open, in the thread doing scheduling
|
||||||
// currently. Both is okay for us ....
|
// currently. Both is okay for us...
|
||||||
|
|
||||||
// Note that we could do check if we are really executing the dialog currently.
|
// Note that we could do check if we are really executing the dialog currently.
|
||||||
// but the information would be potentially obsolete at the moment our event
|
// but the information would be potentially obsolete at the moment our event
|
||||||
// arrives, so we need to check it there, anyway ...
|
// arrives, so we need to check it there, anyway...
|
||||||
m_nCancelEvent = Application::PostUserEvent( LINK( this, OCommonPicker, OnCancelPicker ) );
|
m_nCancelEvent = Application::PostUserEvent( LINK( this, OCommonPicker, OnCancelPicker ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -184,7 +184,7 @@ namespace
|
|||||||
|
|
||||||
void lcl_autoUpdateFileExtension( SvtFileDialog* _pDialog, const OUString& _rLastFilterExt )
|
void lcl_autoUpdateFileExtension( SvtFileDialog* _pDialog, const OUString& _rLastFilterExt )
|
||||||
{
|
{
|
||||||
// if auto extension is enabled ....
|
// if auto extension is enabled...
|
||||||
if ( _pDialog->isAutoExtensionEnabled() )
|
if ( _pDialog->isAutoExtensionEnabled() )
|
||||||
{
|
{
|
||||||
// automatically switch to the extension of the (maybe just newly selected) extension
|
// automatically switch to the extension of the (maybe just newly selected) extension
|
||||||
@ -862,7 +862,7 @@ void SvtFileDialog::OpenHdl_Impl(void const * pVoid)
|
|||||||
|
|
||||||
if ( aFileName.isEmpty() )
|
if ( aFileName.isEmpty() )
|
||||||
{
|
{
|
||||||
// if an entry is selected in the view ....
|
// if an entry is selected in the view...
|
||||||
if ( _pFileView->GetSelectionCount() )
|
if ( _pFileView->GetSelectionCount() )
|
||||||
{ // -> use this one. This will allow us to step down this folder
|
{ // -> use this one. This will allow us to step down this folder
|
||||||
aFileName = _pFileView->GetCurrentURL();
|
aFileName = _pFileView->GetCurrentURL();
|
||||||
|
@ -553,10 +553,10 @@ public class _XTreeControl extends MultiMethodTest {
|
|||||||
|
|
||||||
boolean bOK = true;
|
boolean bOK = true;
|
||||||
|
|
||||||
log.println("add EditListener 1....");
|
log.println("add EditListener 1...");
|
||||||
oObj.addTreeEditListener(mTreeEditListener1);
|
oObj.addTreeEditListener(mTreeEditListener1);
|
||||||
|
|
||||||
log.println("add EditListener 2....");
|
log.println("add EditListener 2...");
|
||||||
oObj.addTreeEditListener(mTreeEditListener2);
|
oObj.addTreeEditListener(mTreeEditListener2);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
@ -44,7 +44,7 @@ public class _XComponentContext extends MultiMethodTest {
|
|||||||
log.println("try to instantiate found servicename " +
|
log.println("try to instantiate found servicename " +
|
||||||
names[i]);
|
names[i]);
|
||||||
directly.createInstanceWithContext(names[i], oObj);
|
directly.createInstanceWithContext(names[i], oObj);
|
||||||
log.println("worked .... ok");
|
log.println("worked... ok");
|
||||||
res &= true;
|
res &= true;
|
||||||
} catch (com.sun.star.uno.Exception e) {
|
} catch (com.sun.star.uno.Exception e) {
|
||||||
log.println("Exception occurred " + e.getMessage());
|
log.println("Exception occurred " + e.getMessage());
|
||||||
@ -69,4 +69,4 @@ public class _XComponentContext extends MultiMethodTest {
|
|||||||
boolean res = ValueComparer.equalValue(byValue, directly);
|
boolean res = ValueComparer.equalValue(byValue, directly);
|
||||||
tRes.tested("getValueByName()", res);
|
tRes.tested("getValueByName()", res);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -117,7 +117,7 @@ OUndoContainerAction::OUndoContainerAction(SdrModel& _rMod
|
|||||||
|
|
||||||
OUndoContainerAction::~OUndoContainerAction()
|
OUndoContainerAction::~OUndoContainerAction()
|
||||||
{
|
{
|
||||||
// if we own the object ....
|
// if we own the object...
|
||||||
Reference< XComponent > xComp( m_xOwnElement, UNO_QUERY );
|
Reference< XComponent > xComp( m_xOwnElement, UNO_QUERY );
|
||||||
if ( xComp.is() )
|
if ( xComp.is() )
|
||||||
{
|
{
|
||||||
|
@ -235,7 +235,7 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv
|
|||||||
if (objectPos == m_pImpl->m_aPropertySetCache.end())
|
if (objectPos == m_pImpl->m_aPropertySetCache.end())
|
||||||
{
|
{
|
||||||
objectPos = m_pImpl->m_aPropertySetCache.emplace( xSet, ObjectInfo() ).first;
|
objectPos = m_pImpl->m_aPropertySetCache.emplace( xSet, ObjectInfo() ).first;
|
||||||
DBG_ASSERT(objectPos != m_pImpl->m_aPropertySetCache.end(), "OXUndoEnvironment::propertyChange : just inserted it ... why it's not there ?");
|
DBG_ASSERT(objectPos != m_pImpl->m_aPropertySetCache.end(), "OXUndoEnvironment::propertyChange : just inserted it... why it's not there?");
|
||||||
}
|
}
|
||||||
if ( objectPos == m_pImpl->m_aPropertySetCache.end() )
|
if ( objectPos == m_pImpl->m_aPropertySetCache.end() )
|
||||||
return;
|
return;
|
||||||
@ -245,7 +245,7 @@ void SAL_CALL OXUndoEnvironment::propertyChange( const PropertyChangeEvent& _rEv
|
|||||||
ObjectInfo& rObjectInfo = objectPos->second;
|
ObjectInfo& rObjectInfo = objectPos->second;
|
||||||
PropertiesInfo::const_iterator aPropertyPos = rObjectInfo.aProperties.find( _rEvent.PropertyName );
|
PropertiesInfo::const_iterator aPropertyPos = rObjectInfo.aProperties.find( _rEvent.PropertyName );
|
||||||
if ( aPropertyPos == rObjectInfo.aProperties.end() )
|
if ( aPropertyPos == rObjectInfo.aProperties.end() )
|
||||||
{ // nothing 'til now ... have to change this ....
|
{ // nothing 'til now... have to change this...
|
||||||
// the attributes
|
// the attributes
|
||||||
Reference< XPropertySetInfo > xPSI( xSet->getPropertySetInfo(), UNO_SET_THROW );
|
Reference< XPropertySetInfo > xPSI( xSet->getPropertySetInfo(), UNO_SET_THROW );
|
||||||
sal_Int32 nPropertyAttributes = 0;
|
sal_Int32 nPropertyAttributes = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user