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

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


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

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

    Final Fix for close button (Help Agent)
---
 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