summaryrefslogtreecommitdiff
path: root/sc/inc/table.hxx
diff options
context:
space:
mode:
authorDaniel Kamil Kozar <dkk089@gmail.com>2022-05-03 02:45:13 +0200
committerEike Rathke <erack@redhat.com>2022-05-06 14:16:12 +0200
commita88419f54b8aa9c23cd80e04bc47f1b5ef3931ca (patch)
tree4aaf6f3d6783b46fa8bae02563460a7eb53b8aa3 /sc/inc/table.hxx
parent2490715c112699487915865f4267a880fe7bc4b3 (diff)
tdf#148383: Obtain start/end strings always in system locale
ScFillSeriesDlg always expects the strings describing the start and end values to be in the system locale. This change ensures that and fixes the bug where using non-locale-default data in the Fill Series dialog leads to an error. Change-Id: I25eafa2174294dc35a63473a54c529c2d7bd87ea Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132532 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/inc/table.hxx')
-rw-r--r--sc/inc/table.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 7e2d8576a1ee..64b94b0995f0 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -450,7 +450,7 @@ public:
OUString GetString( SCCOL nCol, SCROW nRow, const ScInterpreterContext* pContext = nullptr ) const;
double* GetValueCell( SCCOL nCol, SCROW nRow );
// Note that if pShared is set and a value is returned that way, the returned OUString is empty.
- OUString GetInputString( SCCOL nCol, SCROW nRow, const svl::SharedString** pShared = nullptr ) const;
+ OUString GetInputString( SCCOL nCol, SCROW nRow, const svl::SharedString** pShared = nullptr, bool bForceSystemLocale = false ) const;
double GetValue( SCCOL nCol, SCROW nRow ) const;
const EditTextObject* GetEditText( SCCOL nCol, SCROW nRow ) const;
void RemoveEditTextCharAttribs( SCCOL nCol, SCROW nRow, const ScPatternAttr& rAttr );