diff options
Diffstat (limited to 'sw/source/filter/xml/xmlexp.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlexp.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/filter/xml/xmlexp.cxx b/sw/source/filter/xml/xmlexp.cxx index e12b3f3631bd..fca627d3af85 100644 --- a/sw/source/filter/xml/xmlexp.cxx +++ b/sw/source/filter/xml/xmlexp.cxx @@ -361,7 +361,7 @@ void SwXMLExport::GetViewSettings(Sequence<PropertyValue>& aProps) Reference < XIndexContainer > xBox = IndexedPropertyValues::create( comphelper::getProcessComponentContext() ); pValue[nIndex].Name = OUString( "Views"); - pValue[nIndex++].Value <<= Reference < XIndexAccess > ( xBox, UNO_QUERY ); + pValue[nIndex++].Value <<= xBox; SwDoc *pDoc = getDoc(); const Rectangle rRect = @@ -464,9 +464,8 @@ void SwXMLExport::_ExportContent() if (xPage.is()) { // prevent export of form controls which are embedded in mute sections - Reference<XIndexAccess> xIAPage( xPage, UNO_QUERY ); GetTextParagraphExport()->PreventExportOfControlsInMuteSections( - xIAPage, GetFormExport() ); + xPage, GetFormExport() ); // #i36597# if ( GetFormExport()->pageContainsForms( xPage ) || GetFormExport()->documentContainsXForms() ) |