diff options
author | jp <jp@openoffice.org> | 2000-10-31 14:41:51 +0000 |
---|---|---|
committer | jp <jp@openoffice.org> | 2000-10-31 14:41:51 +0000 |
commit | 68a7a6fb41b793922f12798a322da555e6e8792d (patch) | |
tree | 8c9451dd9e321e96216e39c4410f10603a163f51 /sw/source/core/graphic | |
parent | c3363f46cf22b20ff9ebfb3f03b321454d8c1499 (diff) |
Bug #79912#: IsTransparent - ask the attribut too
Diffstat (limited to 'sw/source/core/graphic')
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 19975c232596..e3f300614160 100644 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ndgrf.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: os $ $Date: 2000-10-17 15:36:23 $ + * last change: $Author: jp $ $Date: 2000-10-31 15:40:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1119,5 +1119,12 @@ GraphicAttr& SwGrfNode::GetGraphicAttr( GraphicAttr& rGA, return rGA; } +BOOL SwGrfNode::IsTransparent() const +{ + BOOL bRet = aGrfObj.IsTransparent(); + if( !bRet ) // ask the attribut + bRet = 0 != GetSwAttrSet().GetTransparencyGrf().GetValue(); + return bRet; +} |