Bugzilla – Attachment 60947 Details for
Bug 48778
FILEOPEN arbitrary.pptx will CRASH
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch.
fdo48778-2.diff (text/plain), 1.00 KB, created by
Muthu
on 2012-05-03 00:34:51 UTC
(
hide
)
Description:
Patch.
Filename:
MIME Type:
Creator:
Muthu
Created:
2012-05-03 00:34:51 UTC
Size:
1.00 KB
patch
obsolete
>diff --git a/oox/source/ppt/slidefragmenthandler.cxx b/oox/source/ppt/slidefragmenthandler.cxx >index a27e5e3..952a57c 100644 >--- a/oox/source/ppt/slidefragmenthandler.cxx >+++ b/oox/source/ppt/slidefragmenthandler.cxx >@@ -140,8 +140,8 @@ SlideFragmentHandler::~SlideFragmentHandler() throw() > > case PPT_TOKEN( bgRef ): // a:CT_StyleMatrixReference > { >- FillPropertiesPtr pFillPropertiesPtr( new FillProperties( >- *mpSlidePersistPtr->getTheme()->getFillStyle( rAttribs.getInteger( XML_idx, -1 ) ) ) ); >+ const FillProperties *pFillProperties = mpSlidePersistPtr->getTheme()->getFillStyle( rAttribs.getInteger( XML_idx, -1 ) ); >+ FillPropertiesPtr pFillPropertiesPtr( pFillProperties ? new FillProperties( *pFillProperties ) : new FillProperties() ); > ContextHandlerRef ret = new ColorContext( *this, mpSlidePersistPtr->getBackgroundColor() ); > mpSlidePersistPtr->setBackgroundProperties( pFillPropertiesPtr ); > return ret;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 48778
:
60152
|
60153
|
60660
|
60880
| 60947 |
60977