diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-08-25 20:30:31 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-26 07:53:28 +0000 |
commit | aa67fed597bb375d1180d85db7ac90999f86e1a4 (patch) | |
tree | 3eefc64f4cfb7f1a383d05867acb1b8250193ad1 /include/editeng | |
parent | 532c2bba7d9985a10b112c880f21691f6b66c19c (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')
-rw-r--r-- | include/editeng/svxrtf.hxx | 2 |
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; |