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
3f5ccf57
Kaydet (Commit)
3f5ccf57
authored
Ock 26, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix types of functions called via pointer (-fsanitze=function)
Change-Id: Ife0151a04477ce30bb132e6dfae9f4d3a74bf4b0
üst
b6ee5cf7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
8 deletions
+13
-8
service.cxx
scripting/source/vbaevents/service.cxx
+2
-4
eppt.cxx
sd/source/filter/eppt/eppt.cxx
+2
-2
salplug.cxx
vcl/unx/generic/plugadapt/salplug.cxx
+9
-2
No files found.
scripting/source/vbaevents/service.cxx
Dosyayı görüntüle @
3f5ccf57
...
...
@@ -19,8 +19,6 @@
#include "cppuhelper/implementationentry.hxx"
#include <osl/diagnose.h>
#include "com/sun/star/lang/XMultiServiceFactory.hpp"
#include "com/sun/star/registry/XRegistryKey.hpp"
#include <service.hxx>
...
...
@@ -49,8 +47,8 @@ using namespace ::com::sun::star::uno;
extern
"C"
{
SAL_DLLPUBLIC_EXPORT
void
*
SAL_CALL
vbaevents_component_getFactory
(
const
sal_Char
*
pImplName
,
lang
::
XMultiServiceFactory
*
pServiceManager
,
registry
::
XRegistryKey
*
pRegistryKey
)
const
sal_Char
*
pImplName
,
void
*
pServiceManager
,
void
*
pRegistryKey
)
{
OSL_TRACE
(
"In component_getFactory"
);
return
::
cppu
::
component_getFactoryHelper
(
...
...
sd/source/filter/eppt/eppt.cxx
Dosyayı görüntüle @
3f5ccf57
...
...
@@ -1448,7 +1448,7 @@ bool PPTWriter::ImplWriteAtomEnding()
// - exported function -
extern
"C"
SAL_DLLPUBLIC_EXPORT
b
ool
SAL_CALL
ExportPPT
(
const
std
::
vector
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
rMediaData
,
SvStorageRef
&
rSvStorage
,
extern
"C"
SAL_DLLPUBLIC_EXPORT
sal_B
ool
SAL_CALL
ExportPPT
(
const
std
::
vector
<
com
::
sun
::
star
::
beans
::
PropertyValue
>&
rMediaData
,
SvStorageRef
&
rSvStorage
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>
&
rXModel
,
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XStatusIndicator
>
&
rXStatInd
,
SvMemoryStream
*
pVBA
,
sal_uInt32
nCnvrtFlags
)
...
...
@@ -1467,7 +1467,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL ExportPPT( const std::vector< com:
return
bStatus
;
}
extern
"C"
SAL_DLLPUBLIC_EXPORT
b
ool
SAL_CALL
SaveVBA
(
SfxObjectShell
&
rDocShell
,
SvMemoryStream
*&
pBas
)
extern
"C"
SAL_DLLPUBLIC_EXPORT
sal_B
ool
SAL_CALL
SaveVBA
(
SfxObjectShell
&
rDocShell
,
SvMemoryStream
*&
pBas
)
{
SvStorageRef
xDest
(
new
SvStorage
(
new
SvMemoryStream
(),
true
)
);
SvxImportMSVBasic
aMSVBas
(
rDocShell
,
*
xDest
);
...
...
vcl/unx/generic/plugadapt/salplug.cxx
Dosyayı görüntüle @
3f5ccf57
...
...
@@ -139,6 +139,12 @@ static SalInstance* tryInstance( const OUString& rModuleBase, bool bForce = fals
#if !defined(ANDROID)
namespace
{
extern
"C"
typedef
DesktopType
Fn_get_desktop_environment
();
}
static
DesktopType
get_desktop_environment
()
{
OUString
aModule
(
DESKTOP_DETECTOR_DLL_NAME
);
...
...
@@ -148,8 +154,9 @@ static DesktopType get_desktop_environment()
DesktopType
ret
=
DESKTOP_UNKNOWN
;
if
(
aMod
)
{
DesktopType
(
*
pSym
)()
=
reinterpret_cast
<
DesktopType
(
*
)()
>
(
osl_getAsciiFunctionSymbol
(
aMod
,
"get_desktop_environment"
));
Fn_get_desktop_environment
*
pSym
=
reinterpret_cast
<
Fn_get_desktop_environment
*>
(
osl_getAsciiFunctionSymbol
(
aMod
,
"get_desktop_environment"
));
if
(
pSym
)
ret
=
pSym
();
}
...
...
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