View | Details | Raw Unified | Return to bug 216206 | Differences between
and this patch

Collapse All | Expand All

(-)desktop/source/app/officeipcthread.cxx (-1 / +1 lines)
Lines 225-231 Link Here
225
	// BACK: Str "ababab....0f" Hexcode String
225
	// BACK: Str "ababab....0f" Hexcode String
226
226
227
	rtlDigest handle = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
227
	rtlDigest handle = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
228
	if ( handle > 0 )
228
	if ( handle != NULL )
229
	{
229
	{
230
		const sal_uInt8* pData = (const sal_uInt8*)aMsg.getStr();
230
		const sal_uInt8* pData = (const sal_uInt8*)aMsg.getStr();
231
		sal_uInt32		 nSize = ( aMsg.getLength() * sizeof( sal_Unicode ));
231
		sal_uInt32		 nSize = ( aMsg.getLength() * sizeof( sal_Unicode ));
(-)desktop/source/deployment/misc/dp_misc.cxx (-1 / +1 lines)
Lines 103-109 Link Here
103
	}
103
	}
104
    
104
    
105
    rtlDigest digest = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
105
    rtlDigest digest = rtl_digest_create( rtl_Digest_AlgorithmMD5 );
106
    if (digest <= 0) {
106
    if (digest == NULL) {
107
        throw RuntimeException(
107
        throw RuntimeException(
108
            OUSTR("cannot get digest rtl_Digest_AlgorithmMD5!"), 0 );
108
            OUSTR("cannot get digest rtl_Digest_AlgorithmMD5!"), 0 );
109
    }
109
    }
(-)sd/source/ui/view/viewshe3.cxx (-1 / +1 lines)
Lines 226-232 Link Here
226
    // When the given page is NULL then use the first page of the document.
226
    // When the given page is NULL then use the first page of the document.
227
    SdPage* pTemplatePage = pPage;
227
    SdPage* pTemplatePage = pPage;
228
    if (pTemplatePage == NULL)
228
    if (pTemplatePage == NULL)
229
        if (pDocument->GetSdPage(0, ePageKind) > 0)
229
        if (pDocument->GetSdPage(0, ePageKind) != NULL)
230
            pTemplatePage = pDocument->GetSdPage(0, ePageKind); 
230
            pTemplatePage = pDocument->GetSdPage(0, ePageKind); 
231
    if (pTemplatePage != NULL && pTemplatePage->TRG_HasMasterPage())
231
    if (pTemplatePage != NULL && pTemplatePage->TRG_HasMasterPage())
232
        aVisibleLayers = pTemplatePage->TRG_GetMasterPageVisibleLayers();
232
        aVisibleLayers = pTemplatePage->TRG_GetMasterPageVisibleLayers();

Return to bug 216206