diff options
Diffstat (limited to 'xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx index 8b1f0c0d0424..c71cd9fedcc9 100644 --- a/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx +++ b/xmloff/source/text/XMLIndexChapterInfoEntryContext.cxx @@ -177,17 +177,13 @@ void XMLIndexChapterInfoEntryContext::FillPropertyValues( { // chapter info field rValues[nIndex].Name = rTemplateContext.sChapterFormat; - Any aAny; - aAny <<= nChapterInfo; - rValues[nIndex].Value = aAny; + rValues[nIndex].Value = css::uno::Any(nChapterInfo); nIndex++; } if( bOutlineLevelOK ) { rValues[nIndex].Name = rTemplateContext.sChapterLevel; - Any aAny; - aAny <<= nOutlineLevel; - rValues[nIndex].Value = aAny; + rValues[nIndex].Value = css::uno::Any(nOutlineLevel); } } |