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
57091022
Kaydet (Commit)
57091022
authored
Kas 09, 2011
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Getting completely rid of the int32 and whatever
üst
0a096fd9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
46 deletions
+6
-46
npshell.cxx
extensions/source/nsplugin/source/npshell.cxx
+0
-19
npshell.hxx
extensions/source/nsplugin/source/npshell.hxx
+2
-2
plugcon.hxx
extensions/source/plugin/inc/plugin/unx/plugcon.hxx
+0
-21
npnapi.cxx
extensions/source/plugin/unx/npnapi.cxx
+3
-3
nppapi.cxx
extensions/source/plugin/unx/nppapi.cxx
+1
-1
No files found.
extensions/source/nsplugin/source/npshell.cxx
Dosyayı görüntüle @
57091022
...
...
@@ -71,25 +71,6 @@
#include "boost/scoped_array.hpp"
#include "tools/pathutils.hxx"
//http://qa.openoffice.org/issues/show_bug.cgi?id=82545
//https://bugzilla.mozilla.org/show_bug.cgi?id=241262
#ifndef _UINT32
# if defined(__alpha) || defined(__LP64__) || defined(AIX) || defined(WNT)
typedef
unsigned
int
uint32
;
# else
/* __alpha */
typedef
unsigned
long
uint32
;
# endif
# define _UINT32
#endif
#ifndef _INT32
# if defined(__alpha) || defined(__LP64__) || defined(AIX) || defined(WNT)
typedef
int
int32
;
# else
/* __alpha */
typedef
long
int32
;
# endif
# define _INT32
#endif
#include "npapi.h"
#include "npshell.hxx"
#include "so_env.hxx"
...
...
extensions/source/nsplugin/source/npshell.hxx
Dosyayı görüntüle @
57091022
...
...
@@ -42,8 +42,8 @@ typedef struct _PluginInstance
Window
window
;
Display
*
display
;
#endif
uint32
x
,
y
;
uint32
width
,
height
;
uint32
_t
x
,
y
;
uint32
_t
width
,
height
;
NPMIMEType
type
;
char
*
message
;
...
...
extensions/source/plugin/inc/plugin/unx/plugcon.hxx
Dosyayı görüntüle @
57091022
...
...
@@ -73,27 +73,6 @@ extern "C" {
#define MOZ_X11
#endif
//http://qa.openoffice.org/issues/show_bug.cgi?id=82545
//https://bugzilla.mozilla.org/show_bug.cgi?id=241262
#ifdef UNIX
# ifndef _UINT32
# if defined(__alpha) || defined(__LP64__) || defined(AIX)
typedef
unsigned
int
uint32
;
# else
/* __alpha */
typedef
unsigned
long
uint32
;
# endif
# define _UINT32
# endif
# ifndef _INT32
# if defined(__alpha) || defined(__LP64__) || defined(AIX)
typedef
int
int32
;
# else
/* __alpha */
typedef
long
int32
;
# endif
# define _INT32
# endif
#endif
#if ! defined ( _NPAPI_H_) && ! defined (npapi_h_)
extern
"C"
{
#include <npsdk/npupp.h>
...
...
extensions/source/plugin/unx/npnapi.cxx
Dosyayı görüntüle @
57091022
...
...
@@ -811,7 +811,7 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ )
NPP
instance
=
m_aInstances
[
nInstance
]
->
instance
;
sal_uInt32
nFileID
=
pMessage
->
GetUINT32
();
NPStream
*
pStream
=
m_aNPWrapStreams
[
nFileID
];
int32
nRet
=
aPluginFuncs
.
writeready
(
instance
,
pStream
);
int32
_t
nRet
=
aPluginFuncs
.
writeready
(
instance
,
pStream
);
medDebug
(
1
,
"pluginapp: NPP_WriteReady( %p, %p ) (stream id = %d) returns %d
\n
"
,
instance
,
pStream
,
nFileID
,
nRet
);
...
...
@@ -827,10 +827,10 @@ IMPL_LINK( PluginConnector, WorkOnNewMessageHdl, Mediator*, /*pMediator*/ )
NPP
instance
=
m_aInstances
[
nInstance
]
->
instance
;
sal_uInt32
nFileID
=
pMessage
->
GetUINT32
();
NPStream
*
pStream
=
m_aNPWrapStreams
[
nFileID
];
int32
offset
=
pMessage
->
GetUINT32
();
int32
_t
offset
=
pMessage
->
GetUINT32
();
sal_uLong
len
;
char
*
buffer
=
(
char
*
)
pMessage
->
GetBytes
(
len
);
int32
nRet
=
aPluginFuncs
.
write
(
instance
,
pStream
,
offset
,
len
,
buffer
);
int32
_t
nRet
=
aPluginFuncs
.
write
(
instance
,
pStream
,
offset
,
len
,
buffer
);
medDebug
(
1
,
"pluginapp: NPP_Write( %p, %p, %d, %d, %p ) returns %d
\n
"
"stream = { pdata = %p, ndata = %p, url = %s, end = %d, lastmodified = %d, notifyData = %p }
\n
"
,
...
...
extensions/source/plugin/unx/nppapi.cxx
Dosyayı görüntüle @
57091022
...
...
@@ -571,7 +571,7 @@ int32_t UnxPluginComm::NPP_Write( NPP instance, NPStream* stream, int32_t offset
if
(
!
pMes
)
return
0
;
int32
aRet
=
pMes
->
GetUINT32
();
int32
_t
aRet
=
pMes
->
GetUINT32
();
delete
pMes
;
return
aRet
;
...
...
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