summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)Author
2014-01-10svt: Use constructor feature for OAddressBookSourceDialogUno.Matúš Kukan
Change-Id: Ie046b43f40bd704090bbca4d14ea5321ff7639d9
2014-01-10svt: Use constructor feature for GObjectImpl.Matúš Kukan
Change-Id: I324dd00205319fe4e8f7b0b352ed2ab6422fcbbd
2014-01-10svt: Use constructor feature for Wizard.Matúš Kukan
Change-Id: I25e31c57c58e26e4de9d0ccc63ae1f6f0c86505b
2014-01-10svt: Use constructor feature for SvFilterOptionsDialog.Matúš Kukan
Also fix the implementation name. Change-Id: Ic7c8c77b819c0368cfbc95f16f6cce09a6a3de16
2014-01-08Do not initialize FilePicker with empty argument.Matúš Kukan
This is tricky. In constructor, we don't know if we were called by service manager's createInstanceWithArgumentsAndContext or just createInstanceWithContext, so we don't know if initialize should be called. Let's assume that nobody would use createInstanceWithArgumentsAndContext with empty argument. Then the behaviour should be the same as before. FolderPicker does not seem to be called with arguments. Change-Id: If33dc20fe1b2b10b092ff35fa0b258137c8e94b2
2014-01-08These implementations could inherit from XInitialization too.Matúš Kukan
Change-Id: I70493afcec837411b0f3c6d5165564d2cc0996db
2014-01-08Revert "make FilePicker::createWithMode not crash"Matúš Kukan
This reverts commit 58ea27124af27bfac21a796b0d13d72354bd0dd3. It's probably better to fix it another way.
2014-01-08svt: Use constructor feature for ODocumentCloser.Matúš Kukan
Change-Id: Ia1a9593e3d1dbc41cf25f6a983cb340f48538226 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07translated german commentsLuc Castermans
Reviewed on: https://gerrit.libreoffice.org/7275 Change-Id: I86fef5ab012c7c464271afec3a0a5fa4d3c72f31
2014-01-05translated German commentsLuc Castermans
Change-Id: I75c7611c36c15fb36e00de239f5b322adb182e73 Reviewed-on: https://gerrit.libreoffice.org/7273 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-31fdo#70465 SvTreeListBox::GetLevelChildCount refactoredEfe Gürkan YALAMAN
Instead of iterating siblings returning count of parents child vector. This slightly improves loading performance of "Expert Config" when accessibility enabled. Change-Id: Ide1af3df19efaae9c0cc92086456bf3520ee5dd2 Reviewed-on: https://gerrit.libreoffice.org/7106 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2013-12-28make FilePicker::createWithMode not crashCaolán McNamara
i.e. calc->data->XML Source->"browse to set source" calls com_sun_star_comp_svt_FilePicker_get_implementation with its single argument in arguments as opposed to the empty argument expected there. So allow the single-argument case, and pass the argument through and apply it automatically via XInitialization::initialize in Application::createFilePicker. I'm far from sure that this is the right solution, but it has the advantage of working vs crashing. Change-Id: I07c1baae7f47781920eac56763e8fd003a7b99e1
2013-12-27Transex3: NO_LOCALIZE_EXPORTZolnai Tamás
In the past, NO_LOCALIZE_EXPORT macro must be used to skip uneeded parsing of src files which has no localizable content. It is unsued by now and it is more effective to handle this files on gmake level: gb_SrsTarget_add_nonlocalizable_files gb_SrsTarget_add_nonlocalizable_templates Plus remove some empty src file. Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
2013-12-23svt: Use constructor feature for GraphicProvider.Matúš Kukan
Change-Id: I0cb66814c3dcbe38a92ada0dfcc0374313784a2b
2013-12-23svt: use constructor feature for HatchWindowFactory.Matúš Kukan
Change-Id: I0881c0994342816b8f0ac0281d884ce618d5e285
2013-12-23svt: Use constructor feature for GraphicRendererVCL.Matúš Kukan
Change-Id: Idb4cdfcdc8e06dca070bda5dd63e4291bb582e0f
2013-12-23svt: Use constructor feature for FilePicker and FolderPicker services.Matúš Kukan
Change-Id: Idb14acb8fdb737b592a358eaa221ca9b1e14e589
2013-12-23svt: All files are compiled with enabled exception handling.Matúš Kukan
So, merge these files. Change-Id: Icc8e221a40c70dc24a9fb048e06cf4fe7635fd02
2013-12-22Fix other typosJulien Nabet
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20Resolves: #i120065# apply patch for Enabled property in grid modelJürgen Schmidt
Patch By: hanya Review By: jsc (cherry picked from commit 0164d67071d06aa42213c4a66765b5d032ca84d3) Change-Id: Iad363b75dd30722b10139b31c90b3d598deaaf30
2013-12-19CID#736017 (unlikely) invalid iterator useCaolán McNamara
Change-Id: Ibc097bfbb5cbfa221aa20cea0eba4d168b17a95f
2013-12-19CID#736018 (unlikely) invalid iterator useCaolán McNamara
Change-Id: I56899cfa1010f547c2793b5248dc91a3ceb4cdb4
2013-12-18the MS Serbian Latin Neutral messEike Rathke
There are two LangID values mapping to Serbian Latin (without country) which lead to the UI language selector displaying "sr-Latn" instead of "Serbian Latin" because conversion picked the other one. Consistently use LANGUAGE_SERBIAN_LATIN_LSO and don't trap into LANGUAGE_SERBIAN_LATIN_NEUTRAL (whatever that might be). Change-Id: I6ae6c2027048c99096b4d9d703a0dc73784b52f1
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17remove unnecessary double calls to OUString constructorNoel Grandin
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-16svtools: rename IAccessibleTableControl::dispose()Michael Stahl
... to not confuse it with XComponent::dispose(). Change-Id: I056fdf77f9116d1c22f8ca9313a0ea313fb1c4aa
2013-12-12fdo#72125: GetTextWidth() can get very expensive.Jan Holesovsky
Let's just count an approximate width using a cached value when we have too many entries. Change-Id: I2113887c477bc774dd00df538ec1a01f102f4726
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-10svtools: don't dereference invalid iteratorMichael Stahl
Can be reproduced by opening Data Sources in Writer and closing document. Change-Id: I703ceffee3a1896acd06076d8b77085e8785acd3
2013-12-09fdo#72156: GraphicObject: Added missing delete of streamUlrich Kitzinger
Change-Id: I1b84941b0e4b17d5819b1e4af0da9ce3f673710f Signed-off-by: Ulrich Kitzinger <ulkitz@hotmail.de>
2013-12-06Get rid of DECLARE_STL_USTRINGACCESS_MAPStephan Bergmann
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-12-06I guess const was what was wanted here.Jan Holesovsky
Change-Id: I5789b18f47d954761a06ccdc4568bc1f74258089
2013-12-05crash on exit from xml form document with accessibility enabledCaolán McNamara
Change-Id: If60075b939569cf339f7ccf7e39e513fbe1f74bf
2013-12-05Remove obsolete SEQTYPE workaroundStephan Bergmann
Change-Id: I366b29038be034b03a16fa6d7f6873dc78d8d88f
2013-12-04fdo#60698: Merge hatchwindowfactory into svtMarcos Paulo de Souza
They are used at same conditions, and hatchwindowfactory just have four files, so we don'y have any reason to keep them separated. Change-Id: Iae3bb26ab1e95a309bf0d83c4ef17a0bf0261179 Reviewed-on: https://gerrit.libreoffice.org/6811 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-04convert OutputDevice::HasGlyphs from xub_StrLen->sal_Int32Noel Grandin
Change-Id: Ic8f0ae3d263d6cb02e6faa7226db0241681fc45f
2013-12-03Use proper header guard conventionTor Lillqvist
Change-Id: I8e7b2187004a9b945a847c351e16ba1d1ff7a4ec
2013-12-02added Kurdish, Southern (Iran) [sdh-IR] to language list, fdo#63460Eike Rathke
Change-Id: I575c8a51cff1cf451c776818711d2e0fd458a322
2013-12-02fdo#34170 Disable deleting in the native Open DialogSamuel Mehrbrodt
Change-Id: I0ccd4b06b2db399711004c3e6505a28353604aeb Reviewed-on: https://gerrit.libreoffice.org/6892 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02Drop duplicate #includeTakeshi Abe
Change-Id: Ife8ebbb5e46704c5d2ff46cc345b4ed926e7dc12
2013-11-30mark non-translatable .ui strings explicitely as suchAndras Timar
so bin/ui-translatable.sh will not find false positives Change-Id: I35e98ba22ba8c0cc9bbf0de40b31be421acc4c15
2013-11-28Finish rework of QueryDeleteDlg_ImplCaolán McNamara
This reverts commit a74b3e89c9b853338506249b0fac8d5f54909de7. Change-Id: Id670a2b66e61d3a4dceb9640d6ae34e9116691c0