diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-01-21 12:45:50 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-01-21 12:55:56 +0100 |
commit | d6d5c6057ffaccf82b7060a46ded573b46ab5fed (patch) | |
tree | b19efa6bf43f848ec88bb87fdb54c824dfb5c65e /sw | |
parent | f1358edf469e70df1fb044bb58cd888fea15173c (diff) |
sw: MSVC 2013 --enable-dbgutil does not need 3 overloads...
... of these structs so remove them again, sorry for the noise.
Change-Id: Ic1b5fc0fd3d778cf8ab915774a12efecd5c5b451
Diffstat (limited to 'sw')
-rw-r--r-- | sw/inc/IMark.hxx | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/sw/inc/IMark.hxx b/sw/inc/IMark.hxx index 5f891b8f7c3a..a132b6a3c0a4 100644 --- a/sw/inc/IMark.hxx +++ b/sw/inc/IMark.hxx @@ -137,22 +137,8 @@ namespace sw { namespace mark { return pMark->StartsAfter(rPos); } -#ifdef DBG_UTIL - bool operator()(std::shared_ptr<sw::mark::IMark> const& pMark, - SwPosition const& rPos) - { - return pMark->StartsBefore(rPos); - } - bool operator()(std::shared_ptr<sw::mark::IMark> const& pMark1, - std::shared_ptr<sw::mark::IMark> const& pMark2) - { - return (*pMark1) < (*pMark2); - } -#endif }; - // MSVC 2008 with _DEBUG calls this with parameters in wrong order - // so it needs 3 overloads... struct CompareIMarkStartsBefore { bool operator()(std::shared_ptr<sw::mark::IMark> const& pMark, @@ -160,18 +146,6 @@ namespace sw { namespace mark { return pMark->StartsBefore(rPos); } -#ifdef DBG_UTIL - bool operator()(SwPosition const& rPos, - std::shared_ptr<sw::mark::IMark> const& pMark) - { - return pMark->StartsAfter(rPos); - } - bool operator()(std::shared_ptr<sw::mark::IMark> const& pMark1, - std::shared_ptr<sw::mark::IMark> const& pMark2) - { - return (*pMark1) < (*pMark2); - } -#endif }; OUString ExpandFieldmark(IFieldmark* pBM); |