Hi Chris, Chris Sherlock wrote: > Out of interest, what is “scoped” about BitmapScopedWriteAccess? > The original idea was providing RAII semantics to the bitmap access objects (c.f. commit a622d4e9d717e64c305399c833d7d15af2fc109e how that looked like during OOo times). See the 'mrBitmap.ReleaseAccess( mpAccess )' there, for what previously had to be done manually. Over the years, the plain Bitmap*Access objects grew proper value semantics, so I guess the scoped-access gold-plating is by now pointless. That most recent rework FWICT happend with https://gerrit.libreoffice.org/c/core/+/160293 HTH, -- Thorsten
Attachment:
signature.asc
Description: PGP signature