Fixed a define problem

This commit is contained in:
dcone%netscape.com 2001-02-01 21:30:14 +00:00
parent 59e1414dad
commit d630ea8cb3
3 changed files with 3 additions and 0 deletions

View File

@ -1381,6 +1381,7 @@ DocumentViewerImpl::PrintContent(nsIWebShell * aParent,
if (!doesContainFrameSet && CanPrint==PR_TRUE) {
#endif
if (!doesContainFrameSet) {
NS_ENSURE_SUCCESS( aDContext->BeginDocument(), NS_ERROR_FAILURE );
aDContext->GetDeviceSurfaceDimensions(width, height);

View File

@ -1381,6 +1381,7 @@ DocumentViewerImpl::PrintContent(nsIWebShell * aParent,
if (!doesContainFrameSet && CanPrint==PR_TRUE) {
#endif
if (!doesContainFrameSet) {
NS_ENSURE_SUCCESS( aDContext->BeginDocument(), NS_ERROR_FAILURE );
aDContext->GetDeviceSurfaceDimensions(width, height);

View File

@ -1381,6 +1381,7 @@ DocumentViewerImpl::PrintContent(nsIWebShell * aParent,
if (!doesContainFrameSet && CanPrint==PR_TRUE) {
#endif
if (!doesContainFrameSet) {
NS_ENSURE_SUCCESS( aDContext->BeginDocument(), NS_ERROR_FAILURE );
aDContext->GetDeviceSurfaceDimensions(width, height);