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


Hi All!

I've been tasked with this easyhack:
https://bugs.freedesktop.org/show_bug.cgi?id=39445

I started with this source, because it seemed easy enough:
http://opengrok.libreoffice.org/xref/core/rsc/source/tools/rsctools.cxx#175

In this source file tools/fsys is only used in this function, and only for
manipulating the extension of a filename in a string. I looked for the sal
equivalent of this, but there doesn't seem to be one. So I thought I'd make
those API improvements the bugreport mentions, but after looking for a good
point in the code to add this file extension changing functionality and not
being able find one, I came to the conclusion that I might be looking in
the wrong place. Tools/ seems like something that was extended as needed,
but sal stands for System Abstraction Layer, and changing the extension of
a filename in a string seems system indepenendent already - I wouldn't want
to clutter the interface of sal with this.

So my question would be: what might be the best place for adding a feature
like this?

Thanks,
Krisztian

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.