avoid coverity#1371269 Missing move assignment operator

Change-Id: I0ba8991ecc0934d839ac4e1bfe80f0568057fcc7
diff --git a/sw/source/ui/misc/outline.cxx b/sw/source/ui/misc/outline.cxx
index 5520f22..62cd020 100644
--- a/sw/source/ui/misc/outline.cxx
+++ b/sw/source/ui/misc/outline.cxx
@@ -305,7 +305,7 @@ IMPL_LINK( SwOutlineTabDialog, MenuSelectHdl, Menu *, pMenu, bool )
        const SwNumRulesWithName *pRules = pChapterNumRules->GetRules( nLevelNo );
        if( pRules )
        {
            *xNumRule = pRules->MakeNumRule(rWrtSh);
            xNumRule.reset(pRules->MakeNumRule(rWrtSh));
            xNumRule->SetRuleType( OUTLINE_RULE );
        }
        else
diff --git a/sw/source/uibase/config/uinums.cxx b/sw/source/uibase/config/uinums.cxx
index 9d2772a3..f6eb039 100644
--- a/sw/source/uibase/config/uinums.cxx
+++ b/sw/source/uibase/config/uinums.cxx
@@ -159,19 +159,19 @@ SwNumRulesWithName& SwNumRulesWithName::operator=(const SwNumRulesWithName &rCop
    return *this;
}

SwNumRule SwNumRulesWithName::MakeNumRule(SwWrtShell& rSh) const
SwNumRule* SwNumRulesWithName::MakeNumRule(SwWrtShell& rSh) const
{
    // #i89178#
    SwNumRule aChg(maName, numfunc::GetDefaultPositionAndSpaceMode());
    aChg.SetAutoRule( false );
    SwNumRule* pChg = new SwNumRule(maName, numfunc::GetDefaultPositionAndSpaceMode());
    pChg->SetAutoRule( false );
    for (sal_uInt16 n = 0; n < MAXLEVEL; ++n)
    {
        SwNumFormatGlobal* pFormat = aFormats[ n ];
        if (!pFormat)
            continue;
        aChg.Set(n, pFormat->MakeNumFormat(rSh));
        pChg->Set(n, pFormat->MakeNumFormat(rSh));
    }
    return aChg;
    return pChg;
}

void SwNumRulesWithName::GetNumFormat(
diff --git a/sw/source/uibase/inc/uinums.hxx b/sw/source/uibase/inc/uinums.hxx
index 08bdb2d..4dc28f6 100644
--- a/sw/source/uibase/inc/uinums.hxx
+++ b/sw/source/uibase/inc/uinums.hxx
@@ -73,7 +73,7 @@ public:
    SwNumRulesWithName &operator=(const SwNumRulesWithName &);

    const OUString& GetName() const               { return maName; }
    SwNumRule MakeNumRule(SwWrtShell& rSh) const;
    SwNumRule* MakeNumRule(SwWrtShell& rSh) const;

    void GetNumFormat(size_t, SwNumFormat const*&, OUString const*&) const;
};