bin/find-can-be-private-symbols.functions.results           |    1 -
 bin/find-mergedlib-can-be-private-symbols.functions.results |    1 -
 sc/inc/global.hxx                                           |    1 -
 sc/qa/unit/helper/qahelper.cxx                              |    2 +-
 sc/source/core/data/global.cxx                              |    5 -----
 5 files changed, 1 insertion(+), 9 deletions(-)

New commits:
commit f8090e84e98dec52d92e0e10f01b2d88c9f43e9c
Author:     Sahil Gautam <sahil.gau...@collabora.com>
AuthorDate: Mon Aug 4 16:08:31 2025 +0530
Commit:     Michael Stahl <michael.st...@collabora.com>
CommitDate: Tue Aug 5 12:58:35 2025 +0200

    remove unneccessary getter for a public static member variable
    
    Change-Id: Ief1ec41a89f4ca155bf8ab298ec39165cfeaacba
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188913
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@collabora.com>

diff --git a/bin/find-can-be-private-symbols.functions.results 
b/bin/find-can-be-private-symbols.functions.results
index dff9c5bd31af..9de455631eca 100644
--- a/bin/find-can-be-private-symbols.functions.results
+++ b/bin/find-can-be-private-symbols.functions.results
@@ -2154,7 +2154,6 @@ ScGlobal::FindUnquoted(char16_t const*, char16_t)
 ScGlobal::FindUnquoted(rtl::OUString const&, char16_t, int)
 ScGlobal::GetAutoFormat()
 ScGlobal::GetStandardFormat(ScInterpreterContext&, unsigned int, 
SvNumFormatType)
-ScGlobal::GetStandardRowHeight()
 ScGlobal::IsQuoted(std::basic_string_view<char16_t, std::char_traits<char16_t> 
>, char16_t)
 ScImportExport::CountVisualWidth(std::basic_string_view<char16_t, 
std::char_traits<char16_t> >)
 ScImportExport::CountVisualWidth(std::basic_string_view<char16_t, 
std::char_traits<char16_t> >, int&, int)
diff --git a/bin/find-mergedlib-can-be-private-symbols.functions.results 
b/bin/find-mergedlib-can-be-private-symbols.functions.results
index 13d2eab86187..3b27c9c3e2d7 100644
--- a/bin/find-mergedlib-can-be-private-symbols.functions.results
+++ b/bin/find-mergedlib-can-be-private-symbols.functions.results
@@ -2454,7 +2454,6 @@ ScGlobal::FindUnquoted(char16_t const*, char16_t)
 ScGlobal::FindUnquoted(rtl::OUString const&, char16_t, int)
 ScGlobal::GetAutoFormat()
 ScGlobal::GetStandardFormat(ScInterpreterContext&, unsigned int, 
SvNumFormatType)
-ScGlobal::GetStandardRowHeight()
 ScGlobal::IsQuoted(std::basic_string_view<char16_t, std::char_traits<char16_t> 
>, char16_t)
 ScImportOptions::BuildString() const
 ScImportOptions::ScImportOptions(std::basic_string_view<char16_t, 
std::char_traits<char16_t> >)
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx
index 7a29f97eb7b6..2bd3d499bef7 100644
--- a/sc/inc/global.hxx
+++ b/sc/inc/global.hxx
@@ -587,7 +587,6 @@ public:
                                                 std::u16string_view rTabName );
     SC_DLLPUBLIC static sal_uInt32 GetStandardFormat( ScInterpreterContext&, 
sal_uInt32 nFormat, SvNumFormatType nType );
 
-    SC_DLLPUBLIC static sal_uInt16 GetStandardRowHeight();
     /// Horizontal pixel per twips factor.
     SC_DLLPUBLIC static double              nScreenPPTX;
     /// Vertical pixel per twips factor.
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx
index ff635f4f12b7..384b91cbf777 100644
--- a/sc/qa/unit/helper/qahelper.cxx
+++ b/sc/qa/unit/helper/qahelper.cxx
@@ -644,7 +644,7 @@ void ScModelTestBase::miscRowHeightsTest( TestParam const * 
aTestValues, unsigne
             SCTAB nTab = aTestValues[ index ].pData[ i ].nTab;
             int nExpectedHeight = aTestValues[ index ].pData[ i 
].nExpectedHeight;
             if ( nExpectedHeight == -1 )
-                nExpectedHeight = 
convertTwipToMm100(ScGlobal::GetStandardRowHeight());
+                nExpectedHeight = convertTwipToMm100(ScGlobal::nStdRowHeight);
             bool bCheckOpt = ( ( aTestValues[ index ].pData[ i ].nCheck & 
CHECK_OPTIMAL ) == CHECK_OPTIMAL );
             for ( ; nRow <= nEndRow; ++nRow )
             {
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index 1ef9ba071c18..e0a7ac4a4288 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -164,11 +164,6 @@ sal_uInt32 ScGlobal::GetStandardFormat( 
ScInterpreterContext& rContext,
     return rContext.NFGetStandardFormat( nType, eLnge );
 }
 
-sal_uInt16 ScGlobal::GetStandardRowHeight()
-{
-    return nStdRowHeight;
-}
-
 SvNumberFormatter* ScGlobal::GetEnglishFormatter()
 {
     assert(!bThreadedGroupCalcInProgress);

Reply via email to