summaryrefslogtreecommitdiff
path: root/sd/source/ui/app
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-23 11:26:08 +0200
committerNoel Grandin <noel@peralex.com>2015-07-24 09:52:08 +0200
commit0bc070587c3ef5dd30975885d8331c337ba9a2da (patch)
treeecef5773fdf76cb10628e26cc7ae2346110d8a9d /sd/source/ui/app
parent3e65f5fe662bf66cab65a163b45c55c27aa24c44 (diff)
simplify SdOptions::StoreConfig
nobody calls it with anything other than the default value Change-Id: I9c3a975ed7f0e22c58aad7bf733a26f79244ca26
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r--sd/source/ui/app/optsitem.cxx31
1 files changed, 9 insertions, 22 deletions
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx
index 4e8ef7296313..14a3fc018bb4 100644
--- a/sd/source/ui/app/optsitem.cxx
+++ b/sd/source/ui/app/optsitem.cxx
@@ -1425,28 +1425,15 @@ SdOptions::~SdOptions()
{
}
-void SdOptions::StoreConfig( sal_uLong nOptionsRange )
-{
- if( nOptionsRange & SD_OPTIONS_LAYOUT )
- SdOptionsLayout::Store();
-
- if( nOptionsRange & SD_OPTIONS_CONTENTS )
- SdOptionsContents::Store();
-
- if( nOptionsRange & SD_OPTIONS_MISC )
- SdOptionsMisc::Store();
-
- if( nOptionsRange & SD_OPTIONS_SNAP )
- SdOptionsSnap::Store();
-
- if( nOptionsRange & SD_OPTIONS_ZOOM )
- SdOptionsZoom::Store();
-
- if( nOptionsRange & SD_OPTIONS_GRID )
- SdOptionsGrid::Store();
-
- if( nOptionsRange & SD_OPTIONS_PRINT )
- SdOptionsPrint::Store();
+void SdOptions::StoreConfig()
+{
+ SdOptionsLayout::Store();
+ SdOptionsContents::Store();
+ SdOptionsMisc::Store();
+ SdOptionsSnap::Store();
+ SdOptionsZoom::Store();
+ SdOptionsGrid::Store();
+ SdOptionsPrint::Store();
}
sal_Int32 SdOptionsMisc::GetDisplay() const