-----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-----
Context
- Custom Widget question · Olivier Hallot
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.