Bugzilla – Attachment 55580 Details for
Bug 44040
VIEWING: Crash when page preview after <f4> (data sources)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Proposition of patch
proposed_patch_44040.txt (text/plain), 1.65 KB, created by
Julien Nabet
on 2012-01-14 11:06:29 UTC
(
hide
)
Description:
Proposition of patch
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2012-01-14 11:06:29 UTC
Size:
1.65 KB
patch
obsolete
>diff --git a/dbaccess/source/ui/browser/unodatbr.cxx b/dbaccess/source/ui/browser/unodatbr.cxx >index 4d980a0..cbae55c 100644 >--- a/dbaccess/source/ui/browser/unodatbr.cxx >+++ b/dbaccess/source/ui/browser/unodatbr.cxx >@@ -1408,26 +1408,26 @@ void SAL_CALL SbaTableQueryBrowser::disposing( const EventObject& _rSource ) thr > { > // search the external dispatcher causing this call in our map > Reference< XDispatch > xSource(_rSource.Source, UNO_QUERY); >+ ExternalFeaturesMap::iterator aLoopEnd = m_aExternalFeatures.end(); > if(xSource.is()) > { > for ( ExternalFeaturesMap::iterator aLoop = m_aExternalFeatures.begin(); >- aLoop != m_aExternalFeatures.end(); >+ aLoop != aLoopEnd; > ++aLoop > ) > { > if ( aLoop->second.xDispatcher.get() == xSource.get() ) > { >- ExternalFeaturesMap::iterator aPrevious = aLoop; >- --aPrevious; >- >- // remove it >- m_aExternalFeatures.erase( aLoop ); >- > // maybe update the UI > implCheckExternalSlot(aLoop->first); > >- // continue, the same XDispatch may be resposible for more than one URL >- aLoop = aPrevious; >+ // remove it >+ aLoop = m_aExternalFeatures.erase( aLoop ); >+ >+ if (aLoop == aLoopEnd) >+ break; >+ >+ // continue, the same XDispatch may be responsible for more than one URL > } > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44040
:
55018
| 55580