Add a border to opengl chart to make it easier to handle.

Change-Id: I74bc636dc0a37d70f45fe2eac0b8b60e3f6318bb
This commit is contained in:
Zolnai Tamás
2014-08-11 17:53:31 +02:00
committed by Markus Mohrhard
parent 8d509d69b4
commit f4528a1ba6

View File

@@ -73,8 +73,7 @@
#include "commonembobj.hxx" #include "commonembobj.hxx"
#include "intercept.hxx" #include "intercept.hxx"
#define HATCH_BORDER_WIDTH ((((m_pEmbedObj->getStatus(embed::Aspects::MSOLE_CONTENT)&embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE) || \ #define HATCH_BORDER_WIDTH (((m_pEmbedObj->getStatus(embed::Aspects::MSOLE_CONTENT)&embed::EmbedMisc::MS_EMBED_ACTIVATEWHENVISIBLE) && \
(svt::EmbeddedObjectRef::IsGLChart(m_pEmbedObj)) ) && \
m_pEmbedObj->getCurrentState()!=embed::EmbedStates::UI_ACTIVE) ? 0 : 4 ) m_pEmbedObj->getCurrentState()!=embed::EmbedStates::UI_ACTIVE) ? 0 : 4 )
using namespace ::com::sun::star; using namespace ::com::sun::star;