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
e49865e7
Kaydet (Commit)
e49865e7
authored
May 24, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
git rid of comm_WORD and comm_DWORD
üst
779b3891
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
13 deletions
+8
-13
commdefines.hxx
automation/inc/automation/commdefines.hxx
+8
-8
commtypes.hxx
automation/inc/automation/commtypes.hxx
+0
-5
No files found.
automation/inc/automation/commdefines.hxx
Dosyayı görüntüle @
e49865e7
...
...
@@ -38,22 +38,22 @@
#include <osl/endian.h>
#ifndef MAKEDWORD
#define MAKEDWORD(wl, wh) ((
comm_DWORD)((wl) & 0xFFFF) | (((comm_DWORD
)(wh) & 0xFFFF) << 16))
#define MAKEDWORD(wl, wh) ((
sal_uInt32)((wl) & 0xFFFF) | (((sal_uInt32
)(wh) & 0xFFFF) << 16))
#endif
#ifndef LOWORD
#define LOWORD(d) ((
comm_WORD)((comm_DWORD
)(d) & 0xFFFF))
#define LOWORD(d) ((
sal_uInt16)((sal_uInt32
)(d) & 0xFFFF))
#endif
#ifndef HIWORD
#define HIWORD(d) ((
comm_WORD)(((comm_DWORD
)(d) >> 16) & 0xFFFF))
#define HIWORD(d) ((
sal_uInt16)(((sal_uInt32
)(d) >> 16) & 0xFFFF))
#endif
#ifndef MAKEWORD
#define MAKEWORD(bl, bh) ((
comm_WORD)((bl) & 0xFF) | (((comm_WORD
)(bh) & 0xFF) << 8))
#define MAKEWORD(bl, bh) ((
sal_uInt16)((bl) & 0xFF) | (((sal_uInt16
)(bh) & 0xFF) << 8))
#endif
#ifndef LOBYTE
#define LOBYTE(w) ((comm_BYTE)((
comm_WORD
)(w) & 0xFF))
#define LOBYTE(w) ((comm_BYTE)((
sal_uInt16
)(w) & 0xFF))
#endif
#ifndef HIBYTE
#define HIBYTE(w) ((comm_BYTE)(((
comm_WORD
)(w) >> 8) & 0xFF))
#define HIBYTE(w) ((comm_BYTE)(((
sal_uInt16
)(w) >> 8) & 0xFF))
#endif
#ifndef MAKEBYTE
#define MAKEBYTE(nl, nh) ((comm_BYTE)(((nl) & 0x0F) | (((nh) & 0x0F) << 4)))
...
...
@@ -74,10 +74,10 @@
#ifdef OSL_BIGENDIAN
#ifndef NETWORD
#define NETWORD(w) (
comm_WORD
)(w)
#define NETWORD(w) (
sal_uInt16
)(w)
#endif
#ifndef NETDWORD
#define NETDWORD(d) (
comm_DWORD
)(d)
#define NETDWORD(d) (
sal_uInt32
)(d)
#endif
#endif // OSL_BIGENDIAN
...
...
automation/inc/automation/commtypes.hxx
Dosyayı görüntüle @
e49865e7
...
...
@@ -38,8 +38,6 @@
/** defines al least types
comm_BYTE
comm_WORD;
comm_DWORD;
comm_BOOL
comm_ULONG
comm_USHORT
...
...
@@ -65,9 +63,6 @@ typedef sal_uInt16 comm_USHORT;
typedef
sal_uInt16
comm_UINT16
;
typedef
sal_uInt32
comm_UINT32
;
typedef
sal_uInt16
comm_WORD
;
typedef
sal_uInt32
comm_DWORD
;
class
String
;
#define comm_String String
...
...
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