summaryrefslogtreecommitdiffstats
path: root/svx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-01-29 11:44:14 +0100
committerMiklos Vajna <vmiklos@suse.cz>2013-01-29 15:21:00 +0100
commitac8aee92c797dd7353978f1e7aec7336b7cb726d (patch)
treed1982bb80e7ada217c9078df5dc8e1860f74914c /svx
parentxmloff: export Wrtier's RES_FILL_STYLE and RES_FILL_GRADIENT (diff)
downloadcore-ac8aee92c797dd7353978f1e7aec7336b7cb726d.tar.gz
core-ac8aee92c797dd7353978f1e7aec7336b7cb726d.zip
sw: import draw:fill-gradient-name for Writer textframes
Change-Id: I695cf16bc3b06823ae9e0546cb751e41eb201706
Diffstat (limited to 'svx')
-rw-r--r--svx/source/xoutdev/xattr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 2266cdda974a..561f29514c7c 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -3594,7 +3594,7 @@ XFillGradientItem* XFillGradientItem::checkForUniqueItem( SdrModel* pModel ) con
if( pModel )
{
const String aUniqueName = NameOrIndex::CheckNamedItem(
- this, XATTR_FILLGRADIENT, &pModel->GetItemPool(),
+ this, Which(), &pModel->GetItemPool(),
pModel->GetStyleSheetPool() ? &pModel->GetStyleSheetPool()->GetPool() : NULL,
XFillGradientItem::CompareValueFunc, RID_SVXSTR_GRADIENT,
pModel->GetPropertyList( XGRADIENT_LIST ) );