From ca35f4f5e586e6c4eed0f64a466bc471333b7b6c Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Sun, 14 Aug 2011 17:00:54 +0200 Subject: [PATCH] fdo#40079: load Dialog library before trying to get embedded images --- basic/source/uno/dlgcont.cxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/basic/source/uno/dlgcont.cxx b/basic/source/uno/dlgcont.cxx index c8da150..158d9fe 100644 --- a/basic/source/uno/dlgcont.cxx +++ b/basic/source/uno/dlgcont.cxx @@ -292,7 +292,7 @@ void SfxDialogLibraryContainer::storeLibrariesToStorage( const uno::Reference< e Sequence< OUString > sLibraries = getElementNames(); for ( sal_Int32 i=0; i < sLibraries.getLength(); ++i ) { - // libraries will already be loaded from above + loadLibrary( sLibraries[ i ] ); Reference< XNameContainer > xLib; getByName( sLibraries[ i ] ) >>= xLib; if ( xLib.is() ) -- 1.7.2.5