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

Miklos Vajna vmiklos at collabora.co.uk
Sat Oct 18 04:52:14 PDT 2014


 sw/inc/doc.hxx             |    4 ----
 sw/source/core/doc/doc.cxx |   15 ---------------
 unusedcode.easy            |    3 ---
 3 files changed, 22 deletions(-)

New commits:
commit 7d966b1d68fef9b9e21cf390bb1cf756841797bf
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Sat Oct 18 13:51:33 2014 +0200

    SwDoc: remove unused methods
    
    Change-Id: I073372b74d0362eaffdc1dddfbef8767e58b0fd6

diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index 60d1ce5..65b533b 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -527,7 +527,6 @@ public:
     IDocumentFieldsAccess const & getIDocumentFieldsAccess() const;
     IDocumentFieldsAccess & getIDocumentFieldsAccess();
 
-    ::sw::DocumentFieldsManager const & GetDocumentFieldsMAnager() const;
     ::sw::DocumentFieldsManager & GetDocumentFieldsManager();
 
     // IDocumentContentOperations
@@ -559,9 +558,6 @@ public:
     IDocumentState const & getIDocumentState() const;
     IDocumentState & getIDocumentState();
 
-    ::sw::DocumentStateManager const & GetDocumentStateManager() const;
-    ::sw::DocumentStateManager & GetDocumentStateManager();
-
     // IDocumentDrawModelAccess
     DECL_LINK( AddDrawUndo, SdrUndoAction * );
     IDocumentDrawModelAccess const & getIDocumentDrawModelAccess() const;
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 4459b55..3b9dc9f 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -402,11 +402,6 @@ IDocumentFieldsAccess & SwDoc::getIDocumentFieldsAccess()
     return *m_pDocumentFieldsManager;
 }
 
-::sw::DocumentFieldsManager const & SwDoc::GetDocumentFieldsMAnager() const
-{
-    return *m_pDocumentFieldsManager;
-}
-
 ::sw::DocumentFieldsManager & SwDoc::GetDocumentFieldsManager()
 {
     return *m_pDocumentFieldsManager;
@@ -444,16 +439,6 @@ IDocumentState & SwDoc::getIDocumentState()
     return *m_pDocumentStateManager;
 }
 
-::sw::DocumentStateManager const & SwDoc::GetDocumentStateManager() const
-{
-    return *m_pDocumentStateManager;
-}
-
-::sw::DocumentStateManager & SwDoc::GetDocumentStateManager()
-{
-    return *m_pDocumentStateManager;
-}
-
 //IDocumentLayoutAccess
 IDocumentLayoutAccess const & SwDoc::getIDocumentLayoutAccess() const
 {
diff --git a/unusedcode.easy b/unusedcode.easy
index 60aee14..3455a33 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -48,9 +48,6 @@ SvtListener::IsListening(SvtBroadcaster&) const
 SvxFontListBox::GetSelectEntry() const
 SvxOpenGLObject::getRenderer()
 SvxOpenGLObject::setRenderer(IOpenGLRenderer*)
-SwDoc::GetDocumentFieldsMAnager() const
-SwDoc::GetDocumentStateManager()
-SwDoc::GetDocumentStateManager() const
 SwLayHelper::CheckPageFlyCache(SwPageFrm*&, SwFlyFrm*)
 SwTxtPaintInfo::DrawSpecial(SwLinePortion const&, unsigned short, Color const&) const
 SwUpdateAttr::SwUpdateAttr(int, int, unsigned short, std::__debug::vector<unsigned short, std::allocator<unsigned short> >)


More information about the Libreoffice-commits mailing list