[Libreoffice-commits] core.git: extensions/source
Michael Stahl
mstahl at redhat.com
Tue Oct 22 05:58:25 PDT 2013
extensions/source/scanner/scanwin.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit e0280873b89aa5ac518b2e76175bc2c6103729dc
Author: Michael Stahl <mstahl at redhat.com>
Date: Tue Oct 22 14:55:17 2013 +0200
extensions: try to fix WNT String
Change-Id: I17ec25a836eda7bb023c440db1f40186b6156067
diff --git a/extensions/source/scanner/scanwin.cxx b/extensions/source/scanner/scanwin.cxx
index fb3aea3..12f8fcb 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;
More information about the Libreoffice-commits
mailing list