[Libreoffice-commits] core.git: 2 commits - sw/inc
Takeshi Abe
tabe at fixedpoint.jp
Sun Nov 10 13:53:58 PST 2013
sw/inc/doc.hxx | 1 -
sw/inc/fmtfld.hxx | 2 --
sw/inc/section.hxx | 2 --
sw/inc/swerror.h | 5 -----
4 files changed, 10 deletions(-)
New commits:
commit a7d0400db274b5c8e41b59241bf0643f8d69e25b
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Mon Nov 11 06:48:18 2013 +0900
Remove an unused inline function
Change-Id: I52a5b2d7d3302ba887364e7bf5b377bf93394406
diff --git a/sw/inc/swerror.h b/sw/inc/swerror.h
index 5bb007e..88238ed 100644
--- a/sw/inc/swerror.h
+++ b/sw/inc/swerror.h
@@ -87,11 +87,6 @@
#ifndef __RSC
-inline bool IsWarning( sal_uLong nErr )
-{
- return 0 != ( nErr & ERRCODE_WARNING_MASK & nErr );
-}
-
inline bool IsError( sal_uLong nErr )
{
return nErr && 0 == ( ERRCODE_WARNING_MASK & nErr );
commit 2111d552977b0a2f9bfa9ea746adec7d83204a6c
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Mon Nov 11 06:47:49 2013 +0900
Drop unnecessary #includes
Change-Id: Ib286fa65ee54a09a78686b8b11453228c4196910
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx
index f67b38b..c30b23d 100644
--- a/sw/inc/doc.hxx
+++ b/sw/inc/doc.hxx
@@ -74,7 +74,6 @@ class SwList;
#include <svtools/embedhlp.hxx>
#include <vector>
#include <set>
-#include <map>
#include <memory>
#include <boost/scoped_ptr.hpp>
diff --git a/sw/inc/fmtfld.hxx b/sw/inc/fmtfld.hxx
index b76dd23a..56184d0 100644
--- a/sw/inc/fmtfld.hxx
+++ b/sw/inc/fmtfld.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_SW_INC_FMTFLD_HXX
#define INCLUDED_SW_INC_FMTFLD_HXX
-#include <list>
-
#include <com/sun/star/text/XTextField.hpp>
#include <cppuhelper/weakref.hxx>
diff --git a/sw/inc/section.hxx b/sw/inc/section.hxx
index 92d01138..603ad1e 100644
--- a/sw/inc/section.hxx
+++ b/sw/inc/section.hxx
@@ -20,8 +20,6 @@
#ifndef INCLUDED_SW_INC_SECTION_HXX
#define INCLUDED_SW_INC_SECTION_HXX
-#include <boost/utility.hpp>
-
#include <com/sun/star/uno/Sequence.h>
#include <tools/rtti.hxx>
More information about the Libreoffice-commits
mailing list