summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-22 14:55:17 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-22 14:55:17 +0200
commite0280873b89aa5ac518b2e76175bc2c6103729dc (patch)
treed52824c4bcf525f29b35a8099960270e479d7bcf /extensions
parentc0e827297bfc7cc723059648fff590b798ff2109 (diff)
extensions: try to fix WNT String
Change-Id: I17ec25a836eda7bb023c440db1f40186b6156067
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/scanner/scanwin.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/scanner/scanwin.cxx b/extensions/source/scanner/scanwin.cxx
index fb3aea31f580..12f8fcbd1dfa 100644
--- a/extensions/source/scanner/scanwin.cxx
+++ b/extensions/source/scanner/scanwin.cxx
@@ -255,7 +255,8 @@ void ImpTwain::ImplOpenSourceManager()
{
nCurState = 2;
- if( ( ( pDSM = (DSMENTRYPROC) pMod->getSymbol( OUString( TWAIN_FUNCNAME ) ) ) != NULL ) &&
+ pDSM = (DSMENTRYPROC) pMod->getSymbol(OUString(TWAIN_FUNCNAME));
+ if (pDSM &&
( PFUNC( &aAppIdent, NULL, DG_CONTROL, DAT_PARENT, MSG_OPENDSM, &hTwainWnd ) == TWRC_SUCCESS ) )
{
nCurState = 3;