diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-21 14:14:40 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-21 14:15:11 +0100 |
commit | 96d01c8f07478f4241f014145a64c57b041f0d44 (patch) | |
tree | 02167bea4468506cfeb365e2f056784e53ec3e01 /vcl | |
parent | 3739278cefa4f604d96fc8c1047de22687e064ed (diff) |
disambiguate (OU)?String comparison into OUString comparison
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/win/source/gdi/salprn.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx index 5f58cb7c6bfb..bcfc850bd417 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 ) |