tdf#158773 GetNumberOfStyleSheets can be an inline method

Change-Id: I24a013d74bf8f9336496232d585ac1f0b069696c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164572
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
diff --git a/include/svl/IndexedStyleSheets.hxx b/include/svl/IndexedStyleSheets.hxx
index f358f23..3ca69f1 100644
--- a/include/svl/IndexedStyleSheets.hxx
+++ b/include/svl/IndexedStyleSheets.hxx
@@ -94,7 +94,7 @@ public:
    bool HasStyleSheet(const rtl::Reference<SfxStyleSheetBase>& style) const;

    /** Obtain the number of style sheets which are held */
    sal_Int32 GetNumberOfStyleSheets() const;
    sal_Int32 GetNumberOfStyleSheets() const { return mStyleSheets.size(); }

    /** Obtain the number of style sheets for which a certain condition holds */
    sal_Int32 GetNumberOfStyleSheetsWithPredicate(StyleSheetPredicate& predicate) const;
diff --git a/svl/source/items/IndexedStyleSheets.cxx b/svl/source/items/IndexedStyleSheets.cxx
index fd396247..a9ca690 100644
--- a/svl/source/items/IndexedStyleSheets.cxx
+++ b/svl/source/items/IndexedStyleSheets.cxx
@@ -72,11 +72,6 @@ IndexedStyleSheets::Reindex()
    }
}

sal_Int32 IndexedStyleSheets::GetNumberOfStyleSheets() const
{
    return mStyleSheets.size();
}

void
IndexedStyleSheets::AddStyleSheet(const rtl::Reference< SfxStyleSheetBase >& style)
{