diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-11-18 22:14:38 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-11-18 22:18:57 +0400 |
commit | 3bdce622e0847b769a8d0d6e7b5f6f5f8e1ef3c0 (patch) | |
tree | 66c7ecb6730c4c0865815ac6c4d9075fa009cdf2 /sw/source | |
parent | 06c84689eaead2f9ae1bc5ceffa1537bc6b0945e (diff) |
forgot to consider printing from html source
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/uno/unotxdoc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/uno/unotxdoc.cxx b/sw/source/ui/uno/unotxdoc.cxx index 4a1ef26553f1..53e047cd462a 100644 --- a/sw/source/ui/uno/unotxdoc.cxx +++ b/sw/source/ui/uno/unotxdoc.cxx @@ -194,7 +194,7 @@ SwPrintUIOptions * lcl_GetPrintUIOptions( SwPaM* pShellCrsr = pSh->GetCrsr(); nCurrentPage = pShellCrsr->GetPageNum(sal_True, 0); } - else + else if (!bSwSrcView) { const SwPagePreView* pPreView = dynamic_cast< const SwPagePreView* >(pView); OSL_ENSURE(pPreView, "Unexpected type of the view shell"); |