[Libreoffice-commits] .: vcl/win
Lionel Elie Mamane
lmamane at kemper.freedesktop.org
Mon Nov 21 05:15:15 PST 2011
vcl/win/source/gdi/salprn.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 96d01c8f07478f4241f014145a64c57b041f0d44
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Mon Nov 21 14:14:40 2011 +0100
disambiguate (OU)?String comparison into OUString comparison
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx
index 5f58cb7..bcfc850 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) &&
- (pPrinter->maDriverName == pSetupData->maDriver) &&
+ (OUString(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