summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2022-10-28 07:35:26 -0400
committerAndras Timar <andras.timar@collabora.com>2022-11-01 21:11:13 +0100
commit883991127988582d952abd29e0282ab5b5a916b8 (patch)
treef53ca67081eb3bfdd052340da821c0d311724703
parent45b2c7df4a11f85f6fe02893026067dd66186f25 (diff)
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.nakashian@collabora.co.uk> Change-Id: Ie12ac09063a07cea566cdda066b03ca1e3cd5296 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141971 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
-rw-r--r--svx/source/svdraw/svdomedia.cxx4
1 files changed, 2 insertions, 2 deletions
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());