[Libreoffice-commits] core.git: 2 commits - sd/source sw/source
Matúš Kukan
matus.kukan at collabora.com
Wed Jun 25 02:44:54 PDT 2014
sd/source/filter/eppt/pptx-epptooxml.cxx | 2 +-
sw/source/core/txtnode/ndhints.cxx | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
New commits:
commit a3b68ba2dea21f9af1cab90c549c75d25afa1f5a
Author: Matúš Kukan <matus.kukan at collabora.com>
Date: Wed Jun 25 11:20:47 2014 +0200
loplugin:unreffun
Change-Id: If67f953bb0d1842ff75482fdb878acf4b1bf87cb
diff --git a/sd/source/filter/eppt/pptx-epptooxml.cxx b/sd/source/filter/eppt/pptx-epptooxml.cxx
index ba4e202..1be7ade 100644
--- a/sd/source/filter/eppt/pptx-epptooxml.cxx
+++ b/sd/source/filter/eppt/pptx-epptooxml.cxx
@@ -93,7 +93,7 @@ using ::com::sun::star::text::XSimpleText;
using ::sax_fastparser::FastSerializerHelper;
using ::sax_fastparser::FSHelperPtr;
-void dump_pset(Reference< XPropertySet > rXPropSet);
+DBG(void dump_pset(Reference< XPropertySet > rXPropSet);)
#define IDS(x) OString(OStringLiteral(#x " ") + OString::number( mnShapeIdMax++ )).getStr()
commit 5b67c4a84a8786767e296d7ce34cd5b79f9de935
Author: Matúš Kukan <matus.kukan at collabora.com>
Date: Wed Jun 25 10:10:34 2014 +0200
remove empty DumpHints() [loplugin:unreffun]
Change-Id: Ic61ef6dc6e6882cebe98a290ec599cde52471431
diff --git a/sw/source/core/txtnode/ndhints.cxx b/sw/source/core/txtnode/ndhints.cxx
index e0b616e..ed72103 100644
--- a/sw/source/core/txtnode/ndhints.cxx
+++ b/sw/source/core/txtnode/ndhints.cxx
@@ -27,8 +27,6 @@
#include <set>
#endif
-inline void DumpHints(const SwpHtStart &, const SwpHtEnd &) { }
-
// Sortierreihenfolge: Start, Ende (umgekehrt!), Which-Wert (umgekehrt!),
// als letztes die Adresse selbst
@@ -149,7 +147,6 @@ sal_uInt16 SwpHintsArray::GetPos( const SwTxtAttr *pHt ) const
if(!(cond)) \
{ \
SAL_WARN("sw.core", text); \
- DumpHints(m_HintStarts, m_HintEnds); \
(const_cast<SwpHintsArray*>(this))->Resort(); \
return false; \
}
More information about the Libreoffice-commits
mailing list