diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-07-03 16:36:10 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2020-07-14 16:19:53 +0200 |
commit | a03bc509cd19011043c340b893e7b00c7937423c (patch) | |
tree | 395fc6ebb1a4d06a2310c147f0472f2b056c5fd4 /include/editeng | |
parent | d52fab0e1cb80fb1be775887585fede5dfffb60f (diff) |
tdf#134478 Refactor dumping of EditEngine data
- document key combinations in README
- dump data into workdir as editenginedump.log
- move as static function into EditEngine class
- get rid of the EditDbg class and editdbg.hxx
Change-Id: I965f0143a9a275a289b202f54c0ea65da63c52f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97873
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'include/editeng')
-rw-r--r-- | include/editeng/editeng.hxx | 7 | ||||
-rw-r--r-- | include/editeng/editview.hxx | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index e183cf81be5a..f853a017bfab 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -140,7 +140,6 @@ class EDITENG_DLLPUBLIC EditEngine { friend class EditView; friend class ImpEditView; - friend class EditDbg; friend class Outliner; friend class TextChainingUtils; @@ -199,7 +198,7 @@ public: EditEngine( SfxItemPool* pItemPool ); virtual ~EditEngine(); - const SfxItemSet& GetEmptyItemSet(); + const SfxItemSet& GetEmptyItemSet() const; void SetDefTab( sal_uInt16 nDefTab ); @@ -631,6 +630,10 @@ public: void SetLOKSpecialPaperSize(const Size& rSize); const Size& GetLOKSpecialPaperSize() const; + +#ifdef DBG_UTIL + static void DumpData(const EditEngine* pEE, bool bInfoBox); +#endif }; #endif // INCLUDED_EDITENG_EDITENG_HXX diff --git a/include/editeng/editview.hxx b/include/editeng/editview.hxx index 5b7f08228cff..86c88f5824b7 100644 --- a/include/editeng/editview.hxx +++ b/include/editeng/editview.hxx @@ -223,7 +223,7 @@ public: void MoveParagraphs( Range aParagraphs, sal_Int32 nNewPos ); void MoveParagraphs( long nDiff ); - const SfxItemSet& GetEmptyItemSet(); + const SfxItemSet& GetEmptyItemSet() const; SfxItemSet GetAttribs(); void SetAttribs( const SfxItemSet& rSet ); void RemoveAttribs( bool bRemoveParaAttribs = false, sal_uInt16 nWhich = 0 ); |