diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-06-22 09:07:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-06-22 09:48:05 +0200 |
commit | 3c41f9f8fbcc159983ddf54848efb59f5ed96017 (patch) | |
tree | a8a50be09204ad4b0f2e4d260b1a916c7e664e4e /sw/source/uibase/inc/cfgitems.hxx | |
parent | 70479e1f4cb3c120f46239a648e65f035af2922d (diff) |
sw: prefix members of SwDocDisplayItem, SwNode2LayoutSaveUpperFrames, ...
... SwShadowCursorItem and SwUndoSort
See tdf#94879 for motivation.
Change-Id: Ic41cd974cc91bf29d73611a7ca920adc9a6551d7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96833
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw/source/uibase/inc/cfgitems.hxx')
-rw-r--r-- | sw/source/uibase/inc/cfgitems.hxx | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/sw/source/uibase/inc/cfgitems.hxx b/sw/source/uibase/inc/cfgitems.hxx index bf50b8f105f0..feb68c81a9bc 100644 --- a/sw/source/uibase/inc/cfgitems.hxx +++ b/sw/source/uibase/inc/cfgitems.hxx @@ -37,21 +37,20 @@ class SwContentOptPage; class SwShdwCursorOptionsTabPage; enum class SwFillMode; -// OS 12.01.95 -// Item for settings dialog - document view +/// Item for settings dialog - document view class SW_DLLPUBLIC SwDocDisplayItem : public SfxPoolItem { friend class SwShdwCursorOptionsTabPage; friend class SwModule; - bool bParagraphEnd :1; - bool bTab :1; - bool bSpace :1; - bool bNonbreakingSpace :1; - bool bSoftHyphen :1; - bool bCharHiddenText :1; - bool bBookmarks :1; - bool bManualBreak :1; + bool m_bParagraphEnd :1; + bool m_bTab :1; + bool m_bSpace :1; + bool m_bNonbreakingSpace :1; + bool m_bSoftHyphen :1; + bool m_bCharHiddenText :1; + bool m_bBookmarks :1; + bool m_bManualBreak :1; public: SwDocDisplayItem(); @@ -109,11 +108,11 @@ public: virtual bool operator==( const SfxPoolItem& ) const override; }; -// Item for settings dialog, ShadowCursorPage +/// Item for settings dialog, ShadowCursorPage class SW_DLLPUBLIC SwShadowCursorItem : public SfxPoolItem { - SwFillMode eMode; - bool bOn; + SwFillMode m_eMode; + bool m_bOn; public: SwShadowCursorItem(); SwShadowCursorItem( const SwViewOption& rVOpt ); @@ -123,11 +122,11 @@ public: void FillViewOptions( SwViewOption& rVOpt) const; - SwFillMode GetMode() const { return eMode; } - bool IsOn() const { return bOn; } + SwFillMode GetMode() const { return m_eMode; } + bool IsOn() const { return m_bOn; } - void SetMode( SwFillMode eM ) { eMode = eM; } - void SetOn( bool bFlag ) { bOn = bFlag; } + void SetMode( SwFillMode eM ) { m_eMode = eM; } + void SetOn( bool bFlag ) { m_bOn = bFlag; } }; #ifdef DBG_UTIL |