summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgelem.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-25 13:56:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 08:31:55 +0200
commitba42d00ed5a04850f88abdf184a4855db7cf2700 (patch)
treeaf8ec0b48accf0abb7dce9f0fb0194cd60440e14 /sot/source/sdstor/stgelem.cxx
parentee025b744ac9efafe7c083ed80f8e2cc7cb3e2c1 (diff)
loplugin:returnconstant in sal,l10ntools,sot
Change-Id: I3f4e4efa8ea839f48b9700ebc26c7e5ab279ce49 Reviewed-on: https://gerrit.libreoffice.org/57975 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sot/source/sdstor/stgelem.cxx')
-rw-r--r--sot/source/sdstor/stgelem.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index 88f7bcb7c876..be22b5e44b6e 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -317,7 +317,7 @@ static OUString ToUpperUnicode( const OUString & rStr )
return aCC.uppercase( rStr );
}
-bool StgEntry::SetName( const OUString& rName )
+void StgEntry::SetName( const OUString& rName )
{
// I don't know the locale, so en_US is hopefully fine
m_aName = ToUpperUnicode( rName );
@@ -336,7 +336,6 @@ bool StgEntry::SetName( const OUString& rName )
m_nName[ i++ ] = 0;
}
m_nNameLen = ( rName.getLength() + 1 ) << 1;
- return true;
}
sal_Int32 StgEntry::GetLeaf( StgEntryRef eRef ) const