This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new f81db1b  Final Fix for close button (Help Agent)
f81db1b is described below

commit f81db1be87800519aac8a69f6f2ad4f96b441ad1
Author: mseidel <msei...@apache.org>
AuthorDate: Wed Jul 29 20:26:11 2020 +0200

    Final Fix for close button (Help Agent)
    
    (cherry picked from commit 3186947381bfdadd566e1c78a5232f11dd7a6757)
---
 main/svtools/source/misc/helpagentwindow.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/main/svtools/source/misc/helpagentwindow.cxx 
b/main/svtools/source/misc/helpagentwindow.cxx
index f09682c..0ffc069 100644
--- a/main/svtools/source/misc/helpagentwindow.cxx
+++ b/main/svtools/source/misc/helpagentwindow.cxx
@@ -72,7 +72,8 @@ namespace svt
        {
                // -----------------
                // the closer button
-               Bitmap aCloserImage(SvtResId(BMP_HELP_AGENT_CLOSER));
+               Bitmap aCloserBitmap(SvtResId(BMP_HELP_AGENT_CLOSER));
+               Image aCloserImage( aCloserBitmap, Color(COL_BLACK) );
                m_pCloser = new CloserButton_Impl( this, WB_NOTABSTOP | 
WB_NOPOINTERFOCUS );
                static_cast<CloserButton_Impl*>(m_pCloser)->SetModeImage( 
aCloserImage );
                static_cast<CloserButton_Impl*>(m_pCloser)->SetClickHdl( 
LINK(this, HelpAgentWindow, OnButtonClicked) );

Reply via email to