summaryrefslogtreecommitdiff
path: root/filter/source/t602
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-24 16:22:29 +0200
committerNoel Grandin <noel@peralex.com>2015-07-27 08:18:16 +0200
commit38ecca9b30e0fc5f7cc6264857f983e40dd58195 (patch)
tree3ad61e6d5cddcf161d27cfe4c6ca85fcf1cab8f6 /filter/source/t602
parentefac5fa06e2d00bd67c582d8a6b1f1fc69c9b9f5 (diff)
inline a bunch of use-once macros
no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
Diffstat (limited to 'filter/source/t602')
-rw-r--r--filter/source/t602/t602filter.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/filter/source/t602/t602filter.cxx b/filter/source/t602/t602filter.cxx
index a590b2300e2b..b8a4cb5b6b0e 100644
--- a/filter/source/t602/t602filter.cxx
+++ b/filter/source/t602/t602filter.cxx
@@ -121,9 +121,6 @@ namespace T602ImportFilter {
#define _End(_nam) \
mxHandler->endElement(_nam);
-#define _Chars(_ch) \
- mxHandler->characters(OUString::createFromAscii(_ch) );
-
inistruct ini;
T602ImportFilter::T602ImportFilter(const ::com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory > &r )
@@ -738,8 +735,13 @@ void T602ImportFilter::Read602()
ch = Readchar602();
cmd602[1] = ch;
cmd602[2] = '\0';
- if(isupper(ch)) node = SETCMD; //nedodelano
- else { inschr('@'); _Chars(cmd602); node = READCH; }
+ if(isupper(ch))
+ node = SETCMD; //nedodelano
+ else {
+ inschr('@');
+ mxHandler->characters(OUString::createFromAscii(cmd602));
+ node = READCH;
+ }
} else {
inschr('@');
if(ch<32) node = SETCH;