diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-15 10:18:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-15 16:56:57 +0100 |
commit | 6832d9f0f0ba80b95cb3b25e14365dff5803c4b5 (patch) | |
tree | 34d23fb8e6e9ef27921655c150b77d80b4aeece6 /editeng | |
parent | cbc1176c14ae36293a9cb2acb895dc99111145d5 (diff) |
coverity#735333 flush out pointless calls to IsRemote and IsOpen
etc.
Change-Id: I588d4486071b1e31897d4e6468a2c634d6856832
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/source/xml/xmltxtexp.cxx | 1 | ||||
-rw-r--r-- | editeng/source/xml/xmltxtimp.cxx | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index a0136a6d4e1a..b59b3cf50963 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -419,7 +419,6 @@ void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& /* testcode const OUString aURL( "file:///e:/test.xml" ); SfxMedium aMedium( aURL, STREAM_WRITE | STREAM_TRUNC, sal_True ); - aMedium.IsRemote(); uno::Reference<io::XOutputStream> xOut( new utl::OOutputStreamWrapper( *aMedium.GetOutStream() ) ); */ diff --git a/editeng/source/xml/xmltxtimp.cxx b/editeng/source/xml/xmltxtimp.cxx index d15a53fd51d8..fe10d8f8c157 100644 --- a/editeng/source/xml/xmltxtimp.cxx +++ b/editeng/source/xml/xmltxtimp.cxx @@ -169,7 +169,6 @@ void SvxReadXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& r /* testcode const OUString aURL( "file:///e:/test.xml" ); SfxMedium aMedium( aURL, STREAM_READ | STREAM_NOCREATE, sal_True ); - aMedium.IsRemote(); uno::Reference<io::XOutputStream> xOut( new utl::OOutputStreamWrapper( *aMedium.GetOutStream() ) ); aMedium.GetInStream()->Seek( 0 ); |