Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
14eea8a7
Kaydet (Commit)
14eea8a7
authored
Şub 12, 2019
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix build without HAVE_FEATURE_AVMEDIA (iOS at least)
Change-Id: I72d7c7478eba13db93cb88b86e911163c38b312b
üst
204c5d17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
soundactioncontext.cxx
oox/source/ppt/soundactioncontext.cxx
+4
-0
timetargetelementcontext.cxx
oox/source/ppt/timetargetelementcontext.cxx
+6
-1
No files found.
oox/source/ppt/soundactioncontext.cxx
Dosyayı görüntüle @
14eea8a7
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#include <config_features.h>
#include <oox/ppt/soundactioncontext.hxx>
#include <oox/ppt/soundactioncontext.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/exc_hlp.hxx>
...
@@ -56,6 +58,7 @@ namespace oox { namespace ppt {
...
@@ -56,6 +58,7 @@ namespace oox { namespace ppt {
if
(
mbHasStartSound
)
if
(
mbHasStartSound
)
{
{
OUString
url
;
OUString
url
;
#if HAVE_FEATURE_AVMEDIA
if
(
!
msSndName
.
isEmpty
()
)
if
(
!
msSndName
.
isEmpty
()
)
{
{
Reference
<
css
::
io
::
XInputStream
>
Reference
<
css
::
io
::
XInputStream
>
...
@@ -66,6 +69,7 @@ namespace oox { namespace ppt {
...
@@ -66,6 +69,7 @@ namespace oox { namespace ppt {
xInputStream
->
closeInput
();
xInputStream
->
closeInput
();
}
}
}
}
#endif
if
(
!
url
.
isEmpty
()
)
if
(
!
url
.
isEmpty
()
)
{
{
maSlideProperties
.
setProperty
(
PROP_Sound
,
url
);
maSlideProperties
.
setProperty
(
PROP_Sound
,
url
);
...
...
oox/source/ppt/timetargetelementcontext.cxx
Dosyayı görüntüle @
14eea8a7
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#include <config_features.h>
#include "timetargetelementcontext.hxx"
#include "timetargetelementcontext.hxx"
#include <cppuhelper/exc_hlp.hxx>
#include <cppuhelper/exc_hlp.hxx>
...
@@ -125,8 +127,10 @@ namespace oox { namespace ppt {
...
@@ -125,8 +127,10 @@ namespace oox { namespace ppt {
return
this
;
return
this
;
case
PPT_TOKEN
(
sndTgt
):
case
PPT_TOKEN
(
sndTgt
):
{
{
OUString
srcFile
=
drawingml
::
getEmbeddedWAVAudioFile
(
getRelations
(),
rAttribs
);
mpTarget
->
mnType
=
XML_sndTgt
;
mpTarget
->
mnType
=
XML_sndTgt
;
#if HAVE_FEATURE_AVMEDIA
OUString
srcFile
=
drawingml
::
getEmbeddedWAVAudioFile
(
getRelations
(),
rAttribs
);
Reference
<
css
::
io
::
XInputStream
>
Reference
<
css
::
io
::
XInputStream
>
xInputStream
=
getFilter
().
openInputStream
(
srcFile
);
xInputStream
=
getFilter
().
openInputStream
(
srcFile
);
...
@@ -135,6 +139,7 @@ namespace oox { namespace ppt {
...
@@ -135,6 +139,7 @@ namespace oox { namespace ppt {
::
avmedia
::
EmbedMedia
(
getFilter
().
getModel
(),
srcFile
,
mpTarget
->
msValue
,
xInputStream
);
::
avmedia
::
EmbedMedia
(
getFilter
().
getModel
(),
srcFile
,
mpTarget
->
msValue
,
xInputStream
);
xInputStream
->
closeInput
();
xInputStream
->
closeInput
();
}
}
#endif
break
;
break
;
}
}
case
PPT_TOKEN
(
spTgt
):
case
PPT_TOKEN
(
spTgt
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment