summaryrefslogtreecommitdiff
path: root/unotools/source/config/docinfohelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-07-13 11:44:29 +0200
commit0416f002d7a43c4311703b59ba0ae725abfc1eda (patch)
tree7adbc96cc81e0a1bd9e56a49cd6aead9c57ec473 /unotools/source/config/docinfohelper.cxx
parent104eb774ce025c6ace2bf143db0b456f3718e04f (diff)
loplugin:oncevar: empty strings: unotools
Change-Id: Ic4a3f9716ea76ae03fec238be91153acdbee40ef
Diffstat (limited to 'unotools/source/config/docinfohelper.cxx')
-rw-r--r--unotools/source/config/docinfohelper.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unotools/source/config/docinfohelper.cxx b/unotools/source/config/docinfohelper.cxx
index d4f6547a020b..cf77b11404d8 100644
--- a/unotools/source/config/docinfohelper.cxx
+++ b/unotools/source/config/docinfohelper.cxx
@@ -70,8 +70,7 @@ OUString DocInfoHelper::GetGeneratorString()
// and ':' replaced by '-'
{
aResult.append( "LibreOffice_project/" );
- OUString aDefault;
- OUString aBuildId( Bootstrap::getBuildIdData( aDefault ) );
+ OUString aBuildId( Bootstrap::getBuildIdData( OUString() ) );
for( sal_Int32 i=0; i < aBuildId.getLength(); i++ )
{
sal_Unicode c = aBuildId[i];