[Libreoffice] [PATCH] Remove duplicated constant F_PI and friends
Michael Lefevre
lefevre00 at yahoo.fr
Tue Mar 15 15:43:37 PDT 2011
Easy hack, constants already defined in libs-gui/basegfx/inc/basegfx/numeric/ftools.hxx
---
oox/source/drawingml/chart/converterbase.cxx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/oox/source/drawingml/chart/converterbase.cxx b/oox/source/drawingml/chart/converterbase.cxx
index 7a49a46..e2f2e93 100644
--- a/oox/source/drawingml/chart/converterbase.cxx
+++ b/oox/source/drawingml/chart/converterbase.cxx
@@ -37,7 +37,7 @@
#include <com/sun/star/chart/XChartDocument.hpp>
#include <com/sun/star/chart/XSecondAxisTitleSupplier.hpp>
#include <com/sun/star/chart2/RelativePosition.hpp>
-#include <tools/solar.h> // for F_PI180
+#include "basegfx/numeric/ftools.hxx"
#include "properties.hxx"
#include "oox/core/xmlfilterbase.hxx"
#include "oox/drawingml/theme.hxx"
--
1.7.1
More information about the LibreOffice
mailing list