Kaydet (Commit) ef32b1da authored tarafından Andreas Bregas's avatar Andreas Bregas

ab81: #i86628# BasicTreeListBox::ImpCreateLibSubEntries(): Refer to right…

ab81: #i86628# BasicTreeListBox::ImpCreateLibSubEntries(): Refer to right LibraryContainer in dialog mode
üst c395e560
......@@ -383,7 +383,7 @@ void BasicTreeListBox::ImpCreateLibSubEntries( SvLBoxEntry* pLibRootEntry, const
// dialogs
if ( nMode & BROWSEMODE_DIALOGS )
{
Reference< script::XLibraryContainer > xDlgLibContainer( rDocument.getLibraryContainer( E_SCRIPTS ) );
Reference< script::XLibraryContainer > xDlgLibContainer( rDocument.getLibraryContainer( E_DIALOGS ) );
if ( xDlgLibContainer.is() && xDlgLibContainer->hasByName( aOULibName ) && xDlgLibContainer->isLibraryLoaded( aOULibName ) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment