summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-15 10:18:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-10-15 16:56:57 +0100
commit6832d9f0f0ba80b95cb3b25e14365dff5803c4b5 (patch)
tree34d23fb8e6e9ef27921655c150b77d80b4aeece6 /editeng
parentcbc1176c14ae36293a9cb2acb895dc99111145d5 (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.cxx1
-rw-r--r--editeng/source/xml/xmltxtimp.cxx1
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 );