From f4528a1ba6a95dabc00901bfbe99f4e1bd094256 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolnai=20Tam=C3=A1s?= Date: Mon, 11 Aug 2014 17:53:31 +0200 Subject: [PATCH] Add a border to opengl chart to make it easier to handle. Change-Id: I74bc636dc0a37d70f45fe2eac0b8b60e3f6318bb --- embeddedobj/source/general/docholder.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/embeddedobj/source/general/docholder.cxx b/embeddedobj/source/general/docholder.cxx index 783c99b59165..9bb8581e9ea2 100644 --- a/embeddedobj/source/general/docholder.cxx +++ b/embeddedobj/source/general/docholder.cxx @@ -73,8 +73,7 @@ #include "commonembobj.hxx" #include "intercept.hxx" -#define HATCH_BORDER_WIDTH ((((m_pEmbedObj->getStatus(embed::Aspects::MSOLE_CONTENT)&embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE) || \ - (svt::EmbeddedObjectRef::IsGLChart(m_pEmbedObj)) ) && \ +#define HATCH_BORDER_WIDTH (((m_pEmbedObj->getStatus(embed::Aspects::MSOLE_CONTENT)&embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE) && \ m_pEmbedObj->getCurrentState()!=embed::EmbedStates::UI_ACTIVE) ? 0 : 4 ) using namespace ::com::sun::star;