Custom Widget question

Olivier Hallot olivier.hallot at documentfoundation.org
Sun Feb 24 18:05:22 PST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Following instruction for custom widgets, I tried this implementation
below. It seems it screwed something related to rResId at construction
time. Thanks in advance for pointing my mistake.

In svx/source/dialog/frmdirlbox.cxx

- ---------------------%<--------------------
FrameDirectionListBox::FrameDirectionListBox( Window* pParent, const
ResId& rResId ) :
    ListBox( pParent, rResId )
{
}

(....)

extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL
makeFrameDirectionListBox(Window *pParent, const ResId& rResId )
{
    return new FrameDirectionListBox(pParent, rResId);
}

- ---------------------%<--------------------

Cheers,
- -- 
Olivier Hallot
Founder, Board of Directors Member - The Document Foundation
The Document Foundation, Zimmerstr. 69, 10117 Berlin, Germany
Fundação responsável civilmente, de acordo com o direito civil
Detalhes Legais: http://www.documentfoundation.org/imprint
LibreOffice translation leader for Brazilian Portuguese
+55-21-8822-8812
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iQEcBAEBAgAGBQJRKsbiAAoJEJp3R7nH3vLxdP8IAKSDYRYiIXlYdZwoEJT1NGf9
3ya7c3IfJIYNa99nGxe08SriNGvbWyqyKV58Eqpq7t6RJ42ytlilWUlDqmwxZHfc
qL4sD3MNj4AXuvPWhI4iSLbclveke1rqLhRJ26gfJPpIlqu0MMGZs/5bAn2NvzDT
dDX+LLEfvmM9xCLx4LCeFb/vAPNn5pkvmoZLgzVumI4NuUmUpvIFdTLgk9XIe2Zg
EH9/b5bFhIcOdNqISlxtPKJGHzoQl/9w3KiUoq+Y06G3yL8DM2hepH23PDQKLhCz
daq8L4iz+ResExov6nDFvb7UriJKxgf0M5nFeV3tY/kO34uYpk3LuwxYSRiLReU=
=d8ZI
-----END PGP SIGNATURE-----


More information about the LibreOffice mailing list