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

Caolán McNamara caolanm at redhat.com
Thu Oct 30 09:15:01 PDT 2014


 sw/source/core/unocore/unoportenum.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 8e79e7788d109403b7a5eb694f73e030a50be2c9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Oct 30 16:13:13 2014 +0000

    WaE: [loplugin:staticcall]
    
    Change-Id: I2e3ad291d34b412b27b52cf54266ede6b31028a2

diff --git a/sw/source/core/unocore/unoportenum.cxx b/sw/source/core/unocore/unoportenum.cxx
index e079b9c..35e074a 100644
--- a/sw/source/core/unocore/unoportenum.cxx
+++ b/sw/source/core/unocore/unoportenum.cxx
@@ -214,7 +214,7 @@ namespace
                 sw::mark::IMark* pBkmk = const_cast<sw::mark::IMark*>(pIndex->GetMark());
                 if (!pBkmk)
                     continue;
-                IDocumentMarkAccess::MarkType eType = pMarkAccess->GetType(*pBkmk);
+                IDocumentMarkAccess::MarkType eType = IDocumentMarkAccess::GetType(*pBkmk);
                 // These are the types stored in the container otherwise accessible via getBookmarks*()
                 if (eType != IDocumentMarkAccess::BOOKMARK && eType != IDocumentMarkAccess::CROSSREF_NUMITEM_BOOKMARK && eType != IDocumentMarkAccess::CROSSREF_HEADING_BOOKMARK)
                     continue;


More information about the Libreoffice-commits mailing list