summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-09-07 11:33:15 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-09-07 13:52:50 +0200
commitf8a1dd7388403ecd7eecb4bfbc26e2732e01891e (patch)
tree34373a7cbb9582f9f7984c4b6227c7eacf68ac19 /sd/source
parentb4a82907eb13de4feabc9f09f8fa7d45d6c9eaec (diff)
sd: rename WriteAnimationNodeAudio to Media
Because XAudio means both video and audio, see <https://gerrit.libreoffice.org/c/core/+/139265/comments/479934b4_978756a7>. Change-Id: I4d631d55ec1694c11e24c65b0826771c87457cdc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139579 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/pptx-animations.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sd/source/filter/eppt/pptx-animations.cxx b/sd/source/filter/eppt/pptx-animations.cxx
index 1c901573c00a..1d53833fa89f 100644
--- a/sd/source/filter/eppt/pptx-animations.cxx
+++ b/sd/source/filter/eppt/pptx-animations.cxx
@@ -633,7 +633,8 @@ class PPTXAnimationExport
void WriteAnimationNodeSeq();
void WriteAnimationNodeEffect();
void WriteAnimationNodeCommand();
- void WriteAnimationNodeAudio();
+ /// Handles XAudio nodes, used for both video and audio.
+ void WriteAnimationNodeMedia();
void WriteAnimationNodeCommonPropsStart();
void WriteAnimationTarget(const Any& rTarget);
void WriteAnimationCondList(const Any& rAny, sal_Int32 nToken);
@@ -1217,9 +1218,9 @@ void PPTXAnimationExport::WriteAnimationNodeCommand()
mpFS->endElementNS(XML_p, XML_cmd);
}
-void PPTXAnimationExport::WriteAnimationNodeAudio()
+void PPTXAnimationExport::WriteAnimationNodeMedia()
{
- SAL_INFO("sd.eppt", "write animation node audio");
+ SAL_INFO("sd.eppt", "write animation node media");
Reference<XAudio> xAudio(getCurrentNode(), UNO_QUERY);
OUString sUrl;
@@ -1350,7 +1351,7 @@ void PPTXAnimationExport::WriteAnimationNode(const NodeContextPtr& pContext)
WriteAnimationNodeCommand();
break;
case XML_audio:
- WriteAnimationNodeAudio();
+ WriteAnimationNodeMedia();
break;
default:
SAL_WARN("sd.eppt", "export ooxml node type: " << xmlNodeType);