[Libreoffice-commits] core.git: sfx2/source
sfx2/source/dialog/dinfdlg.cxx |1 + sfx2/source/doc/templatedlg.cxx |1 + 2 files changed, 2 insertions(+) New commits: commit 2e417a09b5497bb8aa86727a280960aeb5023af0 Author: Tarun Sharma AuthorDate: Tue May 4 15:18:21 2021 +0530 Commit: Michael Stahl CommitDate: Thu May 6 11:53:19 2021 +0200 tdf#97087 Give unique, comphrehensible names to idles Change-Id: Id146a5a89c9189285409641494badf3d49931a0b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115064 Tested-by: Jenkins Reviewed-by: Michael Stahl diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index 6ea3fa7a17c9..19b4529e180b 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -1315,6 +1315,7 @@ CustomPropertiesWindow::CustomPropertiesWindow(weld::Container& rParent, weld::L , m_rHeaderAccValue(rHeaderAccValue) { m_aEditLoseFocusIdle.SetPriority( TaskPriority::LOWEST ); +m_aEditLoseFocusIdle.SetDebugName("sfx2 CustomPropertiesWindow loseFocusIdle"); m_aEditLoseFocusIdle.SetInvokeHandler( LINK( this, CustomPropertiesWindow, EditTimeoutHdl ) ); m_aBoxLoseFocusIdle.SetPriority( TaskPriority::LOWEST ); m_aBoxLoseFocusIdle.SetInvokeHandler( LINK( this, CustomPropertiesWindow, BoxTimeoutHdl ) ); diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx index 14e7db818f1e..413ba517004c 100644 --- a/sfx2/source/doc/templatedlg.cxx +++ b/sfx2/source/doc/templatedlg.cxx @@ -1480,6 +1480,7 @@ short SfxTemplateSelectionDlg::run() // tdf#125079 toggle off the size tracking at some future idle point maIdle.SetPriority(TaskPriority::LOWEST); +maIdle.SetDebugName("sfx2 SfxTemplateManagerDlg maIdle"); maIdle.SetInvokeHandler(LINK(this,SfxTemplateSelectionDlg,TimeOut)); maIdle.Start(); setTemplateViewMode(TemplateViewMode::eThumbnailView); ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
[Libreoffice-commits] core.git: xmlsecurity/source
xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx |3 +-- xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx |3 +-- xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx |3 +-- xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx|3 +-- xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx |3 +-- xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx |3 +-- xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.cxx|3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) New commits: commit 624ba772858d9bf56fd2ff2de555740bbef5593a Author: Tarun Sharma AuthorDate: Sun Jan 24 23:03:13 2021 +0530 Commit: Stephan Bergmann CommitDate: Mon Feb 8 15:39:01 2021 +0100 tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor Change-Id: Ib7f122b20734ad51c6326e369e5e7eee1bf08a21 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109861 Tested-by: Jenkins Reviewed-by: Stephan Bergmann diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx index c62c96d77328..1540db695b54 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.cxx @@ -169,8 +169,7 @@ sal_Bool SAL_CALL SecurityEnvironment_MSCryptImpl::supportsService( const OUStri } /* XServiceInfo */ uno::Sequence< OUString > SAL_CALL SecurityEnvironment_MSCryptImpl::getSupportedServiceNames() { -uno::Sequence seqServiceNames { "com.sun.star.xml.crypto.SecurityEnvironment" }; -return seqServiceNames ; +return { "com.sun.star.xml.crypto.SecurityEnvironment" }; } /* XUnoTunnel */ diff --git a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx index 00b6e12f7aac..f194106eea5f 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.cxx @@ -161,8 +161,7 @@ sal_Bool SAL_CALL SEInitializer_MSCryptImpl::supportsService( const OUString& rS uno::Sequence< OUString > SAL_CALL SEInitializer_MSCryptImpl::getSupportedServiceNames() { -uno::Sequence aRet { "com.sun.star.xml.crypto.SEInitializer" }; -return aRet; +return { "com.sun.star.xml.crypto.SEInitializer" }; } extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx index 2f33df7c911c..7d71d4863894 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.cxx @@ -142,8 +142,7 @@ sal_Bool SAL_CALL XMLSecurityContext_MSCryptImpl::supportsService( const OUStrin /* XServiceInfo */ uno::Sequence< OUString > SAL_CALL XMLSecurityContext_MSCryptImpl::getSupportedServiceNames() { -uno::Sequence seqServiceNames { "com.sun.star.xml.crypto.XMLSecurityContext" }; -return seqServiceNames ; +return { "com.sun.star.xml.crypto.XMLSecurityContext" }; } extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx index dcbad0348091..3bc02d161722 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.cxx @@ -291,8 +291,7 @@ return cppu::supportsService(this, serviceName); /* XServiceInfo */ Sequence< OUString > SAL_CALL XMLSignature_MSCryptImpl::getSupportedServiceNames() { -Sequence seqServiceNames { "com.sun.star.xml.crypto.XMLSignature" }; -return seqServiceNames ; +return { "com.sun.star.xml.crypto.XMLSignature" }; } extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* diff --git a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx index 2566a40accfb..42d03f2dd81a 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx +++ b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.cxx @@ -136,8 +136,7 @@ sal_Bool SAL_CALL XMLSecurityContext_NssImpl::supportsService( const OUString& s /* XServiceInfo */ uno::Sequence< OUString > SAL_CALL XMLSecurityContext_NssImpl::getSupportedServiceNames() { -uno::Sequence seqServiceNames { "com.sun.star.xml.crypto.XMLSecurityContext" }; -return seqServiceNames ; +return { "com.sun.star.xml.crypto.XMLSecurityContext" }; } extern "C" SAL_DLLPUBLIC_EXPORT uno::XInterface* diff --git a/xmlsecurity/source/xmlsec/xmldocumentwrapper_xmlsecimpl.cxx
[Libreoffice-commits] core.git: canvas/source
canvas/source/directx/dx_surfacebitmap.cxx | 10 +- canvas/source/directx/dx_surfacegraphics.cxx |2 +- 2 files changed, 6 insertions(+), 6 deletions(-) New commits: commit 3ff95c8df6be9aa01aef5c663ee2ffa9881193d4 Author: Tarun Sharma AuthorDate: Thu Jan 14 10:16:35 2021 +0530 Commit: Michael Stahl CommitDate: Wed Jan 20 12:02:53 2021 +0100 tdf#42982: Improve UNO API error reporting Change-Id: Ida34f9428d342cbe7f89f7bf40688c71cdba30c1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109299 Tested-by: Michael Stahl Reviewed-by: Michael Stahl diff --git a/canvas/source/directx/dx_surfacebitmap.cxx b/canvas/source/directx/dx_surfacebitmap.cxx index 0d23674ca91b..a118b31db2d8 100644 --- a/canvas/source/directx/dx_surfacebitmap.cxx +++ b/canvas/source/directx/dx_surfacebitmap.cxx @@ -526,7 +526,7 @@ namespace dxcanvas // getMemoryLayout ) ) { -throw uno::RuntimeException(); +throw uno::RuntimeException("GDIPlus method call was unsuccessful, problem with locking bitmap aRect object"); } // commit data to bitmap @@ -540,7 +540,7 @@ namespace dxcanvas // lock the directx surface to receive the pointer to the surface memory. D3DLOCKED_RECT aLockedRect; if(FAILED(mpSurface->LockRect(,nullptr,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) -throw uno::RuntimeException(); +throw uno::RuntimeException("failed to lock direcrx surface to surface memory"); sal_uInt8 const *pSrc = reinterpret_cast(data.getConstArray()); sal_uInt8 *pDst = (static_cast(aLockedRect.pBits)+(rect.Y1*aLockedRect.Pitch))+rect.X1; @@ -580,7 +580,7 @@ namespace dxcanvas if( Gdiplus::Ok != mpGDIPlusBitmap->SetPixel( pos.X, pos.Y, Gdiplus::Color( tools::sequenceToArgb( color { -throw uno::RuntimeException(); +throw uno::RuntimeException("Problem with setting the color of bitmap object"); } } else @@ -597,7 +597,7 @@ namespace dxcanvas // lock the directx surface to receive the pointer to the surface memory. D3DLOCKED_RECT aLockedRect; if(FAILED(mpSurface->LockRect(,nullptr,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) -throw uno::RuntimeException(); +throw uno::RuntimeException("cannot lock the directx surface to surface memory"); sal_uInt32 *pDst = reinterpret_cast((static_cast(aLockedRect.pBits)+(pos.Y*aLockedRect.Pitch))+pos.X); *pDst = aColor.GetValue(); @@ -640,7 +640,7 @@ namespace dxcanvas // lock the directx surface to receive the pointer to the surface memory. D3DLOCKED_RECT aLockedRect; if(FAILED(mpSurface->LockRect(,nullptr,D3DLOCK_NOSYSLOCK|D3DLOCK_READONLY))) -throw uno::RuntimeException(); +throw uno::RuntimeException("failed to lock directX surface to surface memory"); sal_uInt32 *pDst = reinterpret_cast((static_cast(aLockedRect.pBits)+(pos.Y*aLockedRect.Pitch))+pos.X); Gdiplus::Color aColor(*pDst); diff --git a/canvas/source/directx/dx_surfacegraphics.cxx b/canvas/source/directx/dx_surfacegraphics.cxx index c4f03e9db6ec..a496b41017dd 100644 --- a/canvas/source/directx/dx_surfacegraphics.cxx +++ b/canvas/source/directx/dx_surfacegraphics.cxx @@ -70,7 +70,7 @@ namespace dxcanvas rSurface->ReleaseDC( aHDC ); } -throw uno::RuntimeException(); +throw uno::RuntimeException("could not get the DC to rSurface"); } } ___ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits