diff options
author | sb <sb@openoffice.org> | 2010-03-04 23:05:27 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-03-04 23:05:27 +0100 |
commit | 4109a5e46ca0fca5ac9325ae0375d7ca0c1a6281 (patch) | |
tree | acf065e291575006b100daae081732e8b6251931 /ucb | |
parent | 19a51dccadb906d6a91a2d702530c210fb009a94 (diff) | |
parent | 9792aee99e3b02fec28389c6bbbd4d4bd0dc5de4 (diff) |
merged in re/DEV300_next towards DEV300_m74
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/core/ucbstore.cxx | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ucb/source/core/ucbstore.cxx b/ucb/source/core/ucbstore.cxx index d44f32fff6..7bf58a2001 100644 --- a/ucb/source/core/ucbstore.cxx +++ b/ucb/source/core/ucbstore.cxx @@ -1567,7 +1567,9 @@ void SAL_CALL PersistentPropertySet::setPropertyValue( // Write state ( Now it is a directly set value ) xNameReplace->replaceByName( OUString::createFromAscii( "State" ), - makeAny( PropertyState_DIRECT_VALUE ) ); + makeAny( + sal_Int32( + PropertyState_DIRECT_VALUE ) ) ); // Commit changes. xBatch->commitChanges(); @@ -1851,7 +1853,9 @@ void SAL_CALL PersistentPropertySet::addProperty( // Set state ( always "default" ) xNameReplace->replaceByName( OUString::createFromAscii( "State" ), - makeAny( PropertyState_DEFAULT_VALUE ) ); + makeAny( + sal_Int32( + PropertyState_DEFAULT_VALUE ) ) ); // Set attributes xNameReplace->replaceByName( @@ -2327,7 +2331,9 @@ void SAL_CALL PersistentPropertySet::setPropertyValues( // Write state ( Now it is a directly set value ) xNameReplace->replaceByName( OUString::createFromAscii( "State" ), - makeAny( PropertyState_DIRECT_VALUE ) ); + makeAny( + sal_Int32( + PropertyState_DIRECT_VALUE ) ) ); // Commit changes. xBatch->commitChanges(); |