Kaydet (Commit) 0416f002 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:oncevar: empty strings: unotools

Change-Id: Ic4a3f9716ea76ae03fec238be91153acdbee40ef
üst 104eb774
...@@ -70,8 +70,7 @@ OUString DocInfoHelper::GetGeneratorString() ...@@ -70,8 +70,7 @@ OUString DocInfoHelper::GetGeneratorString()
// and ':' replaced by '-' // and ':' replaced by '-'
{ {
aResult.append( "LibreOffice_project/" ); aResult.append( "LibreOffice_project/" );
OUString aDefault; OUString aBuildId( Bootstrap::getBuildIdData( OUString() ) );
OUString aBuildId( Bootstrap::getBuildIdData( aDefault ) );
for( sal_Int32 i=0; i < aBuildId.getLength(); i++ ) for( sal_Int32 i=0; i < aBuildId.getLength(); i++ )
{ {
sal_Unicode c = aBuildId[i]; sal_Unicode c = aBuildId[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment