summaryrefslogtreecommitdiff
path: root/svtools/source/misc/imageresourceaccess.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:52:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:34 +0200
commit30069114fef2858936c988e8fbc92a69b2ddc8d3 (patch)
tree3382e9f0d2388da576ac5f25e5c59f82e18e31c0 /svtools/source/misc/imageresourceaccess.cxx
parent06b409a64e954ea3336ee57313311eec1f83c01a (diff)
loplugin:staticcall
Change-Id: If7b285a2214bc878e8464a986538d0445078fcb3
Diffstat (limited to 'svtools/source/misc/imageresourceaccess.cxx')
-rw-r--r--svtools/source/misc/imageresourceaccess.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/misc/imageresourceaccess.cxx b/svtools/source/misc/imageresourceaccess.cxx
index b75cd681317d..ef208b2e82fa 100644
--- a/svtools/source/misc/imageresourceaccess.cxx
+++ b/svtools/source/misc/imageresourceaccess.cxx
@@ -75,9 +75,9 @@ namespace svt
:m_xInput( _rxInput )
,m_xOutput( _rxOutput )
{
- m_xSeekable = m_xSeekable.query( m_xInput );
+ m_xSeekable.set(m_xInput, css::uno::UNO_QUERY);
if ( !m_xSeekable.is() )
- m_xSeekable = m_xSeekable.query( m_xOutput );
+ m_xSeekable.set(m_xOutput, css::uno::UNO_QUERY);
OSL_ENSURE( m_xSeekable.is(), "StreamSupplier::StreamSupplier: at least one of both must be seekable!" );
}