sc/source/filter/ftools/ftools.cxx | 13 ------------- 1 file changed, 13 deletions(-)
New commits: commit 07a372592cea4bded282b2ad9a67ca9e7b08c3cd Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun May 26 15:06:56 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sun May 26 20:18:43 2024 +0200 drop unused __SIMPLE_FUNC presumably unused since: commit a3ce60eb3c8bb5c69ab41556398efa8316286477 Date: Tue Nov 27 14:41:16 2012 +0200 We only support MSVC 2008 (_MSC_VER 1500) or later Change-Id: Ica1c319ac485a1bd539ccd7df604df5786608698 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168048 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Jenkins diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx index 2f52cb183e99..d3145e537429 100644 --- a/sc/source/filter/ftools/ftools.cxx +++ b/sc/source/filter/ftools/ftools.cxx @@ -40,20 +40,6 @@ // ScFilterTools::ReadLongDouble() void ScfTools::ReadLongDouble(SvStream& rStrm, double& fResult) - -#ifdef __SIMPLE_FUNC // for <=VC 1.5 - -#error PRESUMABLY_NEVER_USED -{ - long double fRet; - bool bOk = 10 == rStrm.Read(&fRet, 10); - if (!bOk) - return; - fResult = static_cast<double>(fRet); -} -#undef __SIMPLE_FUNC - -#else // detailed for all others { /* @@ -111,7 +97,6 @@ SEEEEEEE EEEEEEEE IMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM MMMMMMMM fResult = static_cast<double>(lfDouble); } -#endif // *** common methods *** ----------------------------------------------------- commit 3a647dd08e29dfb18382ede5506e913e8bd3bc04 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun May 26 15:04:50 2024 +0100 Commit: Caolán McNamara <caolan.mcnam...@collabora.com> CommitDate: Sun May 26 20:18:36 2024 +0200 presumably __SIMPLE_FUNC is unused Change-Id: I49cb3f981d913082bcf37b9142139c6831c79e87 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168047 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx index bf2b784a994b..2f52cb183e99 100644 --- a/sc/source/filter/ftools/ftools.cxx +++ b/sc/source/filter/ftools/ftools.cxx @@ -42,6 +42,8 @@ void ScfTools::ReadLongDouble(SvStream& rStrm, double& fResult) #ifdef __SIMPLE_FUNC // for <=VC 1.5 + +#error PRESUMABLY_NEVER_USED { long double fRet; bool bOk = 10 == rStrm.Read(&fRet, 10);