diff options
author | Krisztian Pinter <pin.terminator@gmail.com> | 2013-03-11 12:46:18 +0100 |
---|---|---|
committer | Bosdonnat Cedric <cedric.bosdonnat@free.fr> | 2013-03-11 14:37:09 +0000 |
commit | 8933f19100adbf9f2601db0f3ac67dd3b1887ef7 (patch) | |
tree | 5f643258ba95c6ba87635882a99041dc8a8dd598 /unotools | |
parent | 68c3dfc3119a50ee9c9c6d65f4c656637152bbad (diff) |
fdo#47011 autosave feature
removed unnecessary prop. name "Document/UserAutoSave" from saveopt.cxx
fixed autosave feature setting "losing its value"
set autosave feature default value to False
Change-Id: I473154b21bab53bf595a5a59e87dc16e472dcbf9
Reviewed-on: https://gerrit.libreoffice.org/2663
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Diffstat (limited to 'unotools')
-rw-r--r-- | unotools/source/config/saveopt.cxx | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx index 452fccae9d84..513f2a334b11 100644 --- a/unotools/source/config/saveopt.cxx +++ b/unotools/source/config/saveopt.cxx @@ -357,7 +357,6 @@ sal_Bool SvtSaveOptions_Impl::IsReadOnly( SvtSaveOptions::EOption eOption ) cons #define ODFDEFAULTVERSION 15 #define USESHA1INODF12 16 #define USEBLOWFISHINODF12 17 -#define USERAUTOSAVE 18 Sequence< OUString > GetPropertyNames() { @@ -380,8 +379,7 @@ Sequence< OUString > GetPropertyNames() "WorkingSet", "ODF/DefaultVersion", "ODF/UseSHA1InODF12", - "ODF/UseBlowfishInODF12", - "Document/UserAutoSave" + "ODF/UseBlowfishInODF12" }; const int nCount = sizeof( aPropNames ) / sizeof( const char* ); @@ -500,10 +498,6 @@ SvtSaveOptions_Impl::SvtSaveOptions_Impl() bAutoSave = bTemp; bROAutoSave = pROStates[nProp]; break; - case USERAUTOSAVE : - bUserAutoSave = bTemp; - bROUserAutoSave = pROStates[nProp]; - break; case PROMPT : bAutoSavePrompt = bTemp; bROAutoSavePrompt = pROStates[nProp]; @@ -660,14 +654,6 @@ void SvtSaveOptions_Impl::Commit() ++nRealCount; } break; - case USERAUTOSAVE : - if (!bROUserAutoSave) - { - pValues[nRealCount] <<= bUserAutoSave; - pNames[nRealCount] = pOrgNames[i]; - ++nRealCount; - } - break; case EDITPROPERTY : if (!bRODocInfSave) { |