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
c0b3d5be
Kaydet (Commit)
c0b3d5be
authored
Nis 17, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Try harder to bypass avmedia on non-desktop for now
Change-Id: I8a45f7436383cb904d375d0f0d86416f3ce56567
üst
dfd893dd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
1 deletion
+16
-1
svdobj.cxx
svx/source/svdraw/svdobj.cxx
+4
-0
unopage.cxx
svx/source/unodraw/unopage.cxx
+6
-0
textsh.cxx
sw/source/core/uibase/shells/textsh.cxx
+4
-0
view.cxx
sw/source/core/uibase/uiview/view.cxx
+2
-1
No files found.
svx/source/svdraw/svdobj.cxx
Dosyayı görüntüle @
c0b3d5be
...
@@ -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 "sal/config.h"
#include "sal/config.h"
#include <com/sun/star/lang/XComponent.hpp>
#include <com/sun/star/lang/XComponent.hpp>
...
@@ -3394,7 +3396,9 @@ SdrObject* SdrObjFactory::MakeNewObject(sal_uInt32 nInvent, sal_uInt16 nIdent, S
...
@@ -3394,7 +3396,9 @@ SdrObject* SdrObjFactory::MakeNewObject(sal_uInt32 nInvent, sal_uInt16 nIdent, S
case
sal_uInt16
(
OBJ_PAGE
):
pObj
=
new
SdrPageObj
;
break
;
case
sal_uInt16
(
OBJ_PAGE
):
pObj
=
new
SdrPageObj
;
break
;
case
sal_uInt16
(
OBJ_UNO
):
pObj
=
new
SdrUnoObj
(
OUString
());
break
;
case
sal_uInt16
(
OBJ_UNO
):
pObj
=
new
SdrUnoObj
(
OUString
());
break
;
case
sal_uInt16
(
OBJ_CUSTOMSHAPE
):
pObj
=
new
SdrObjCustomShape
();
break
;
case
sal_uInt16
(
OBJ_CUSTOMSHAPE
):
pObj
=
new
SdrObjCustomShape
();
break
;
#if HAVE_FEATURE_DESKTOP
case
sal_uInt16
(
OBJ_MEDIA
):
pObj
=
new
SdrMediaObj
();
break
;
case
sal_uInt16
(
OBJ_MEDIA
):
pObj
=
new
SdrMediaObj
();
break
;
#endif
case
sal_uInt16
(
OBJ_TABLE
):
pObj
=
new
::
sdr
::
table
::
SdrTableObj
(
pModel
);
break
;
case
sal_uInt16
(
OBJ_TABLE
):
pObj
=
new
::
sdr
::
table
::
SdrTableObj
(
pModel
);
break
;
case
sal_uInt16
(
OBJ_OPENGL
):
pObj
=
new
SdrOpenGLObj
;
break
;
case
sal_uInt16
(
OBJ_OPENGL
):
pObj
=
new
SdrOpenGLObj
;
break
;
}
}
...
...
svx/source/unodraw/unopage.cxx
Dosyayı görüntüle @
c0b3d5be
...
@@ -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 <com/sun/star/document/EventObject.hpp>
#include <com/sun/star/document/EventObject.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <osl/mutex.hxx>
#include <osl/mutex.hxx>
...
@@ -536,11 +538,13 @@ void SvxDrawPage::GetTypeAndInventor( sal_uInt16& rType, sal_uInt32& rInventor,
...
@@ -536,11 +538,13 @@ void SvxDrawPage::GetTypeAndInventor( sal_uInt16& rType, sal_uInt32& rInventor,
rInventor
=
SdrInventor
;
rInventor
=
SdrInventor
;
rType
=
OBJ_TABLE
;
rType
=
OBJ_TABLE
;
}
}
#if HAVE_FEATURE_DESKTOP
else
if
(
aName
==
"com.sun.star.presentation.MediaShape"
)
else
if
(
aName
==
"com.sun.star.presentation.MediaShape"
)
{
{
rInventor
=
SdrInventor
;
rInventor
=
SdrInventor
;
rType
=
OBJ_MEDIA
;
rType
=
OBJ_MEDIA
;
}
}
#endif
}
}
else
if
(
nTempType
&
E3D_INVENTOR_FLAG
)
else
if
(
nTempType
&
E3D_INVENTOR_FLAG
)
{
{
...
@@ -732,9 +736,11 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt3
...
@@ -732,9 +736,11 @@ SvxShape* SvxDrawPage::CreateShapeByTypeAndInventor( sal_uInt16 nType, sal_uInt3
case
OBJ_CUSTOMSHAPE
:
case
OBJ_CUSTOMSHAPE
:
pRet
=
new
SvxCustomShape
(
pObj
);
pRet
=
new
SvxCustomShape
(
pObj
);
break
;
break
;
#if HAVE_FEATURE_DESKTOP
case
OBJ_MEDIA
:
case
OBJ_MEDIA
:
pRet
=
new
SvxMediaShape
(
pObj
,
referer
);
pRet
=
new
SvxMediaShape
(
pObj
,
referer
);
break
;
break
;
#endif
case
OBJ_TABLE
:
case
OBJ_TABLE
:
pRet
=
new
SvxTableShape
(
pObj
);
pRet
=
new
SvxTableShape
(
pObj
);
break
;
break
;
...
...
sw/source/core/uibase/shells/textsh.cxx
Dosyayı görüntüle @
c0b3d5be
...
@@ -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 <hintids.hxx>
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <comphelper/string.hxx>
#include <svl/globalnameitem.hxx>
#include <svl/globalnameitem.hxx>
...
@@ -224,6 +226,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
...
@@ -224,6 +226,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
rReq
.
Done
();
rReq
.
Done
();
break
;
break
;
#if HAVE_FEATURE_DESKTOP
case
SID_INSERT_AVMEDIA
:
case
SID_INSERT_AVMEDIA
:
rReq
.
SetReturnValue
(
SfxBoolItem
(
nSlot
,
InsertMediaDlg
(
rReq
)));
rReq
.
SetReturnValue
(
SfxBoolItem
(
nSlot
,
InsertMediaDlg
(
rReq
)));
break
;
break
;
...
@@ -267,6 +270,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
...
@@ -267,6 +270,7 @@ void SwTextShell::ExecInsert(SfxRequest &rReq)
}
}
}
}
break
;
break
;
#endif
case
SID_INSERT_OBJECT
:
case
SID_INSERT_OBJECT
:
case
SID_INSERT_PLUGIN
:
case
SID_INSERT_PLUGIN
:
...
...
sw/source/core/uibase/uiview/view.cxx
Dosyayı görüntüle @
c0b3d5be
...
@@ -337,13 +337,14 @@ void SwView::SelectShell()
...
@@ -337,13 +337,14 @@ void SwView::SelectShell()
m_pShell
=
new
SwBezierShell
(
*
this
);
m_pShell
=
new
SwBezierShell
(
*
this
);
rDispatcher
.
Push
(
*
m_pShell
);
rDispatcher
.
Push
(
*
m_pShell
);
}
}
#if HAVE_FEATURE_DESKTOP
else
if
(
m_nSelectionType
&
nsSelectionType
::
SEL_MEDIA
)
else
if
(
m_nSelectionType
&
nsSelectionType
::
SEL_MEDIA
)
{
{
eShellMode
=
SHELL_MODE_MEDIA
;
eShellMode
=
SHELL_MODE_MEDIA
;
m_pShell
=
new
SwMediaShell
(
*
this
);
m_pShell
=
new
SwMediaShell
(
*
this
);
rDispatcher
.
Push
(
*
m_pShell
);
rDispatcher
.
Push
(
*
m_pShell
);
}
}
#endif
if
(
m_nSelectionType
&
nsSelectionType
::
SEL_EXTRUDED_CUSTOMSHAPE
)
if
(
m_nSelectionType
&
nsSelectionType
::
SEL_EXTRUDED_CUSTOMSHAPE
)
{
{
eShellMode
=
SHELL_MODE_EXTRUDED_CUSTOMSHAPE
;
eShellMode
=
SHELL_MODE_EXTRUDED_CUSTOMSHAPE
;
...
...
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