summaryrefslogtreecommitdiff
path: root/sw/source/ui/app
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2013-11-08 11:58:25 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-08 14:23:12 +0100
commit53163026efa4b402000ac6d22d90a71bff961ece (patch)
tree8b4c61037e589e91d9ee648a98f6ed170b764de3 /sw/source/ui/app
parent605f7c34b8598c6b3a5748d5a5382c07d743706c (diff)
sw: add InteropGrabBag for list styles
Change-Id: I2881a507d71aad10e39272141b5d63c6e39e2cc9
Diffstat (limited to 'sw/source/ui/app')
-rw-r--r--sw/source/ui/app/docstyle.cxx17
1 files changed, 17 insertions, 0 deletions
diff --git a/sw/source/ui/app/docstyle.cxx b/sw/source/ui/app/docstyle.cxx
index 9fc712fe705f..65834bc07b4e 100644
--- a/sw/source/ui/app/docstyle.cxx
+++ b/sw/source/ui/app/docstyle.cxx
@@ -452,6 +452,16 @@ void SwDocStyleSheet::SetGrabBagItem(const uno::Any& rVal)
bChg = true;
}
break;
+ case SFX_STYLE_FAMILY_PSEUDO:
+ {
+ SwNumRule* pRule = rDoc.FindNumRulePtr(aName);
+ if (pRule)
+ {
+ pRule->SetGrabBagItem(rVal);
+ bChg = true;
+ }
+ }
+ break;
default:
break;
}
@@ -479,6 +489,13 @@ void SwDocStyleSheet::GetGrabBagItem(uno::Any& rVal) const
pFmt = rDoc.FindTxtFmtCollByName(aName);
pFmt->GetGrabBagItem(rVal);
break;
+ case SFX_STYLE_FAMILY_PSEUDO:
+ {
+ SwNumRule* pRule = rDoc.FindNumRulePtr(aName);
+ if (pRule)
+ pRule->GetGrabBagItem(rVal);
+ }
+ break;
default:
break;
}