summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-06-13 20:02:07 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-06-14 08:11:28 +0200
commitb6758293e65864530f1b2508ec426bb4f0268c75 (patch)
tree45cc0f35820afa9ef2c7cc36c9ffd523ac71163e /xmloff/source
parentb7d6c3ce33ae06e6a61eac0e185121cb3931f61f (diff)
Remove some unused includes
See tdf#42949 for motivation. Change-Id: I157b331195cc8262e6bd1dcc536cb653587fc45f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135775 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'xmloff/source')
-rw-r--r--xmloff/source/text/xmllinebreakcontext.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/text/xmllinebreakcontext.cxx b/xmloff/source/text/xmllinebreakcontext.cxx
index 52bf7920e4b9..67b56c2d32c8 100644
--- a/xmloff/source/text/xmllinebreakcontext.cxx
+++ b/xmloff/source/text/xmllinebreakcontext.cxx
@@ -38,7 +38,8 @@ SvXMLLineBreakContext::SvXMLLineBreakContext(SvXMLImport& rImport, XMLTextImport
void SvXMLLineBreakContext::startFastElement(
sal_Int32 /*nElement*/, const uno::Reference<xml::sax::XFastAttributeList>& xAttrList)
{
- uno::Reference<lang::XMultiServiceFactory> xFactory(GetImport().GetModel(), uno::UNO_QUERY);
+ const uno::Reference<frame::XModel>& xModel = GetImport().GetModel();
+ uno::Reference<lang::XMultiServiceFactory> xFactory(xModel, uno::UNO_QUERY);
if (!xFactory.is())
return;