[Libreoffice-commits] .: vcl/win
Lionel Elie Mamane
lmamane at kemper.freedesktop.org
Mon Nov 21 06:17:58 PST 2011
vcl/win/source/gdi/salprn.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bce71931ab08ef741b324664d9a69b3be1ff7a3b
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Mon Nov 21 14:30:45 2011 +0100
Oups... Disambiguation solved another way in 1c2f5d
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx
index bcfc850..5f58cb7 100644
--- a/vcl/win/source/gdi/salprn.cxx
+++ b/vcl/win/source/gdi/salprn.cxx
@@ -368,7 +368,7 @@ static sal_Bool ImplTestSalJobSetup( WinSalInfoPrinter* pPrinter,
}
SalDriverData* pSetupDriverData = (SalDriverData*)(pSetupData->mpDriverData);
if ( (pSetupData->mnSystem == JOBSETUP_SYSTEM_WINDOWS) &&
- (OUString(pPrinter->maDriverName) == pSetupData->maDriver) &&
+ (pPrinter->maDriverName == pSetupData->maDriver) &&
(pSetupData->mnDriverDataLen > sizeof( SalDriverData )) &&
(long)(pSetupData->mnDriverDataLen - pSetupDriverData->mnDriverOffset) == nSysJobSize &&
pSetupDriverData->mnSysSignature == SAL_DRIVERDATA_SYSSIGN )
More information about the Libreoffice-commits
mailing list