diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2017-02-28 11:12:36 +0100 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2017-03-01 13:18:05 +0000 |
commit | 7e8bef556184851edd7a716cf3284cd1ae3b3366 (patch) | |
tree | 14fb8ad0767be21021e2bccff96540ccf9c51954 /sw/inc | |
parent | 9a8ebc858c06b572c3b90bb0e5526979f81fb466 (diff) |
move predicates into only using compilation unit
- also refactor and simplify
Change-Id: I0fe0c043b72d7664a0fe27baf13ab029aed41eab
Reviewed-on: https://gerrit.libreoffice.org/34726
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/dcontact.hxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sw/inc/dcontact.hxx b/sw/inc/dcontact.hxx index 468a8667f451..781257df184b 100644 --- a/sw/inc/dcontact.hxx +++ b/sw/inc/dcontact.hxx @@ -337,32 +337,6 @@ class SwDrawContact final : public SwContact friend class NestedUserCallHdl; - /** unary function used by <list> iterator to find a disconnected 'virtual' - drawing object */ - struct UsedOrUnusedVirtObjPred - { - bool mbUsedPred; - UsedOrUnusedVirtObjPred( bool _bUsed ) : mbUsedPred( _bUsed ) {}; - bool operator() ( const std::unique_ptr<SwDrawVirtObj>& _pDrawVirtObj ) - { - if ( mbUsedPred ) - { - return _pDrawVirtObj->IsConnected(); - } - else - { - return !_pDrawVirtObj->IsConnected(); - } - } - }; - - /** unary function used to find a 'virtual' drawing object anchored at a given frame */ - struct VirtObjAnchoredAtFramePred - { - const SwFrame* mpAnchorFrame; - VirtObjAnchoredAtFramePred( const SwFrame& _rAnchorFrame ); - bool operator() ( const std::unique_ptr<SwDrawVirtObj>& _pDrawVirtObj ); - }; void RemoveAllVirtObjs(); |