зеркало из https://github.com/mozilla/pjs.git
bug 20943, r=rods, sr=ben, remove ifdef XP_WIN || XP_UNIX in PrintPreview() since I'm turning it on for mac
This commit is contained in:
Родитель
64f77eda85
Коммит
ce17633d5e
|
@ -4681,8 +4681,6 @@ DocumentViewerImpl::PrintPreview()
|
|||
|
||||
#ifdef NS_PRINT_PREVIEW
|
||||
|
||||
#if defined(XP_WIN) || defined(XP_UNIX) // for now
|
||||
|
||||
// if we are printing another URL, then exit
|
||||
// the reason we check here is because this method can be called while
|
||||
// another is still in here (the printing dialog is a good example).
|
||||
|
@ -4865,7 +4863,6 @@ DocumentViewerImpl::PrintPreview()
|
|||
mPrtPreview = mPrt;
|
||||
mPrt = nsnull;
|
||||
|
||||
#endif // XP_WIN || XP_UNIX
|
||||
#endif // NS_PRINT_PREVIEW
|
||||
|
||||
return NS_OK;
|
||||
|
|
|
@ -4681,8 +4681,6 @@ DocumentViewerImpl::PrintPreview()
|
|||
|
||||
#ifdef NS_PRINT_PREVIEW
|
||||
|
||||
#if defined(XP_WIN) || defined(XP_UNIX) // for now
|
||||
|
||||
// if we are printing another URL, then exit
|
||||
// the reason we check here is because this method can be called while
|
||||
// another is still in here (the printing dialog is a good example).
|
||||
|
@ -4865,7 +4863,6 @@ DocumentViewerImpl::PrintPreview()
|
|||
mPrtPreview = mPrt;
|
||||
mPrt = nsnull;
|
||||
|
||||
#endif // XP_WIN || XP_UNIX
|
||||
#endif // NS_PRINT_PREVIEW
|
||||
|
||||
return NS_OK;
|
||||
|
|
Загрузка…
Ссылка в новой задаче