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

Takeshi Abe tabe at fixedpoint.jp
Wed Jun 22 00:16:05 UTC 2016


 starmath/source/smmod.cxx   |    8 --------
 starmath/source/symbol.cxx  |   14 --------------
 starmath/source/utility.cxx |    7 -------
 3 files changed, 29 deletions(-)

New commits:
commit 336beb8b39c5486afd9b2aaa95ae897de3e13a29
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue Jun 21 19:00:31 2016 +0900

    Drop unused #include
    
    Change-Id: Ic0cf4605cc7d02fdd537d05cbaa744c52126e6f1
    Reviewed-on: https://gerrit.libreoffice.org/26545
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Takeshi Abe <tabe at fixedpoint.jp>

diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx
index 02a4526..e394fe6 100644
--- a/starmath/source/smmod.cxx
+++ b/starmath/source/smmod.cxx
@@ -17,17 +17,11 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <tools/globname.hxx>
-#include <vcl/status.hxx>
-#include <sfx2/msg.hxx>
 #include <sfx2/objface.hxx>
 #include <svl/whiter.hxx>
-#include <sfx2/request.hxx>
 #include <sfx2/sfx.hrc>
 #include <sfx2/viewsh.hxx>
-#include <vcl/wrkwin.hxx>
 #include <svx/svxids.hrc>
-#include <vcl/msgbox.hxx>
 #include <vcl/virdev.hxx>
 #include <unotools/syslocale.hxx>
 #include "smmod.hxx"
@@ -43,8 +37,6 @@
 #define SmModule
 #include "smslots.hxx"
 
-#include <svx/xmlsecctrl.hxx>
-
 
 SmResId::SmResId( sal_uInt16 nId )
     : ResId(nId, *SM_MOD()->GetResMgr())
diff --git a/starmath/source/symbol.cxx b/starmath/source/symbol.cxx
index 3e6442c..b1b0bb1 100644
--- a/starmath/source/symbol.cxx
+++ b/starmath/source/symbol.cxx
@@ -17,14 +17,6 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <osl/mutex.hxx>
-#include <ucbhelper/content.hxx>
-#include <vcl/msgbox.hxx>
-
-#include <sfx2/dispatch.hxx>
-#include <sfx2/docfile.hxx>
-
-#include <map>
 #include <vector>
 #include <iterator>
 
@@ -37,12 +29,6 @@
 #include "starmath.hrc"
 
 
-using namespace ::com::sun::star::ucb;
-using namespace ::com::sun::star::uno;
-
-
-/**************************************************************************/
-
 SmSym::SmSym() :
     m_aName(OUString("unknown")),
     m_aSetName(OUString("unknown")),
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index 6983cb4..6072c8f 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -17,20 +17,13 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
-#include <sfx2/app.hxx>
-#include <vcl/virdev.hxx>
 #include <vcl/builderfactory.hxx>
-#include <tools/tenccvt.hxx>
-#include <osl/thread.h>
-
-#include <tools/stream.hxx>
 
 #include "starmath.hrc"
 
 #include "utility.hxx"
 #include "dialog.hxx"
 #include "view.hxx"
-#include "smdll.hxx"
 
 
 // return pointer to active SmViewShell, if this is not possible


More information about the Libreoffice-commits mailing list