summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdoattr.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 12:11:55 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 12:11:55 +0000
commit0a99745f8fce2325fa6c909e07a57e6d8bd559e5 (patch)
treec95fa7bab1694f4198d86fe1d601010e8935d569 /svx/source/svdraw/svdoattr.cxx
parent3d4a22e710790915db39c28e355327d99e5bdaac (diff)
INTEGRATION: CWS sb59 (1.44.60); FILE MERGED
2006/08/28 12:58:02 sb 1.44.60.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svx/source/svdraw/svdoattr.cxx')
-rw-r--r--svx/source/svdraw/svdoattr.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx
index 28ea2008157f..b46fa6a905d7 100644
--- a/svx/source/svdraw/svdoattr.cxx
+++ b/svx/source/svdraw/svdoattr.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svdoattr.cxx,v $
*
- * $Revision: 1.46 $
+ * $Revision: 1.47 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 05:53:36 $
+ * last change: $Author: obo $ $Date: 2006-10-12 13:11:55 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -719,8 +719,7 @@ FASTBOOL SdrAttrObj::ImpSetShadowAttributes( const SfxItemSet& rSet, SfxItemSet&
BOOL SdrAttrObj::HasFill() const
{
- return (!bClosedObj) ? FALSE
- : ((XFillStyleItem&)(GetProperties().GetObjectItemSet().Get(XATTR_FILLSTYLE))).GetValue()!=XFILL_NONE;
+ return bClosedObj && ((XFillStyleItem&)(GetProperties().GetObjectItemSet().Get(XATTR_FILLSTYLE))).GetValue()!=XFILL_NONE;
}
BOOL SdrAttrObj::HasLine() const