summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Vicenzi <vicenzi.alexandre@gmail.com>2014-01-29 21:57:20 -0200
committerCaolán McNamara <caolanm@redhat.com>2014-01-30 11:31:13 +0000
commit53ba2eefb0d3d6e6c155302479eace25bcf8b657 (patch)
treef30de03bad5ffc98e74f14f3a39a24a145ce5c8f
parent75565d7a1798381b90d23414c67ee8e2dd107412 (diff)
fdo#63154 Removed unused solar.h ref. in basic and formula
Change-Id: Ibf30f29653568929e65ebd897cef474a6838d5cc Reviewed-on: https://gerrit.libreoffice.org/7735 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/basic/sbxdef.hxx1
-rw-r--r--include/formula/errorcodes.hxx2
-rw-r--r--include/formula/tokenarray.hxx8
3 files changed, 2 insertions, 9 deletions
diff --git a/include/basic/sbxdef.hxx b/include/basic/sbxdef.hxx
index 333d7f2052a7..35ea07f71dc5 100644
--- a/include/basic/sbxdef.hxx
+++ b/include/basic/sbxdef.hxx
@@ -23,7 +23,6 @@
#ifndef __RSC
-#include <tools/solar.h>
#include <tools/errcode.hxx>
enum SbxClassType { // SBX-class-IDs (order is important!)
diff --git a/include/formula/errorcodes.hxx b/include/formula/errorcodes.hxx
index d178aec680bd..cea578786014 100644
--- a/include/formula/errorcodes.hxx
+++ b/include/formula/errorcodes.hxx
@@ -21,7 +21,6 @@
#define INCLUDED_FORMULA_ERRORCODES_HXX
#include <rtl/math.hxx>
-#include <tools/solar.h>
namespace ScErrorCodes
{
@@ -94,7 +93,6 @@ inline double CreateDoubleError( sal_uInt16 nErr )
return fVal;
}
-
/** Recreate the error code of a coded double error, if any. */
inline sal_uInt16 GetDoubleErrorValue( double fVal )
{
diff --git a/include/formula/tokenarray.hxx b/include/formula/tokenarray.hxx
index 9f8fed0ab27d..2dde86dd06e1 100644
--- a/include/formula/tokenarray.hxx
+++ b/include/formula/tokenarray.hxx
@@ -20,11 +20,10 @@
#ifndef INCLUDED_FORMULA_TOKENARRAY_HXX
#define INCLUDED_FORMULA_TOKENARRAY_HXX
-#include <limits.h>
+#include <com/sun/star/sheet/FormulaToken.hpp>
#include <formula/token.hxx>
#include <formula/ExternalReferenceHelper.hxx>
-#include <tools/solar.h>
-#include <com/sun/star/sheet/FormulaToken.hpp>
+#include <limits.h>
namespace formula
{
@@ -279,10 +278,7 @@ public:
private:
const FormulaToken* GetNonEndOfPathToken( short nIdx ) const;
};
-// =============================================================================
} // formula
-// =============================================================================
-
#endif // INCLUDED_FORMULA_TOKENARRAY_HXX