diff options
Diffstat (limited to 'svx/source/xml/xmlgrhlp.cxx')
-rw-r--r-- | svx/source/xml/xmlgrhlp.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx index c22a271d9995..7259401f2052 100644 --- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -739,7 +739,7 @@ void SvXMLGraphicHelper::Init( const uno::Reference < embed::XStorage >& rXMLSto { mxRootStorage = rXMLStorage; meCreateMode = eCreateMode; - mbDirect = ( ( GRAPHICHELPER_MODE_READ == meCreateMode ) ? bDirect : true ); + mbDirect = meCreateMode != GRAPHICHELPER_MODE_READ || bDirect; } SvXMLGraphicHelper* SvXMLGraphicHelper::Create( const uno::Reference < embed::XStorage >& rXMLStorage, |