diff options
author | Khaled Hosny <khaled@libreoffice.org> | 2023-07-19 08:29:27 +0300 |
---|---|---|
committer | خالد حسني <khaled@libreoffice.org> | 2023-07-23 06:04:24 +0200 |
commit | 063d71f4d3a145a5e28b26c6e5d1a7ae5b5f8891 (patch) | |
tree | 90a7ec444fa79b56b534e2271646ee82f1a69f02 /compilerplugins | |
parent | ecf352701411fe178b51841b5714e27bef500206 (diff) |
Drop --enable-float-device-pixel configure option
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: خالد حسني <khaled@libreoffice.org>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/store/fpcomparison.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
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() |