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


On 03/04/13 13:19, Noel Grandin wrote:
Using GDB, I find that something in the unit test code is passing an awt::XControlModel UNO object to SvxShapeControl::setControl() That XControlModel is returning "com.sun.star.form.control.FixedText" when called like this:
 beans::XPropertySet::getPropertyValue("DefaultControl")

Grepping through the source code, "com.sun.star.form.control.FixedText" is only found in
   forms/source/inc/services.hxxx
but the global constants declared there are not used anywhere else (confirmed by removing them and rebuilding).

Nothing seems to actually implement this service.
yup, I've looked and you're right, nothing implementing that, question is where is the "com.sun.star.form.control.FixedText" comming from, is it something injected from the test code or test document or... ?


On 03/04/13 13:57, Noel Grandin wrote:
On 2013-04-03 14:33, Thomas Arnhold wrote:

If the
   "com.sun.star.form.control.FixedText"
service followed the same pattern as the other
  "com.sun.star.form.control.*"
services, I would expect to find a class called "OFixedTextControl" inside the file
    forms/source/component/FixedText.cxx
since the text "com.sun.star.form.control.FixedText" for the service exists ( but is unused ) it would appear it either used to be there in the past ( and has been removed for some reason ) or in was intended for future support? That bring back the issue of the failing test, is this new ( or a resurrected ) test, can't see how it could have worked previously ( unless something has been removed recently )

Noel


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.