summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-21 15:06:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-21 17:05:29 +0000
commitd420d9afb4527fd22dd0ae286b615beaddfc853f (patch)
tree0433f35367d15ae8a066a697da0ca7272196d7ce /sot
parent7c3bd3cd8c9f3ee562ea158d7b380e5f7244fbb0 (diff)
coverity#1399018 Logically dead code
Change-Id: I2ef219b63250341851ecda7e1bb59bdc98406ff7
Diffstat (limited to 'sot')
-rw-r--r--sot/source/sdstor/stgole.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgole.cxx b/sot/source/sdstor/stgole.cxx
index acec45204eac..1615bd2feda5 100644
--- a/sot/source/sdstor/stgole.cxx
+++ b/sot/source/sdstor/stgole.cxx
@@ -130,7 +130,7 @@ bool StgCompObjStream::Load()
//all platforms and envs
//https://bz.apache.org/ooo/attachment.cgi?id=68668
//for a good edge-case example
- m_aUserName = nStrLen ? OUString( p.get(), nStrLen, RTL_TEXTENCODING_MS_1252 ) : OUString();
+ m_aUserName = OUString(p.get(), nStrLen, RTL_TEXTENCODING_MS_1252);
m_nCbFormat = ReadClipboardFormat( *this );
}
else