diff options
author | Nigel Hawkins <n.hawkins@gmx.com> | 2011-02-07 16:19:59 +0000 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-02-08 22:43:18 -0500 |
commit | 9cec9579116bbaf5a216c55a6527cb5156bd29d9 (patch) | |
tree | fab0f87b57c635427aea0a059a76481d9a57bfd9 /sw/inc/undobj.hxx | |
parent | 041cfeb31a0cf186529ecbe6da382ef2b42f4838 (diff) |
Replace std::pair with more descriptive names in SwUndoDelNum
Diffstat (limited to 'sw/inc/undobj.hxx')
-rw-r--r-- | sw/inc/undobj.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx index 4563f4b1205e..deef634a31bd 100644 --- a/sw/inc/undobj.hxx +++ b/sw/inc/undobj.hxx @@ -1371,9 +1371,13 @@ public: class SwUndoDelNum : public SwUndo, private SwUndRng { - typedef std::vector< std::pair< ULONG, int > > SvNode; - SvNode aNodes; - SvBools aRstLRSpaces; + struct NodeLevel + { + ULONG index; + int level; + inline NodeLevel(ULONG idx, int lvl) : index(idx), level(lvl) {}; + }; + std::vector<NodeLevel> aNodes; SwHistory* pHistory; public: SwUndoDelNum( const SwPaM& rPam ); |