summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-05-09 23:12:23 +0200
committerMichael Stahl <mstahl@redhat.com>2017-05-10 17:59:37 +0200
commit32f40845a5b463cc45292df69f141a0011582272 (patch)
treecde258b38f0c6de064f3723fbd6b48e738185079 /sw/inc
parentc43ee7161ab57a22b53655b7b8d6e20ce1a70daa (diff)
sw: remove some unused macros from swtypes.hxx
Change-Id: I50fd0d5c19e351675d19546c40009dba479a87a1
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/swtypes.hxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sw/inc/swtypes.hxx b/sw/inc/swtypes.hxx
index ee59e9a0ebdf..76ee8b94243a 100644
--- a/sw/inc/swtypes.hxx
+++ b/sw/inc/swtypes.hxx
@@ -108,9 +108,6 @@ const sal_uInt8 NO_NUMLEVEL = 0x20; // "or" with the levels.
// Some helper functions as macros or inlines.
-// One kilobyte is 1024 bytes:
-#define KB 1024
-
#define SET_CURR_SHELL( shell ) CurrShell aCurr( shell )
// pPathFinder is initialized by the UI.
@@ -182,13 +179,6 @@ namespace o3tl
#define SW_ISPRINTABLE( c ) ( c >= ' ' && 127 != c )
-#ifndef SW_CONSTASCII_DECL
-#define SW_CONSTASCII_DECL( n, s ) n[sizeof(s)]
-#endif
-#ifndef SW_CONSTASCII_DEF
-#define SW_CONSTASCII_DEF( n, s ) n[sizeof(s)] = s
-#endif
-
#define CHAR_HARDBLANK u'\x00A0'
#define CHAR_HARDHYPHEN u'\x2011'
#define CHAR_SOFTHYPHEN u'\x00AD'