summaryrefslogtreecommitdiff
path: root/svl/source/passwordcontainer
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-06 09:37:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-06 09:37:39 +0100
commit12083a480c35a3a2c3362a51d72b9a421c021a2a (patch)
tree2bd0cc389aee198b2f30a3fe2a78e855cc4ebf8d /svl/source/passwordcontainer
parentc76b97d375024c4dde954fbee31adaa44ad56e3d (diff)
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
Change-Id: I3f4a2ffd9c7d2bce54a553913e1310e25ab0135e
Diffstat (limited to 'svl/source/passwordcontainer')
-rw-r--r--svl/source/passwordcontainer/passwordcontainer.cxx8
1 files changed, 4 insertions, 4 deletions
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 );
}