diff options
author | Rob Snelders <programming@ertai.nl> | 2012-12-02 15:25:56 +0100 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2012-12-04 12:49:37 +0000 |
commit | 2a9c83fa8ac7e94d7124889e760c7343ccf3c19b (patch) | |
tree | 194d68dd24abf366b0a03c7fe32404f7ead984f1 /sfx2 | |
parent | 75a2c5014826e3095a49799eaa40f461dfddabcb (diff) |
fdo#56877 CRASH when profile contains invalid RecentlyUsedMasterpages
Change-Id: Ia875d6b04b5ce6a026a57aaef2c17fc02a503ae9
Reviewed-on: https://gerrit.libreoffice.org/1224
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Tested-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 6e11151071ae..afddf87e28fb 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -397,7 +397,7 @@ sal_uIntPtr SfxApplication::LoadTemplate( SfxObjectShellLock& xDoc, const String const SfxFilter* pFilter = NULL; SfxMedium aMedium( rFileName, ( STREAM_READ | STREAM_SHARE_DENYNONE ) ); - if ( !aMedium.GetStorage( sal_True ).is() ) + if ( !aMedium.GetStorage( sal_False ).is() ) aMedium.GetInStream(); if ( aMedium.GetError() ) |