diff options
Diffstat (limited to 'cui/source/options/treeopt.cxx')
-rw-r--r-- | cui/source/options/treeopt.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index f36a8ab76029..8b7c32b051bd 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -130,6 +130,8 @@ static OUString GetViewOptUserItem( const SvtViewOptions& rOpt ) return aUserData; } +namespace { + struct ModuleToGroupNameMap_Impl { const char* m_pModule; @@ -137,6 +139,8 @@ struct ModuleToGroupNameMap_Impl sal_uInt16 m_nNodeId; }; +} + static ModuleToGroupNameMap_Impl ModuleMap[] = { { "ProductName", OUString(), SID_GENERAL_OPTIONS }, @@ -232,6 +236,8 @@ static sal_uInt16 getGroupNodeId( const OUString& rModule ) return nNodeId; } +namespace { + class MailMergeCfg_Impl : public utl::ConfigItem { private: @@ -250,6 +256,8 @@ public: }; +} + MailMergeCfg_Impl::MailMergeCfg_Impl() : utl::ConfigItem("Office.Writer/MailMergeWizard"), bIsEmailSupported(false) @@ -314,6 +322,8 @@ static std::unique_ptr<SfxTabPage> CreateGeneralTabPage(sal_uInt16 nId, weld::Co return fnCreate ? (*fnCreate)( pPage, pController, &rSet ) : nullptr; } +namespace { + struct OptionsMapping_Impl { const char* m_pGroupName; @@ -321,6 +331,8 @@ struct OptionsMapping_Impl sal_uInt16 m_nPageId; }; +} + static OptionsMapping_Impl const OptionsMap_Impl[] = { // GROUP PAGE PAGE-ID @@ -450,6 +462,8 @@ struct OptionsPageInfo explicit OptionsPageInfo( sal_uInt16 nId ) : m_nPageId( nId ) {} }; +namespace { + struct OptionsGroupInfo { std::unique_ptr<SfxItemSet> m_pInItemSet; @@ -463,6 +477,8 @@ struct OptionsGroupInfo m_pModule( pMod ), m_nDialogId( nId ) {} }; +} + #define INI_LIST() \ , m_pParent ( pParent )\ , sTitle ( m_xDialog->get_title() )\ |