View | Details | Raw Unified | Return to issue 121125
Collapse All | Expand All

(-)filter/source/pdf/pdfexport.cxx (+8 lines)
Lines 170-175 Link Here
170
    sal_Bool        bRet = sal_False;
170
    sal_Bool        bRet = sal_False;
171
    try
171
    try
172
    {
172
    {
173
        const sal_Int32 nTotalPageCount(aMultiSelection.GetSelectCount());
174
175
        if(!nTotalPageCount)
176
        {
177
            rRenderable->render( -2, rSelection, rRenderOptions );
178
            return sal_False;
179
        }
180
173
		Any* pFirstPage = NULL;
181
		Any* pFirstPage = NULL;
174
        Any* pLastPage = NULL;
182
        Any* pLastPage = NULL;
175
183
(-)sw/source/ui/uno/unotxdoc.cxx (+7 lines)
Lines 3102-3107 Link Here
3102
    if(!IsValid())
3102
    if(!IsValid())
3103
        throw RuntimeException();
3103
        throw RuntimeException();
3104
3104
3105
    if(-2 == nRenderer)
3106
    {
3107
        delete m_pRenderData;       m_pRenderData     = NULL;
3108
        delete m_pPrintUIOptions;   m_pPrintUIOptions = NULL;
3109
        return;
3110
    }
3111
3105
    // due to #110067# (document page count changes sometimes during
3112
    // due to #110067# (document page count changes sometimes during
3106
    // PDF export/printing) we can not check for the upper bound properly.
3113
    // PDF export/printing) we can not check for the upper bound properly.
3107
    // Thus instead of throwing the exception we silently return.
3114
    // Thus instead of throwing the exception we silently return.

Return to issue 121125