sw/source/writerfilter/dmapper/DomainMapperTableHandler.cxx |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 53413b863e1b6df7f4276c54a341ef20fe2fe9a7
Author:     Noel Grandin <noelgran...@gmail.com>
AuthorDate: Mon Aug 12 16:51:24 2024 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Mon Aug 12 19:13:30 2024 +0200

    use more concrete UNO type in writerfilter
    
    Change-Id: Ibbb6faed161c110416a93236eeee6adfa9c2cd86
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171796
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/sw/source/writerfilter/dmapper/DomainMapperTableHandler.cxx 
b/sw/source/writerfilter/dmapper/DomainMapperTableHandler.cxx
index a4a402af207e..1a5fe534292e 100644
--- a/sw/source/writerfilter/dmapper/DomainMapperTableHandler.cxx
+++ b/sw/source/writerfilter/dmapper/DomainMapperTableHandler.cxx
@@ -1545,9 +1545,8 @@ void DomainMapperTableHandler::endTable(unsigned int 
nestedTableLevel)
                                     
xFirstCell->getPropertyValue(OUString(aBorderNames[i]))
                                         >>= aBorderValues[i];
 
-                                uno::Reference<beans::XPropertySet> xLastCell(
-                                    xTable->getCellByPosition(it->m_nLastCol, 
it->m_nLastRow),
-                                    uno::UNO_QUERY_THROW);
+                                rtl::Reference<SwXCell> xLastCell =
+                                    
xTable->getSwCellByPosition(it->m_nLastCol, it->m_nLastRow);
                                 OUString aLast
                                     = 
xLastCell->getPropertyValue(u"CellName"_ustr).get<OUString>();
 

Reply via email to