summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarcos Paulo de Souza <marcos.souza.org@gmail.com>2014-01-25 10:16:24 -0200
committerCaolán McNamara <caolanm@redhat.com>2014-01-30 16:54:16 +0000
commit73d713a1b38651c6f90826b3b7a2c69181e1622f (patch)
treedb7f3fe779bf853335dac150bbb33ede97f4585e /include
parentRemove UNOIDL "array" and "union" vaporware from idlc (diff)
downloadcore-73d713a1b38651c6f90826b3b7a2c69181e1622f.tar.gz
core-73d713a1b38651c6f90826b3b7a2c69181e1622f.zip
fdo#63154: Remove SVBT8 from solar.h
Conflicts: sw/source/filter/ww8/ww8par2.cxx Change-Id: I4e500cf0ca89468494fd3f0892839f5ca6cce725 Reviewed-on: https://gerrit.libreoffice.org/7645 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/tools/solar.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/tools/solar.h b/include/tools/solar.h
index 42316ef16be3..914f0de915bc 100644
--- a/include/tools/solar.h
+++ b/include/tools/solar.h
@@ -41,14 +41,12 @@ typedef sal_uIntPtr sal_uLong; /* Replaces type ULONG */
always little endian;
not necessarily aligned */
-typedef sal_uInt8 SVBT8[1];
typedef sal_uInt8 SVBT16[2];
typedef sal_uInt8 SVBT32[4];
typedef sal_uInt8 SVBT64[8];
#ifdef __cplusplus
-inline sal_uInt8 SVBT8ToByte ( const SVBT8 p ) { return p[0]; }
inline sal_uInt16 SVBT16ToShort( const SVBT16 p ) { return (sal_uInt16)p[0]
+ ((sal_uInt16)p[1] << 8); }
inline sal_uInt32 SVBT32ToUInt32 ( const SVBT32 p ) { return (sal_uInt32)p[0]
@@ -79,7 +77,6 @@ inline double SVBT64ToDouble( const SVBT64 p ) { double n;
return n; }
#endif
-inline void ByteToSVBT8 ( sal_uInt8 n, SVBT8 p ) { p[0] = n; }
inline void ShortToSVBT16( sal_uInt16 n, SVBT16 p ) { p[0] = (sal_uInt8) n;
p[1] = (sal_uInt8)(n >> 8); }
inline void UInt32ToSVBT32 ( sal_uInt32 n, SVBT32 p ) { p[0] = (sal_uInt8) n;