diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 12:11:13 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2005-03-23 12:11:13 +0000 |
commit | 65c5c1dcd33d7be535409d6dbffaeac5549cb63b (patch) | |
tree | 34315b0b1bb449b30f1e2df72d628b8346e2a191 /sc/source/ui | |
parent | 1a764395aaf05d8f1d7122f4519fc9c6dfe14b7c (diff) |
INTEGRATION: CWS calcuno01 (1.3.336); FILE MERGED
2004/01/05 11:52:49 sab 1.3.336.1: #i22706#; improve API using
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/unoobj/optuno.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/unoobj/optuno.cxx b/sc/source/ui/unoobj/optuno.cxx index ecbeefe79ee6..081f0c34cdfa 100644 --- a/sc/source/ui/unoobj/optuno.cxx +++ b/sc/source/ui/unoobj/optuno.cxx @@ -2,9 +2,9 @@ * * $RCSfile: optuno.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: er $ $Date: 2001-05-15 18:14:10 $ + * last change: $Author: vg $ $Date: 2005-03-23 13:11:13 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -108,7 +108,7 @@ sal_Bool ScDocOptionsHelper::setPropertyValue( ScDocOptions& rOptions, //! use map (with new identifiers) sal_Bool bKnown = sal_True; - String aString = aPropertyName; + String aString(aPropertyName); if ( aString.EqualsAscii( SC_UNO_CALCASSHOWN ) ) rOptions.SetCalcAsShown( ScUnoHelpFunctions::GetBoolFromAny( aValue ) ); @@ -166,7 +166,7 @@ uno::Any ScDocOptionsHelper::getPropertyValue( { //! use map (with new identifiers) - String aString = aPropertyName; + String aString(aPropertyName); uno::Any aRet; if ( aString.EqualsAscii( SC_UNO_CALCASSHOWN ) ) @@ -234,7 +234,7 @@ uno::Any SAL_CALL ScDocOptionsObj::getPropertyValue( const rtl::OUString& aPrope { ScUnoGuard aGuard; - uno::Any aRet = ScDocOptionsHelper::getPropertyValue( aOptions, aPropertyName ); + uno::Any aRet(ScDocOptionsHelper::getPropertyValue( aOptions, aPropertyName )); if ( !aRet.hasValue() ) aRet = ScModelObj::getPropertyValue( aPropertyName ); |