Need help regarding BUG #60700

Alex Ivan alexnivan at yahoo.com
Sat Mar 16 13:16:28 PDT 2013


Hi, 


Michael Meeks-2 wrote
>> I've been looking into  bug #60700
>> <https://bugs.freedesktop.org/show_bug.cgi?id=60700>   and have
>> currently
>> managed to figure out when those empty directories are created.
> 
> 	When ? well - code-wise, I suggest you git grep for the name you find
> in the zip package:
> 
> 	git grep '"Configurations2'
> 
> 	Regina's pointers to the framework/ code - which is almost certainly
> the culprit might find why in fact we never write anything to them ;-)
> [ just leave them lingering around empty ].
> 
> 	That file attached has an accelerator/current.xml listed a quick:
> 
> 	cd framework
> 	git grep '"current'
> 
> 	hit:
> 
> void SAL_CALL XCUBasedAcceleratorConfiguration::storeToStorage(const
> css::uno::Reference< css::embed::XStorage >& xStorage)
>     throw(css::uno::Exception       ,
>       css::uno::RuntimeException)

The first place that i found where these directories are created is in 
framework/source/uiconfiguration/uiconfigurationmanager.cxx: 
void UIConfigurationManager::impl_Initialize()
...
xElementTypeStorage = m_xDocConfigStorage->openStorageElement(
rtl::OUString::createFromAscii( UIELEMENTTYPENAMES[i] ), nModes ); 
...

Without this bit, an empty .odf does not end up containing those
directories.
On the one hand, there are other similar calls in this and other files, so
it may have just been a slip
up when writing these. On the other hand, i didn't have any good examples to
test this out.

Unfortunately, i have had some college homework and have not got around to
reading Regina's posts,
and, since no one responded to this for some time, i did not investigate
further.
I will do so now that there is at least one example and update you if i
figure it out.

Thank you for your help, 

Alex Ivan



--
View this message in context: http://nabble.documentfoundation.org/Need-help-regarding-BUG-60700-tp4041113p4044229.html
Sent from the Dev mailing list archive at Nabble.com.


More information about the LibreOffice mailing list