diff options
author | Armin Weiss <aw@openoffice.org> | 2004-08-10 12:59:43 +0000 |
---|---|---|
committer | Armin Weiss <aw@openoffice.org> | 2004-08-10 12:59:43 +0000 |
commit | 19d27da2139f4bfef7bfc2bb32b34b10407f347a (patch) | |
tree | 9a9a142313a2c1715b65f777f3b94ec273bb4526 /sw | |
parent | 2391e52e0685330c749a5a9b61c6f7a737a34dce (diff) |
#i32692# corrected missing case for 'HANDLE_CHANGES_PASSWORD'
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/uno/SwXDocumentSettings.cxx | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/sw/source/ui/uno/SwXDocumentSettings.cxx b/sw/source/ui/uno/SwXDocumentSettings.cxx index fbc2de95610f..bd576826fe68 100644 --- a/sw/source/ui/uno/SwXDocumentSettings.cxx +++ b/sw/source/ui/uno/SwXDocumentSettings.cxx @@ -2,9 +2,9 @@ * * $RCSfile: SwXDocumentSettings.cxx,v $ * - * $Revision: 1.37 $ + * $Revision: 1.38 $ * - * last change: $Author: kz $ $Date: 2004-08-02 14:25:16 $ + * last change: $Author: aw $ $Date: 2004-08-10 13:59:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -613,14 +613,6 @@ void SwXDocumentSettings::_setSingleValue( const comphelper::PropertyInfo & rInf mpDoc->SetUseFormerTextWrapping( bTmp ); } break; - // --> OD 2004-07-08 #i28701# - case HANDLE_CONSIDER_WRAP_ON_OBJPOS: - { - sal_Bool bTmp = *(sal_Bool*)rValue.getValue(); - mpDoc->SetConsiderWrapOnObjPos( bTmp ); - } - break; - // <-- case HANDLE_CHANGES_PASSWORD: { Sequence <sal_Int8> aNew; @@ -636,6 +628,14 @@ void SwXDocumentSettings::_setSingleValue( const comphelper::PropertyInfo & rInf } } break; + // --> OD 2004-07-08 #i28701# + case HANDLE_CONSIDER_WRAP_ON_OBJPOS: + { + sal_Bool bTmp = *(sal_Bool*)rValue.getValue(); + mpDoc->SetConsiderWrapOnObjPos( bTmp ); + } + break; + // <-- default: throw UnknownPropertyException(); } @@ -855,6 +855,11 @@ void SwXDocumentSettings::_getSingleValue( const comphelper::PropertyInfo & rInf rValue.setValue( &bTmp, ::getBooleanCppuType() ); } break; + case HANDLE_CHANGES_PASSWORD: + { + rValue <<= mpDoc->GetRedlinePasswd(); + } + break; // --> OD 2004-07-08 #i28701# case HANDLE_CONSIDER_WRAP_ON_OBJPOS: { |