diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:45:58 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-13 11:45:58 +0200 |
commit | b25f30155756e5447e37f6dffe12f2f5fea606fb (patch) | |
tree | a9904735ce89d4bb540b0a125e20da15de2261e0 /io | |
parent | 46e6f92615336a8eaeef8459b6374d5a5165bf6e (diff) |
loplugin:oncevar: empty strings: io
Change-Id: I42d9cd75a097a8ebb3700c83493c7e2f1466c453
Diffstat (limited to 'io')
-rw-r--r-- | io/source/stm/odata.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 9a9680f0fb8b..f8e45e28a0dd 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -911,15 +911,13 @@ void OObjectOutputStream::writeObject( const Reference< XPersistObject > & xPObj else { ODataOutputStream::writeLong( (*aIt).second ); - OUString aName; - ODataOutputStream::writeUTF( aName ); + ODataOutputStream::writeUTF( OUString() ); } } else { ODataOutputStream::writeLong( 0 ); - OUString aName; - ODataOutputStream::writeUTF( aName ); + ODataOutputStream::writeUTF( OUString() ); } sal_uInt32 nObjLenMark = m_rMarkable->createMark(); |