incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yda...@apache.org
Subject svn commit: r1363134 - in /incubator/ooo/trunk/main/vcl/os2/source: app/salinst.cxx gdi/salprn.cxx
Date Wed, 18 Jul 2012 21:44:37 GMT
Author: ydario
Date: Wed Jul 18 21:44:37 2012
New Revision: 1363134

URL: http://svn.apache.org/viewvc?rev=1363134&view=rev
Log:
i118923 - OS/2 port: dump some more info about printers and form sizes.

Modified:
    incubator/ooo/trunk/main/vcl/os2/source/app/salinst.cxx
    incubator/ooo/trunk/main/vcl/os2/source/gdi/salprn.cxx

Modified: incubator/ooo/trunk/main/vcl/os2/source/app/salinst.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/os2/source/app/salinst.cxx?rev=1363134&r1=1363133&r2=1363134&view=diff
==============================================================================
--- incubator/ooo/trunk/main/vcl/os2/source/app/salinst.cxx (original)
+++ incubator/ooo/trunk/main/vcl/os2/source/app/salinst.cxx Wed Jul 18 21:44:37 2012
@@ -354,7 +354,7 @@ void InitSalMain()
 	HMQ hMQ;
 	SalData* pData = GetAppSalData();
 #if OSL_DEBUG_LEVEL>0
-printf("InitSalMain\n");
+	debug_printf("InitSalMain\n");
 #endif
 
 	// morph application to PM

Modified: incubator/ooo/trunk/main/vcl/os2/source/gdi/salprn.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/os2/source/gdi/salprn.cxx?rev=1363134&r1=1363133&r2=1363134&view=diff
==============================================================================
--- incubator/ooo/trunk/main/vcl/os2/source/gdi/salprn.cxx (original)
+++ incubator/ooo/trunk/main/vcl/os2/source/gdi/salprn.cxx Wed Jul 18 21:44:37 2012
@@ -215,6 +215,10 @@ void Os2SalInstance::GetPrinterQueueInfo
 
 		ByteString aOrgDriverName( pPrqInfo->pszDriverName);
 		ByteString aName( pPrqInfo->pszName);
+#if OSL_DEBUG_LEVEL>0
+		printf("GetPrinterQueueInfo pszDriverName %s\n", pPrqInfo->pszDriverName);
+		printf("GetPrinterQueueInfo pszName %s\n", pPrqInfo->pszDriverName);
+#endif
 		pInfo->maDriver 	 = ::rtl::OStringToOUString (aOrgDriverName, gsl_getSystemTextEncoding());
 		pInfo->maPrinterName = ::rtl::OStringToOUString (pPrqInfo->pszComment, gsl_getSystemTextEncoding());
 		pInfo->maLocation	 = ::rtl::OStringToOUString (aName, gsl_getSystemTextEncoding());
@@ -647,6 +651,10 @@ static void ImplGetFormAndTrayList( Os2S
 						ImplFormInfo* pInfo 	= new ImplFormInfo;
 						pInfo->mnPaperWidth 	= pElm->hcInfo.cx;
 						pInfo->mnPaperHeight	= pElm->hcInfo.cy;
+#if OSL_DEBUG_LEVEL>0
+		printf("ImplGetFormAndTrayList mnPaperWidth %d\n", pInfo->mnPaperWidth);
+		printf("ImplGetFormAndTrayList mnPaperHeight %d\n", pInfo->mnPaperHeight);
+#endif
 						pInfo->mnId 			= pElm->djppsFormID;
 						pOs2SalInfoPrinter->mpFormArray[i] = pInfo;
 					}



Mime
View raw message