summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-22 09:09:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-22 09:11:29 +0200
commitf73af1733e963e84d04253980c816eb559a3546a (patch)
tree9acfa9612a3637855b15e551f541fba96f13c391 /io
parented6b5ad3c54b4fb46313b791b2dd6eb625184fe6 (diff)
second test should be DataOutputStream
...as <https://gerrit.libreoffice.org/#/c/9007/> "cppcheck: multiCondition, second test should be DataOutputStream" found out for an effective duplicate of this code that got removed with the previous commit "Remove dead test code." Change-Id: Ib7b088f065def2d5e954837d22178521f85c49fe
Diffstat (limited to 'io')
-rw-r--r--io/test/stm/datatest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/test/stm/datatest.cxx b/io/test/stm/datatest.cxx
index b556aab6192c..0c4b2bed7f16 100644
--- a/io/test/stm/datatest.cxx
+++ b/io/test/stm/datatest.cxx
@@ -118,7 +118,7 @@ void ODataStreamTest::testInvariant(
}
- else if( OUString("com.sun.star.io.DataInputStream") == TestName ) {
+ else if( OUString("com.sun.star.io.DataOutputStream") == TestName ) {
Reference < XConnectable > connect( TestObject , UNO_QUERY );
Reference < XActiveDataSource > active( TestObject , UNO_QUERY );
Reference < XOutputStream > output( TestObject , UNO_QUERY );