svx/source/svdraw/svdomedia.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 883991127988582d952abd29e0282ab5b5a916b8
Author:     Ashod Nakashian <ashod.nakash...@collabora.co.uk>
AuthorDate: Fri Oct 28 07:35:26 2022 -0400
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Nov 1 21:11:13 2022 +0100

    svx: minor simplification
    
    Hoping this might help the iOS build, which says:
    
    Undefined symbols for architecture arm64:
      "avmedia::MediaItem::getTempURL() const", referenced from:
        SdrMediaObj::notifyPropertiesForLOKit() in
            libsvxcorelo.a(svdomedia.o)
    
    ld: symbol(s) not found for architecture arm64
    
    Signed-off-by: Ashod Nakashian <ashod.nakash...@collabora.co.uk>
    Change-Id: Ie12ac09063a07cea566cdda066b03ca1e3cd5296
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141971
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Szymon Kłos <szymon.k...@collabora.com>

diff --git a/svx/source/svdraw/svdomedia.cxx b/svx/source/svdraw/svdomedia.cxx
index 54ebed5425db..75bfce24428c 100644
--- a/svx/source/svdraw/svdomedia.cxx
+++ b/svx/source/svdraw/svdomedia.cxx
@@ -445,14 +445,14 @@ void SdrMediaObj::mediaPropertiesChanged( const 
::avmedia::MediaItem& rNewProper
 void SdrMediaObj::notifyPropertiesForLOKit()
 {
 #if HAVE_FEATURE_AVMEDIA
-    if (!m_xImpl->m_MediaProperties.getTempURL().isEmpty())
+    if (!getTempURL().isEmpty())
     {
         const auto mediaId = reinterpret_cast<std::size_t>(this);
 
         boost::property_tree::ptree json;
         json.put("action", "update");
         json.put("id", mediaId);
-        json.put("url", m_xImpl->m_MediaProperties.getTempURL());
+        json.put("url", getTempURL());
 
         const tools::Rectangle aRect = o3tl::convert(maRect, 
o3tl::Length::mm100, o3tl::Length::twip);
         json.put("x", aRect.getX());

Reply via email to