[Libreoffice-commits] core.git: compilerplugins/clang sw/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Dec 11 09:38:17 UTC 2018
compilerplugins/clang/unusedfields.only-used-in-constructor.results | 48 +-------
compilerplugins/clang/unusedfields.readonly.results | 12 +-
compilerplugins/clang/unusedfields.untouched.results | 48 +-------
compilerplugins/clang/unusedfields.writeonly.results | 56 +++++-----
sw/source/core/inc/UndoTable.hxx | 4
sw/source/core/undo/untbl.cxx | 21 +--
6 files changed, 67 insertions(+), 122 deletions(-)
New commits:
commit a8c1db54830fda16c5f5a9399bf11616570342da
Author: Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Tue Dec 11 09:03:58 2018 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Dec 11 10:37:52 2018 +0100
loplugin:unusedfields
Change-Id: I9f11c29a5bcb3512717ad01962f5645de96afe0b
Reviewed-on: https://gerrit.libreoffice.org/64918
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/compilerplugins/clang/unusedfields.only-used-in-constructor.results b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
index bf7b314ad9de..0e242983d41a 100644
--- a/compilerplugins/clang/unusedfields.only-used-in-constructor.results
+++ b/compilerplugins/clang/unusedfields.only-used-in-constructor.results
@@ -74,32 +74,6 @@ connectivity/source/inc/flat/EResultSet.hxx:42
connectivity::flat::OFlatResultSet m_bBookmarkable _Bool
connectivity/source/inc/java/lang/Object.hxx:45
connectivity::SDBThreadAttach m_aGuard jvmaccess::class VirtualMachine::AttachGuard
-cppcanvas/source/inc/implrenderer.hxx:158
- cppcanvas::internal::(anonymous) aWorldTransform struct cppcanvas::internal::XForm
-cppcanvas/source/inc/implrenderer.hxx:159
- cppcanvas::internal::(anonymous) aDevState struct cppcanvas::internal::OutDevState
-cppcanvas/source/inc/implrenderer.hxx:255
- cppcanvas::internal::ImplRenderer aWorldTransform struct cppcanvas::internal::XForm
-cppcanvas/source/inc/implrenderer.hxx:257
- cppcanvas::internal::ImplRenderer fPageScale float
-cppcanvas/source/inc/implrenderer.hxx:258
- cppcanvas::internal::ImplRenderer nOriginX sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:259
- cppcanvas::internal::ImplRenderer nOriginY sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:260
- cppcanvas::internal::ImplRenderer nHDPI sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:261
- cppcanvas::internal::ImplRenderer nVDPI sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:272
- cppcanvas::internal::ImplRenderer mbMultipart _Bool
-cppcanvas/source/inc/implrenderer.hxx:273
- cppcanvas::internal::ImplRenderer mMFlags sal_uInt16
-cppcanvas/source/inc/implrenderer.hxx:274
- cppcanvas::internal::ImplRenderer mMStream class SvMemoryStream
-cppcanvas/source/inc/implrenderer.hxx:276
- cppcanvas::internal::ImplRenderer mGSStack cppcanvas::internal::GraphicStateMap
-cppcanvas/source/inc/implrenderer.hxx:277
- cppcanvas::internal::ImplRenderer mGSContainerStack cppcanvas::internal::GraphicStateMap
cppcanvas/source/mtfrenderer/textaction.cxx:809
cppcanvas::internal::(anonymous namespace)::EffectTextAction maTextLineInfo const tools::TextLineInfo
cppcanvas/source/mtfrenderer/textaction.cxx:1638
@@ -152,8 +126,6 @@ cppu/source/uno/check.cxx:134
(anonymous namespace)::Char3 c3 char
cppu/source/uno/check.cxx:138
(anonymous namespace)::Char4 chars struct (anonymous namespace)::Char3
-cui/source/customize/cfgutil.cxx:447
- CuiConfigGroupBoxResource_Impl m_sMacros class rtl::OUString
cui/source/dialogs/colorpicker.cxx:712
cui::ColorPickerDialog m_aColorPrevious class cui::ColorPreviewControl
cui/source/factory/dlgfact.cxx:1378
@@ -524,13 +496,11 @@ sc/inc/compiler.hxx:259
ScCompiler::AddInMap pUpper const char *
sc/inc/token.hxx:400
SingleDoubleRefModifier aDub struct ScComplexRefData
-sc/inc/xmlwrap.hxx:104
- ScXMLChartExportWrapper mrMedium class SfxMedium &
sc/qa/unit/ucalc_column.cxx:104
aInputs aName const char *
-sc/source/core/data/document.cxx:1225
+sc/source/core/data/document.cxx:1237
(anonymous namespace)::BroadcastRecalcOnRefMoveHandler aSwitch const sc::AutoCalcSwitch
-sc/source/core/data/document.cxx:1226
+sc/source/core/data/document.cxx:1238
(anonymous namespace)::BroadcastRecalcOnRefMoveHandler aBulk const class ScBulkBroadcast
sc/source/filter/html/htmlpars.cxx:3030
(anonymous namespace)::CSSHandler::MemStr mp const char *
@@ -584,8 +554,6 @@ sc/source/ui/inc/msgpool.hxx:44
ScMessagePool aCondFormatDlgItem class ScCondFormatDlgItem
sc/source/ui/inc/notemark.hxx:46
ScNoteMarker m_aTimer class Timer
-sc/source/ui/inc/tabbgcolordlg.hxx:56
- ScTabBgColorDlg m_aTabBgColorNoColorText const class rtl::OUString
sccomp/source/solver/DifferentialEvolution.hxx:35
DifferentialEvolutionAlgorithm maRandomDevice std::random_device
sccomp/source/solver/ParticelSwarmOptimization.hxx:56
@@ -633,10 +601,10 @@ sdext/source/pdfimport/pdfparse/pdfparse.cxx:263
sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
PDFGrammar::definition objectref rule<ScannerT>
sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
- PDFGrammar::definition value rule<ScannerT>
-sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
PDFGrammar::definition dict_element rule<ScannerT>
sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
+ PDFGrammar::definition value rule<ScannerT>
+sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
PDFGrammar::definition dict_end rule<ScannerT>
sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
PDFGrammar::definition array rule<ScannerT>
@@ -838,16 +806,14 @@ vcl/source/gdi/jobset.cxx:35
ImplOldJobSetupData cDeviceName char [32]
vcl/source/gdi/jobset.cxx:36
ImplOldJobSetupData cPortName char [32]
-vcl/unx/gtk3/gtk3gtkinst.cxx:1205
- GtkInstanceWidget m_nKeyReleaseSignalId gulong
-vcl/unx/gtk3/gtk3gtkinst.cxx:2709
+vcl/unx/gtk3/gtk3gtkinst.cxx:2712
CrippledViewport viewport GtkViewport
vcl/unx/gtk/a11y/atkhypertext.cxx:29
(anonymous) atk_hyper_link const AtkHyperlink
vcl/unx/gtk/a11y/atkwrapper.hxx:49
AtkObjectWrapper aParent const AtkObject
-vcl/unx/gtk/a11y/atkwrapper.hxx:80
- AtkObjectWrapperClass aParentClass const AtkObjectClass
+vcl/unx/gtk/a11y/atkwrapper.hxx:78
+ AtkObjectWrapperClass aParentClass GtkWidgetAccessibleClass
vcl/unx/gtk/gloactiongroup.cxx:30
GLOAction parent_instance GObject
vcl/unx/gtk/glomenu.cxx:20
diff --git a/compilerplugins/clang/unusedfields.readonly.results b/compilerplugins/clang/unusedfields.readonly.results
index da02ae376c37..3b2f190b7e6c 100644
--- a/compilerplugins/clang/unusedfields.readonly.results
+++ b/compilerplugins/clang/unusedfields.readonly.results
@@ -640,6 +640,12 @@ sw/source/core/doc/tblrwcl.cxx:83
CpyTabFrame::(anonymous) nSize SwTwips
sw/source/core/inc/swblocks.hxx:68
SwImpBlocks m_bInPutMuchBlocks _Bool
+sw/source/core/inc/UndoTable.hxx:181
+ SwUndoTableNdsChg m_nCurrBox sal_uLong
+sw/source/core/inc/UndoTable.hxx:182
+ SwUndoTableNdsChg m_nRelDiff sal_uInt16
+sw/source/core/inc/UndoTable.hxx:182
+ SwUndoTableNdsChg m_nAbsDiff sal_uInt16
sw/source/core/text/atrhndl.hxx:48
SwAttrHandler::SwAttrStack m_pInitialArray class SwTextAttr *[3]
sw/source/filter/inc/rtf.hxx:32
@@ -948,12 +954,12 @@ vcl/source/window/menuitemlist.hxx:58
MenuItemData aAccessibleName const class rtl::OUString
vcl/unx/generic/print/bitmap_gfx.cxx:67
psp::HexEncoder mpFileBuffer sal_Char [16400]
-vcl/unx/gtk3/gtk3gtkinst.cxx:1155
+vcl/unx/gtk3/gtk3gtkinst.cxx:1156
out gpointer *
vcl/unx/gtk/a11y/atkwrapper.hxx:49
AtkObjectWrapper aParent const AtkObject
-vcl/unx/gtk/a11y/atkwrapper.hxx:80
- AtkObjectWrapperClass aParentClass const AtkObjectClass
+vcl/unx/gtk/a11y/atkwrapper.hxx:78
+ AtkObjectWrapperClass aParentClass GtkWidgetAccessibleClass
vcl/unx/gtk/gloactiongroup.cxx:30
GLOAction parent_instance GObject
vcl/unx/gtk/glomenu.cxx:20
diff --git a/compilerplugins/clang/unusedfields.untouched.results b/compilerplugins/clang/unusedfields.untouched.results
index b39264b15518..badfeb1d1503 100644
--- a/compilerplugins/clang/unusedfields.untouched.results
+++ b/compilerplugins/clang/unusedfields.untouched.results
@@ -44,38 +44,10 @@ connectivity/source/drivers/evoab2/NStatement.hxx:57
connectivity::evoab::FieldSort bAscending _Bool
connectivity/source/drivers/mork/MDatabaseMetaData.hxx:29
connectivity::mork::ODatabaseMetaData m_pMetaDataHelper std::unique_ptr<MDatabaseMetaDataHelper>
-cppcanvas/source/inc/implrenderer.hxx:158
- cppcanvas::internal::(anonymous) aWorldTransform struct cppcanvas::internal::XForm
-cppcanvas/source/inc/implrenderer.hxx:159
- cppcanvas::internal::(anonymous) aDevState struct cppcanvas::internal::OutDevState
-cppcanvas/source/inc/implrenderer.hxx:255
- cppcanvas::internal::ImplRenderer aWorldTransform struct cppcanvas::internal::XForm
-cppcanvas/source/inc/implrenderer.hxx:257
- cppcanvas::internal::ImplRenderer fPageScale float
-cppcanvas/source/inc/implrenderer.hxx:258
- cppcanvas::internal::ImplRenderer nOriginX sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:259
- cppcanvas::internal::ImplRenderer nOriginY sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:260
- cppcanvas::internal::ImplRenderer nHDPI sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:261
- cppcanvas::internal::ImplRenderer nVDPI sal_Int32
-cppcanvas/source/inc/implrenderer.hxx:272
- cppcanvas::internal::ImplRenderer mbMultipart _Bool
-cppcanvas/source/inc/implrenderer.hxx:273
- cppcanvas::internal::ImplRenderer mMFlags sal_uInt16
-cppcanvas/source/inc/implrenderer.hxx:274
- cppcanvas::internal::ImplRenderer mMStream class SvMemoryStream
-cppcanvas/source/inc/implrenderer.hxx:276
- cppcanvas::internal::ImplRenderer mGSStack cppcanvas::internal::GraphicStateMap
-cppcanvas/source/inc/implrenderer.hxx:277
- cppcanvas::internal::ImplRenderer mGSContainerStack cppcanvas::internal::GraphicStateMap
cppu/source/threadpool/threadpool.cxx:355
_uno_ThreadPool dummy sal_Int32
cppu/source/typelib/typelib.cxx:59
AlignSize_Impl nInt16 sal_Int16
-cui/source/customize/cfgutil.cxx:447
- CuiConfigGroupBoxResource_Impl m_sMacros class rtl::OUString
cui/source/dialogs/colorpicker.cxx:714
cui::ColorPickerDialog m_xColorField std::unique_ptr<weld::CustomWeld>
cui/source/dialogs/colorpicker.cxx:716
@@ -203,9 +175,9 @@ include/sfx2/msg.hxx:135
include/sfx2/msg.hxx:135
SfxType4 nAttribs sal_uInt16
include/sfx2/msg.hxx:135
- SfxType4 pType const std::type_info *
-include/sfx2/msg.hxx:135
SfxType4 createSfxPoolItemFunc std::function<SfxPoolItem *(void)>
+include/sfx2/msg.hxx:135
+ SfxType4 pType const std::type_info *
include/sfx2/msg.hxx:136
SfxType5 aAttrib struct SfxTypeAttrib [5]
include/sfx2/msg.hxx:136
@@ -420,17 +392,11 @@ sal/qa/osl/security/osl_Security.cxx:157
osl_Security::getUserName bRes1 _Bool
sal/qa/osl/security/osl_Security.cxx:191
osl_Security::getConfigDir bRes1 _Bool
-sc/inc/xmlwrap.hxx:102
- ScXMLChartExportWrapper mxModel css::uno::Reference<css::frame::XModel>
-sc/inc/xmlwrap.hxx:103
- ScXMLChartExportWrapper mxStorage css::uno::Reference<css::embed::XStorage>
-sc/inc/xmlwrap.hxx:104
- ScXMLChartExportWrapper mrMedium class SfxMedium &
sc/qa/unit/ucalc_column.cxx:104
aInputs aName const char *
-sc/source/core/data/document.cxx:1225
+sc/source/core/data/document.cxx:1237
(anonymous namespace)::BroadcastRecalcOnRefMoveHandler aSwitch const sc::AutoCalcSwitch
-sc/source/core/data/document.cxx:1226
+sc/source/core/data/document.cxx:1238
(anonymous namespace)::BroadcastRecalcOnRefMoveHandler aBulk const class ScBulkBroadcast
sc/source/filter/html/htmlpars.cxx:3030
(anonymous namespace)::CSSHandler::MemStr mp const char *
@@ -493,9 +459,9 @@ sd/source/ui/view/viewshel.cxx:1211
sd/source/ui/view/ViewShellBase.cxx:194
sd::ViewShellBase::Implementation mpPageCacheManager std::shared_ptr<slidesorter::cache::PageCacheManager>
sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
- PDFGrammar::definition array rule<ScannerT>
-sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
PDFGrammar::definition value rule<ScannerT>
+sdext/source/pdfimport/pdfparse/pdfparse.cxx:264
+ PDFGrammar::definition array rule<ScannerT>
sfx2/source/doc/doctempl.cxx:116
DocTempl::DocTempl_EntryData_Impl mxObjShell const class SfxObjectShellLock
sfx2/source/inc/sfxpicklist.hxx:33
@@ -642,7 +608,7 @@ vcl/unx/generic/print/prtsetup.hxx:73
RTSPaperPage m_xContainer std::unique_ptr<weld::Widget>
vcl/unx/generic/print/prtsetup.hxx:108
RTSDevicePage m_xContainer std::unique_ptr<weld::Widget>
-vcl/unx/gtk3/gtk3gtkinst.cxx:2709
+vcl/unx/gtk3/gtk3gtkinst.cxx:2712
CrippledViewport viewport GtkViewport
vcl/unx/gtk/a11y/atkhypertext.cxx:29
(anonymous) atk_hyper_link const AtkHyperlink
diff --git a/compilerplugins/clang/unusedfields.writeonly.results b/compilerplugins/clang/unusedfields.writeonly.results
index 06ff091689fc..343ad56ee854 100644
--- a/compilerplugins/clang/unusedfields.writeonly.results
+++ b/compilerplugins/clang/unusedfields.writeonly.results
@@ -1,11 +1,11 @@
-basctl/source/basicide/basicbox.hxx:101
- basctl::DocListenerBox maNotifier class basctl::DocumentEventNotifier
basctl/source/inc/basidesh.hxx:87
basctl::Shell m_aNotifier class basctl::DocumentEventNotifier
basctl/source/inc/bastype2.hxx:183
basctl::TreeListBox m_aNotifier class basctl::DocumentEventNotifier
basctl/source/inc/bastype2.hxx:258
basctl::SbTreeListBox m_aNotifier class basctl::DocumentEventNotifier
+basctl/source/inc/IDEComboBox.hxx:101
+ basctl::DocListenerBox maNotifier class basctl::DocumentEventNotifier
basic/qa/cppunit/test_scanner.cxx:26
(anonymous namespace)::Symbol line sal_uInt16
basic/qa/cppunit/test_scanner.cxx:27
@@ -88,7 +88,19 @@ connectivity/source/inc/OTypeInfo.hxx:36
connectivity::OTypeInfo nMaximumScale sal_Int16
connectivity/source/inc/OTypeInfo.hxx:38
connectivity::OTypeInfo nType sal_Int16
-cppcanvas/source/inc/implrenderer.hxx:254
+cppcanvas/source/inc/implrenderer.hxx:92
+ cppcanvas::internal::XForm eM11 float
+cppcanvas/source/inc/implrenderer.hxx:93
+ cppcanvas::internal::XForm eM12 float
+cppcanvas/source/inc/implrenderer.hxx:94
+ cppcanvas::internal::XForm eM21 float
+cppcanvas/source/inc/implrenderer.hxx:95
+ cppcanvas::internal::XForm eM22 float
+cppcanvas/source/inc/implrenderer.hxx:96
+ cppcanvas::internal::XForm eDx float
+cppcanvas/source/inc/implrenderer.hxx:97
+ cppcanvas::internal::XForm eDy float
+cppcanvas/source/inc/implrenderer.hxx:215
cppcanvas::internal::ImplRenderer aBaseTransform struct cppcanvas::internal::XForm
cppu/source/uno/check.cxx:38
(anonymous namespace)::C1 n1 sal_Int16
@@ -149,11 +161,11 @@ desktop/qa/desktop_lib/test_desktop_lib.cxx:188
desktop/source/deployment/gui/dp_gui_updateinstalldialog.cxx:117
dp_gui::UpdateCommandEnv m_installThread ::rtl::Reference<UpdateInstallDialog::Thread>
desktop/unx/source/splashx.c:370
- flags unsigned long
+ functions unsigned long
desktop/unx/source/splashx.c:370
decorations unsigned long
desktop/unx/source/splashx.c:370
- functions unsigned long
+ flags unsigned long
desktop/unx/source/splashx.c:371
input_mode long
drawinglayer/source/attribute/sdrfillgraphicattribute.cxx:44
@@ -225,15 +237,15 @@ include/canvas/rendering/irendermodule.hxx:40
include/canvas/rendering/irendermodule.hxx:40
canvas::Vertex g float
include/canvas/rendering/irendermodule.hxx:41
- canvas::Vertex v float
-include/canvas/rendering/irendermodule.hxx:41
canvas::Vertex u float
+include/canvas/rendering/irendermodule.hxx:41
+ canvas::Vertex v float
+include/canvas/rendering/irendermodule.hxx:42
+ canvas::Vertex y float
include/canvas/rendering/irendermodule.hxx:42
canvas::Vertex z float
include/canvas/rendering/irendermodule.hxx:42
canvas::Vertex x float
-include/canvas/rendering/irendermodule.hxx:42
- canvas::Vertex y float
include/drawinglayer/attribute/sdrallattribute3d.hxx:44
drawinglayer::attribute::SdrLineFillShadowAttribute3D maLineStartEnd const class drawinglayer::attribute::SdrLineStartEndAttribute
include/drawinglayer/primitive2d/mediaprimitive2d.hxx:51
@@ -277,11 +289,11 @@ include/svx/imapdlg.hxx:118
include/svx/ofaitem.hxx:44
OfaRefItem mxRef rtl::Reference<reference_type>
include/svx/viewpt3d.hxx:62
+ Viewport3D::(anonymous) X double
+include/svx/viewpt3d.hxx:62
Viewport3D::(anonymous) H double
include/svx/viewpt3d.hxx:62
Viewport3D::(anonymous) Y double
-include/svx/viewpt3d.hxx:62
- Viewport3D::(anonymous) X double
include/vcl/opengl/OpenGLContext.hxx:35
GLWindow bMultiSampleSupported _Bool
include/vcl/salnativewidgets.hxx:446
@@ -293,11 +305,11 @@ include/vcl/salnativewidgets.hxx:512
include/vcl/textrectinfo.hxx:31
TextRectInfo mnLineCount sal_uInt16
include/vcl/vclenum.hxx:199
- ItalicMatrix xy double
+ ItalicMatrix yy double
include/vcl/vclenum.hxx:199
ItalicMatrix yx double
include/vcl/vclenum.hxx:199
- ItalicMatrix yy double
+ ItalicMatrix xy double
include/vcl/vclenum.hxx:199
ItalicMatrix xx double
include/xmloff/shapeimport.hxx:180
@@ -321,9 +333,9 @@ lingucomponent/source/languageguessing/simpleguesser.cxx:79
lingucomponent/source/languageguessing/simpleguesser.cxx:81
textcat_t output char [1024]
package/inc/ByteChucker.hxx:38
- ByteChucker p4Sequence sal_Int8 *const
-package/inc/ByteChucker.hxx:38
ByteChucker p2Sequence sal_Int8 *const
+package/inc/ByteChucker.hxx:38
+ ByteChucker p4Sequence sal_Int8 *const
registry/source/reflread.cxx:466
ConstantPool::readDoubleConstant(sal_uInt16)::(anonymous union)::(anonymous) b1 sal_uInt32
registry/source/reflread.cxx:467
@@ -339,9 +351,9 @@ sal/qa/osl/file/osl_File.cxx:2426
sal/qa/osl/file/osl_File.cxx:2898
osl_File::write nCount_read sal_uInt64
sal/qa/osl/file/osl_File.cxx:4156
- osl_Directory::isOpen nError2 osl::class FileBase::RC
-sal/qa/osl/file/osl_File.cxx:4156
osl_Directory::isOpen nError1 osl::class FileBase::RC
+sal/qa/osl/file/osl_File.cxx:4156
+ osl_Directory::isOpen nError2 osl::class FileBase::RC
sal/qa/osl/file/osl_File.cxx:4214
osl_Directory::close nError2 osl::class FileBase::RC
sal/rtl/alloc_arena.hxx:35
@@ -372,7 +384,7 @@ sc/inc/compiler.hxx:257
ScCompiler::AddInMap pEnglish const char *
sc/inc/compiler.hxx:259
ScCompiler::AddInMap pUpper const char *
-sc/inc/document.hxx:2536
+sc/inc/document.hxx:2545
ScMutationDisable mpDocument class ScDocument *
sc/inc/interpretercontext.hxx:39
ScInterpreterContext mpDoc const class ScDocument *
@@ -660,14 +672,12 @@ vcl/unx/generic/gdi/cairotextrender.cxx:56
(anonymous namespace)::CairoFontsCache::CacheId mbEmbolden _Bool
vcl/unx/generic/gdi/cairotextrender.cxx:57
(anonymous namespace)::CairoFontsCache::CacheId mbVerticalMetrics _Bool
-vcl/unx/gtk3/gtk3gtkinst.cxx:1155
+vcl/unx/gtk3/gtk3gtkinst.cxx:1156
in char *
-vcl/unx/gtk3/gtk3gtkinst.cxx:1205
- GtkInstanceWidget m_nKeyReleaseSignalId gulong
vcl/unx/gtk/a11y/atkwrapper.hxx:49
AtkObjectWrapper aParent const AtkObject
-vcl/unx/gtk/a11y/atkwrapper.hxx:80
- AtkObjectWrapperClass aParentClass const AtkObjectClass
+vcl/unx/gtk/a11y/atkwrapper.hxx:78
+ AtkObjectWrapperClass aParentClass GtkWidgetAccessibleClass
vcl/unx/gtk/gloactiongroup.cxx:30
GLOAction parent_instance GObject
vcl/unx/gtk/glomenu.cxx:20
diff --git a/sw/source/core/inc/UndoTable.hxx b/sw/source/core/inc/UndoTable.hxx
index f2dc0b705e55..5b6c07bccc70 100644
--- a/sw/source/core/inc/UndoTable.hxx
+++ b/sw/source/core/inc/UndoTable.hxx
@@ -178,8 +178,8 @@ class SwUndoTableNdsChg : public SwUndo
std::unique_ptr< std::set<BoxMove> > m_pNewSttNds;
std::unique_ptr<SwUndoSaveSections> m_pDelSects;
long m_nMin, m_nMax; // for redo of delete column
- sal_uLong m_nSttNode, m_nCurrBox;
- sal_uInt16 m_nCount, m_nRelDiff, m_nAbsDiff;
+ sal_uLong m_nSttNode;
+ sal_uInt16 m_nCount;
TableChgWidthHeightType m_nSetColType;
bool const m_bFlag;
bool const m_bSameHeight; // only used for SplitRow
diff --git a/sw/source/core/undo/untbl.cxx b/sw/source/core/undo/untbl.cxx
index 7b88f1d8d93d..5b9957eea5f1 100644
--- a/sw/source/core/undo/untbl.cxx
+++ b/sw/source/core/undo/untbl.cxx
@@ -1471,8 +1471,8 @@ SwUndoTableNdsChg::SwUndoTableNdsChg( SwUndoId nAction,
sal_uInt16 nCnt, bool bFlg, bool bSmHght )
: SwUndo( nAction, rTableNd.GetDoc() ),
m_nMin( nMn ), m_nMax( nMx ),
- m_nSttNode( rTableNd.GetIndex() ), m_nCurrBox( 0 ),
- m_nCount( nCnt ), m_nRelDiff( 0 ), m_nAbsDiff( 0 ),
+ m_nSttNode( rTableNd.GetIndex() ),
+ m_nCount( nCnt ),
m_nSetColType( TableChgWidthHeightType::InvalidPos ),
m_bFlag( bFlg ),
m_bSameHeight( bSmHght )
@@ -1808,9 +1808,8 @@ void SwUndoTableNdsChg::RedoImpl(::sw::UndoRedoContext & rContext)
rDoc.InsertCol( aSelBoxes, m_nCount, m_bFlag );
else
{
- SwTableBox* pBox = pTableNd->GetTable().GetTableBox( m_nCurrBox );
- rDoc.SetColRowWidthHeight( *pBox, m_nSetColType, m_nAbsDiff,
- m_nRelDiff );
+ SwTableBox* pBox = pTableNd->GetTable().GetTableBox( 0 );
+ rDoc.SetColRowWidthHeight( *pBox, m_nSetColType, 0, 0 );
}
break;
@@ -1820,10 +1819,10 @@ void SwUndoTableNdsChg::RedoImpl(::sw::UndoRedoContext & rContext)
else
{
SwTable& rTable = pTableNd->GetTable();
- SwTableBox* pBox = rTable.GetTableBox( m_nCurrBox );
+ SwTableBox* pBox = rTable.GetTableBox( 0 );
TableChgMode eOldMode = rTable.GetTableChgMode();
rTable.SetTableChgMode( static_cast<TableChgMode>(m_nCount) );
- rDoc.SetColRowWidthHeight( *pBox, m_nSetColType, m_nAbsDiff, m_nRelDiff );
+ rDoc.SetColRowWidthHeight( *pBox, m_nSetColType, 0, 0 );
rTable.SetTableChgMode( eOldMode );
}
break;
@@ -1852,7 +1851,7 @@ void SwUndoTableNdsChg::RedoImpl(::sw::UndoRedoContext & rContext)
aMsgHint.m_eFlags = TBL_BOXPTR;
rDoc.getIDocumentFieldsAccess().UpdateTableFields( &aMsgHint );
- SwTableBox* pBox = rTable.GetTableBox( m_nCurrBox );
+ SwTableBox* pBox = rTable.GetTableBox( 0 );
TableChgMode eOldMode = rTable.GetTableChgMode();
rTable.SetTableChgMode( static_cast<TableChgMode>(m_nCount) );
@@ -1866,14 +1865,12 @@ void SwUndoTableNdsChg::RedoImpl(::sw::UndoRedoContext & rContext)
case TableChgWidthHeightType::ColRight:
case TableChgWidthHeightType::CellLeft:
case TableChgWidthHeightType::CellRight:
- rTable.SetColWidth( *pBox, m_nSetColType, m_nAbsDiff,
- m_nRelDiff, &pUndo );
+ rTable.SetColWidth( *pBox, m_nSetColType, 0, 0, &pUndo );
break;
case TableChgWidthHeightType::RowBottom:
case TableChgWidthHeightType::CellTop:
case TableChgWidthHeightType::CellBottom:
- rTable.SetRowHeight( *pBox, m_nSetColType, m_nAbsDiff,
- m_nRelDiff, &pUndo );
+ rTable.SetRowHeight( *pBox, m_nSetColType, 0, 0, &pUndo );
break;
default: break;
}
More information about the Libreoffice-commits
mailing list