diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-22 08:46:08 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-22 08:46:31 +0200 |
commit | d214f1cb437ad1733cbebc95586d58f0ec19c16e (patch) | |
tree | 1d7b2a51ca73044a0fb5c78efea0c27f20d6277e /sw/source/uibase/app/swmodule.cxx | |
parent | 050447a30012717643f1d056e0ba614f36e1303f (diff) |
sw: prefix members of SwModule
Change-Id: I5647e60dfbe5af460a077e1c2adf036fc2bb8037
Diffstat (limited to 'sw/source/uibase/app/swmodule.cxx')
-rw-r--r-- | sw/source/uibase/app/swmodule.cxx | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/sw/source/uibase/app/swmodule.cxx b/sw/source/uibase/app/swmodule.cxx index b43373ad9c7b..31b39c5bef01 100644 --- a/sw/source/uibase/app/swmodule.cxx +++ b/sw/source/uibase/app/swmodule.cxx @@ -147,45 +147,45 @@ SwModule::SwModule( SfxObjectFactory* pWebFact, SfxObjectFactory* pGlobalFact ) : SfxModule( ResMgr::CreateResMgr( "sw" ), false, pWebFact, pFact, pGlobalFact, NULL ), - pModuleConfig(0), - pUsrPref(0), - pWebUsrPref(0), - pPrtOpt(0), - pWebPrtOpt(0), - pChapterNumRules(0), - pStdFontConfig(0), - pNavigationConfig(0), - pToolbarConfig(0), - pWebToolbarConfig(0), - pDBConfig(0), - pColorConfig(0), - pAccessibilityOptions(0), - pCTLOptions(0), - pUserOptions(0), - pAttrPool(0), - pView(0), - bAuthorInitialised(false), - bEmbeddedLoadSave( false ), - pDragDrop( 0 ), - pXSelection( 0 ) + m_pModuleConfig(0), + m_pUsrPref(0), + m_pWebUsrPref(0), + m_pPrintOptions(0), + m_pWebPrintOptions(0), + m_pChapterNumRules(0), + m_pStdFontConfig(0), + m_pNavigationConfig(0), + m_pToolbarConfig(0), + m_pWebToolbarConfig(0), + m_pDBConfig(0), + m_pColorConfig(0), + m_pAccessibilityOptions(0), + m_pCTLOptions(0), + m_pUserOptions(0), + m_pAttrPool(0), + m_pView(0), + m_bAuthorInitialised(false), + m_bEmbeddedLoadSave( false ), + m_pDragDrop( 0 ), + m_pXSelection( 0 ) { SetName( OUString("StarWriter") ); pSwResMgr = GetResMgr(); SvxErrorHandler::ensure(); - pErrorHdl = new SfxErrorHandler( RID_SW_ERRHDL, + m_pErrorHandler = new SfxErrorHandler( RID_SW_ERRHDL, ERRCODE_AREA_SW, ERRCODE_AREA_SW_END, pSwResMgr ); - pModuleConfig = new SwModuleOptions; + m_pModuleConfig = new SwModuleOptions; // We need them anyways - pToolbarConfig = new SwToolbarConfigItem( false ); - pWebToolbarConfig = new SwToolbarConfigItem( true ); + m_pToolbarConfig = new SwToolbarConfigItem( false ); + m_pWebToolbarConfig = new SwToolbarConfigItem( true ); - pStdFontConfig = new SwStdFontConfig; + m_pStdFontConfig = new SwStdFontConfig; - pAuthorNames = new std::vector<OUString>; // All Redlining-Authors + m_pAuthorNames = new std::vector<OUString>; // All Redlining-Authors StartListening( *SfxGetpApp() ); @@ -218,14 +218,14 @@ uno::Reference< linguistic2::XLanguageGuessing > SwModule::GetLanguageGuesser() SwModule::~SwModule() { - delete pErrorHdl; + delete m_pErrorHandler; EndListening( *SfxGetpApp() ); } void SwModule::CreateLngSvcEvtListener() { - if (!xLngSvcEvtListener.is()) - xLngSvcEvtListener = new SwLinguServiceEventListener; + if (!m_xLinguServiceEventListener.is()) + m_xLinguServiceEventListener = new SwLinguServiceEventListener; } void SwDLL::RegisterFactories() @@ -387,15 +387,15 @@ void SwDLL::RegisterControls() // Load Module (only dummy for linking of the DLL) void SwModule::InitAttrPool() { - OSL_ENSURE(!pAttrPool, "Pool already exists!"); - pAttrPool = new SwAttrPool(0); - SetPool(pAttrPool); + OSL_ENSURE(!m_pAttrPool, "Pool already exists!"); + m_pAttrPool = new SwAttrPool(0); + SetPool(m_pAttrPool); } void SwModule::RemoveAttrPool() { SetPool(0); - SfxItemPool::Free(pAttrPool); + SfxItemPool::Free(m_pAttrPool); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |