[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Mon Jun 30 04:56:04 PDT 2014


 sw/source/filter/ww8/ww8par.cxx |   12 ------------
 1 file changed, 12 deletions(-)

New commits:
commit 982265ed2f896b56abaf94f8de065186ee74ac99
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jun 30 13:55:22 2014 +0200

    loplugin:unreffun
    
    Change-Id: Ied75b7d6e9759a24dc857ff6f2adeee61f240e40

diff --git a/sw/source/filter/ww8/ww8par.cxx b/sw/source/filter/ww8/ww8par.cxx
index 0513c26..b9c9771 100644
--- a/sw/source/filter/ww8/ww8par.cxx
+++ b/sw/source/filter/ww8/ww8par.cxx
@@ -5724,18 +5724,6 @@ sal_uLong SwWW8ImplReader::LoadThroughDecryption(SwPaM& rPaM ,WW8Glossary *pGlos
     return nErrRet;
 }
 
-class outlineeq : public std::unary_function<const SwTxtFmtColl*, bool>
-{
-private:
-    sal_uInt8 mnNum;
-public:
-    outlineeq(sal_uInt8 nNum) : mnNum(nNum) {}
-    bool operator()(const SwTxtFmtColl *pTest) const
-    {
-        return pTest->IsAssignedToListLevelOfOutlineStyle() && pTest->GetAssignedOutlineStyleLevel() == mnNum;
-    }
-};
-
 void SwWW8ImplReader::SetOutlineStyles()
 {
     // If we are inserted into a document then don't clobber existing outline


More information about the Libreoffice-commits mailing list