Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Wed, 2012-03-07 at 04:20 +0100, Dézsi Szabolcs wrote:

xRoot->renameElement ( aOldStreamName, aNewStreamName );

It can be seen a few lines later, that xBlkRoot is handled the same way,
catching a container::ElementExistException, but doing nothing in the catch
block.

Yeah, that logic suggests that if we catch in one place, we should catch
in the other, so PUSHED.

Though I see the reason an exception is thrown is because the oldname
and the newname are the same, i.e. the rename doesn't make sense, it
already has that name. So I stuck the offending block inside the
existing new != old test.

C.



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.