From 53163026efa4b402000ac6d22d90a71bff961ece Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 8 Nov 2013 11:58:25 +0100 Subject: sw: add InteropGrabBag for list styles Change-Id: I2881a507d71aad10e39272141b5d63c6e39e2cc9 --- sw/source/ui/app/docstyle.cxx | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'sw/source/ui/app') 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; } -- cgit