From 063d71f4d3a145a5e28b26c6e5d1a7ae5b5f8891 Mon Sep 17 00:00:00 2001 From: Khaled Hosny Date: Wed, 19 Jul 2023 08:29:27 +0300 Subject: Drop --enable-float-device-pixel configure option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This does nothing now, as we are now always using doubles for VCL glyph coordinates. Change-Id: I87e4e3057dbc54a2ecf0924d3d6a408cf519f842 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154631 Tested-by: Jenkins Reviewed-by: خالد حسني --- compilerplugins/clang/store/fpcomparison.cxx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/store/fpcomparison.cxx b/compilerplugins/clang/store/fpcomparison.cxx index faaec0110fa5..84d0aaee545b 100644 --- a/compilerplugins/clang/store/fpcomparison.cxx +++ b/compilerplugins/clang/store/fpcomparison.cxx @@ -31,8 +31,6 @@ public: virtual void run() override { - vclFloatDevicePixel = compiler.getPreprocessor() - .getIdentifierInfo("VCL_FLOAT_DEVICE_PIXEL")->hasMacroDefinition(); TraverseDecl(compiler.getASTContext().getTranslationUnitDecl()); } @@ -43,7 +41,6 @@ private: bool ignore(FunctionDecl* ); enum class EState { None, TraverseProcess, TraverseIgnore }; EState meState = EState::None; - bool vclFloatDevicePixel; }; bool FpComparison::TraverseFunctionDecl(FunctionDecl* function) @@ -323,9 +320,8 @@ bool FpComparison::ignore(FunctionDecl* function) || dc.Function("testPlotAreaManualLayoutXLSX").Class("Chart2ExportTest").GlobalNamespace() || dc.Function("testLegendManualLayoutXLSX").Class("Chart2ExportTest").GlobalNamespace() || dc.Function("SetScreenNumber").Class("AquaSalFrame").GlobalNamespace() - || (vclFloatDevicePixel - && (dc.Function("Justify").Class("GenericSalLayout").GlobalNamespace() - || dc.Function("AdjustLayout").Class("MultiSalLayout").GlobalNamespace())) + || dc.Function("Justify").Class("GenericSalLayout").GlobalNamespace() + || dc.Function("AdjustLayout").Class("MultiSalLayout").GlobalNamespace() // vcl/headless/svpgdi.cxx, ba4a124b0c0c66fd275f5147d55eeec27ce78da9: || dc.Function("drawAlphaBitmap").Class("SvpSalGraphics").GlobalNamespace() || dc.Function("drawMask").Class("SvpSalGraphics").GlobalNamespace() -- cgit