summaryrefslogtreecommitdiff
path: root/embeddedobj
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-08-11 17:53:31 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-29 17:40:29 +0200
commitf4528a1ba6a95dabc00901bfbe99f4e1bd094256 (patch)
tree01969ce92e8fdc3172ee4e56dea6e16c6c0637dc /embeddedobj
parent8d509d69b434bd70b61cb6eed8b8dc21707726a3 (diff)
Add a border to opengl chart to make it easier to handle.
Change-Id: I74bc636dc0a37d70f45fe2eac0b8b60e3f6318bb
Diffstat (limited to 'embeddedobj')
-rw-r--r--embeddedobj/source/general/docholder.cxx3
1 files changed, 1 insertions, 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;