diff options
-rw-r--r-- | svl/source/misc/documentlockfile.cxx | 4 | ||||
-rw-r--r-- | svl/source/misc/fstathelper.cxx | 2 | ||||
-rw-r--r-- | svl/source/misc/sharecontrolfile.cxx | 2 | ||||
-rw-r--r-- | svl/source/passwordcontainer/passwordcontainer.cxx | 8 |
4 files changed, 8 insertions, 8 deletions
diff --git a/svl/source/misc/documentlockfile.cxx b/svl/source/misc/documentlockfile.cxx index 9441c2924b95..6cd169972739 100644 --- a/svl/source/misc/documentlockfile.cxx +++ b/svl/source/misc/documentlockfile.cxx @@ -115,7 +115,7 @@ bool DocumentLockFile::CreateOwnLockFile() aInsertArg.ReplaceExisting = sal_False; uno::Any aCmdArg; aCmdArg <<= aInsertArg; - aTargetContent.executeCommand( OUString( "insert" ), aCmdArg ); + aTargetContent.executeCommand( "insert", aCmdArg ); // try to let the file be hidden if possible try { @@ -209,7 +209,7 @@ void DocumentLockFile::RemoveFile() uno::Reference < css::ucb::XCommandEnvironment > xEnv; ::ucbhelper::Content aCnt(m_aURL, xEnv, comphelper::getProcessComponentContext()); - aCnt.executeCommand(OUString("delete"), + aCnt.executeCommand("delete", uno::makeAny(true)); } diff --git a/svl/source/misc/fstathelper.cxx b/svl/source/misc/fstathelper.cxx index a26732313ad6..6f8a1840f965 100644 --- a/svl/source/misc/fstathelper.cxx +++ b/svl/source/misc/fstathelper.cxx @@ -39,7 +39,7 @@ bool FStatHelper::GetModifiedDateTimeOfFile( const OUString& rURL, uno::Reference< XCommandEnvironment > (), comphelper::getProcessComponentContext()); uno::Any aAny = aTestContent.getPropertyValue( - OUString("DateModified") ); + "DateModified" ); if( aAny.hasValue() ) { bRet = true; diff --git a/svl/source/misc/sharecontrolfile.cxx b/svl/source/misc/sharecontrolfile.cxx index aa11ebce8b49..3c286e97ad81 100644 --- a/svl/source/misc/sharecontrolfile.cxx +++ b/svl/source/misc/sharecontrolfile.cxx @@ -105,7 +105,7 @@ void ShareControlFile::OpenStream() ucb::InsertCommandArgument aInsertArg; aInsertArg.Data = xInput; aInsertArg.ReplaceExisting = sal_False; - aContent.executeCommand( OUString("insert"), uno::makeAny( aInsertArg ) ); + aContent.executeCommand( "insert", uno::makeAny( aInsertArg ) ); // try to let the file be hidden if possible try { diff --git a/svl/source/passwordcontainer/passwordcontainer.cxx b/svl/source/passwordcontainer/passwordcontainer.cxx index 4aae066a5b82..660765e4ff8e 100644 --- a/svl/source/passwordcontainer/passwordcontainer.cxx +++ b/svl/source/passwordcontainer/passwordcontainer.cxx @@ -200,7 +200,7 @@ PassMap StorageItem::getInfo() { PassMap aResult; - Sequence< OUString > aNodeNames = ConfigItem::GetNodeNames( OUString("Store") ); + Sequence< OUString > aNodeNames = ConfigItem::GetNodeNames( "Store" ); sal_Int32 aNodeCount = aNodeNames.getLength(); Sequence< OUString > aPropNames( aNodeCount ); sal_Int32 aNodeInd; @@ -342,13 +342,13 @@ void StorageItem::remove( const OUString& aURL, const OUString& aName ) sendSeq[0] = createIndex( forIndex ); - ConfigItem::ClearNodeElements( OUString("Store"), sendSeq ); + ConfigItem::ClearNodeElements( "Store", sendSeq ); } void StorageItem::clear() { - ConfigItem::ClearNodeSet( OUString("Store") ); + ConfigItem::ClearNodeSet( "Store" ); } @@ -371,7 +371,7 @@ void StorageItem::update( const OUString& aURL, const NamePassRecord& aRecord ) sendSeq[0].Value <<= aRecord.GetPersPasswords(); ConfigItem::SetModified(); - ConfigItem::SetSetProperties( OUString("Store"), sendSeq ); + ConfigItem::SetSetProperties( "Store", sendSeq ); } |