With C++11 we can use initializer_lists. This diff: http://cgit.freedesktop.org/libreoffice/core/diff/connectivity/source/commontools/dbtools.cxx?id=f9632ab04288909c9ff4de56171c31acb7f2c573 shows how to use them to populate a the common (UNO) Sequence<PropertyValue> used widely in LibreOffice in a less obstruse way. To find other instances that can use initializer_lists, do a: git grep Sequence.*PropertyValue
Can you explain it further.I want to work on it. I am a beginner. Thanks.
(In reply to Lovekesh Garg from comment #1) > Can you explain it further. Not without any hint on what information would be missing to start with this. ;)
(In reply to Björn Michaelsen from comment #2) > (In reply to Lovekesh Garg from comment #1) > > Can you explain it further. > > Not without any hint on what information would be missing to start with > this. ;) I don't get you. I am just asking for some more example as I am just a beginner. Thanks for your time.
Hi. I am new to LibreOffice development and I would like to work on this as my first bug. Thanks.
Swachhand, you didn't notice that another guy is trying to work on this bug?
Since it wasn't assigned to anyone, I thought that no one is working on it. Sorry.
Since this can be done independantly and even in parallel in multiple places, just go ahead and submit (nice, small scoped) patches to gerrit: first come, first serve. ;) But the assignee should indeed be left free, someone working on this in one place, doesnt prevent someone else doing the same somewhere else.
Swachhand Lokhande committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b1534edf523a405b91ad04c5351735e745ceb7ee tdf#89592 Using initializer_lists to populate Sequence<PropertyValue> It will be available in 4.5.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Bjoern Michaelsen committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6942e18899756cb49bc17f531c156bf3e6abce03 tdf#89592: use initializer list It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Florian Effenberger committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=b16fb9f4096a5bc9906de4b41d39e34f8282b8c3 tdf#89592 Initialize PropertyValue Sequences from initializer_lists It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Hi, it will be my first task. I am working on it right now.
I did my first patch you can have a look here https://gerrit.libreoffice.org/#/c/19430/ thanks.
marstay committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=4383e5a79090a514523e86c2365a41a1d1b448e2 tdf#89592: use initializer list It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Migrating Whiteboard tags to Keywords: (EasyHack SkillCpp DifficultyBeginner TopicCleanup ) [NinjaEdit]
JanI is default CC for Easy Hacks (Add Jan; remove LibreOffice Dev List from CC) [NinjaEdit]
seems solved