diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2022-08-31 20:03:50 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2022-09-01 08:34:24 +0200 |
commit | 50e743f210f35178b8c21628b023d50bf03e54f9 (patch) | |
tree | 85aed6d3f8ea4c389215ee6cb8e7e58ad3b5a5fa /connectivity/source/inc | |
parent | 790b5c3cc3b6627c41696a0cccae88358a6fd1b6 (diff) |
connectivity: use default member initializers in OWriterTable
It's less code and does the same.
Change-Id: I2469868a9fc97f4a9e6a89d53f50686ab89177ac
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139130
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'connectivity/source/inc')
-rw-r--r-- | connectivity/source/inc/writer/WTable.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/inc/writer/WTable.hxx b/connectivity/source/inc/writer/WTable.hxx index 90cdc2494411..38add348d242 100644 --- a/connectivity/source/inc/writer/WTable.hxx +++ b/connectivity/source/inc/writer/WTable.hxx @@ -40,9 +40,9 @@ class OWriterTable : public OWriterTable_BASE private: css::uno::Reference<css::text::XTextTable> m_xTable; OWriterConnection* m_pWriterConnection; - sal_Int32 m_nStartCol; - sal_Int32 m_nDataCols; - bool m_bHasHeaders; + sal_Int32 m_nStartCol = 0; + sal_Int32 m_nDataCols = 0; + bool m_bHasHeaders = false; void fillColumns(); |