summaryrefslogtreecommitdiff
path: root/include/editeng/svxrtf.hxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-08-25 20:30:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-26 07:53:28 +0000
commitaa67fed597bb375d1180d85db7ac90999f86e1a4 (patch)
tree3eefc64f4cfb7f1a383d05867acb1b8250193ad1 /include/editeng/svxrtf.hxx
parent532c2bba7d9985a10b112c880f21691f6b66c19c (diff)
reduce defines to bool
nLastAction could be 0, ACTION_INSERTTEXT or ACTION_INSERTPARABRK only later was checked so make this a bool Change-Id: I49287d48ebd12f2fcb4fe71756fe39cf116f588b Reviewed-on: https://gerrit.libreoffice.org/28396 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/editeng/svxrtf.hxx')
-rw-r--r--include/editeng/svxrtf.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index ede52eb18f7f..00e42c0615bc 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -89,8 +89,6 @@ public:
EditNodeIdx* MakeNodeIdx() const;
};
-#define ACTION_INSERTTEXT 1
-
typedef std::map<short, std::unique_ptr<vcl::Font>> SvxRTFFontTbl;
typedef std::map<sal_uInt16, std::unique_ptr<SvxRTFStyleType>> SvxRTFStyleTbl;