summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-19Switch personalization search url back to mozilla.org and...Giuseppe Castagno
...remove comments no longer applicable. Change-Id: I7a148d1c8df44bac95de6b9b409eaa39202dfc8e Reviewed-on: https://gerrit.libreoffice.org/23328 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-03-19tdf#97973 - cleanup spinbuttons theming logic.Gurkaran
vcl/unx/kde4/KDESalGraphics.cxx had a special case to build the widgetRect for spin-buttons which is cleaned up. vcl/unx/gtk/salnativewidgets-gtk.cxx had a wrong comment and special case regarding CTRL_SPINBUTTONS which is cleaned up. vcl/win/gdi/salnativewidgets-luna.cxx had a wrong comment regarding spinbutton which is cleaned up. Change-Id: I3c2797800221e150be165666bf71b65302724444 Signed-off-by: Gurkaran Singh <gurkran@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/23345 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-19starmath: Replace lt_SmSymPtr with a lambdaTakeshi Abe
... as std::binary_function is deprecated in C++11. Change-Id: Idf73bcd832fa80addf46e3545de3b6787d3b3de6 Reviewed-on: https://gerrit.libreoffice.org/23370 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-03-19formatting and whitespaceAlexandru Moscu
Change-Id: Icc086404a2ef32a38e972da9158f6156fdf74ef2 Reviewed-on: https://gerrit.libreoffice.org/23363 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-19simplify new testMarkus Mohrhard
Change-Id: Icb43a88c03c364d7bdcbc99ff64804df7174fec1
2016-03-19fix previous commitMarkus Mohrhard
Change-Id: I5f7ec7f48bbcb995609c3d3ef4f64b9e6230b395
2016-03-19tdf#70448, Test for SetFormula functionJaskaran
Change-Id: Ie6899b90f02f8344710515af847170783a5e0d0f
2016-03-19tdf#50916 : Unit tests for the refactored ScMarkData...Dennis Francis
... and for the newly created ScMultiSel class Change-Id: I567d9dfa83da05de05b35e3b3949060358ea7e70
2016-03-19tdf#96099 fix trival typedef, sc/source/core/, std::vector<std::string>Jakub Trzebiatowski
Change-Id: I45c2e397374732b6ad44803863fe271bffbe4ddb Reviewed-on: https://gerrit.libreoffice.org/23013 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-19tdf#82641 Currency drop-down listMohammed Abdul Azeem
Currency drop-down list has been added. It retains the position of selected entry. Clicking on button toggles between the previously selected currency and number formats. Change-Id: I0dea8fc2773497bfaababa418f119d0a5e76cb03 Reviewed-on: https://gerrit.libreoffice.org/22958 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-19simplify code a bitMarkus Mohrhard
Change-Id: Iffc3fa3240750892e40393c147acc6ba32cec117 Reviewed-on: https://gerrit.libreoffice.org/22573 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-19tdf#93124: Fix incorrect text fit in imported PPTMike Kaganski
To make text adjustment to full width, the alignment optimizations had to be removed, and bAutoFit was removed, too. Allso, to fix tdf#41245 again, the SDRTEXTFIT_AUTOFIT that is set in SdStyleSheetPool::CreateLayoutStyleSheets had to be overridden. I touch the following commits: http://cgit.freedesktop.org/libreoffice/core/commit/?id=d2000efb31f864e912c6cf52760eea0e602b6893 http://cgit.freedesktop.org/libreoffice/core/commit/?id=3550256daa5451c1d51d220d5489c1b20150c374 http://cgit.freedesktop.org/libreoffice/core/commit/?id=812aff65ad0661fed9687a429c763dc8f2144a0c Change-Id: I7f7934e2982baf0240c740e09fcb9bd348079064 Reviewed-on: https://gerrit.libreoffice.org/18895 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2016-03-19Fix failure to print when using the D2DWrite pathTim Eves
It seems that D2D1DCRenderrTarget cannot bind to a DC on a printer device. Now whenever that attempt to bind the DC fails we run the legacy API path as a fallback. Change-Id: I6ad8d82e5280fd2dcf669310bab0f5bfc23a138a Reviewed-on: https://gerrit.libreoffice.org/23366 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Martin Hosken <martin_hosken@sil.org>
2016-03-19sc: replace conversion macrosJochen Nitschke
try harder to fill array at compile time replace C-cast with static_cast for code checks Change-Id: I9043c983e1f86c8fb4e7325129f07689cf928b21 Reviewed-on: https://gerrit.libreoffice.org/23325 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-19tdf#84938 replace #defined constant with scoped enum classJochen Nitschke
put 'enum class Type' into ScServiceProvider The mapping of historic stardiv.* service names relied on correct order in array aOldNames and fixed numbers for service types via #define. This mapping is now done the same way as for the other service names. Nice side-effect, we don't need to assign numbers any more. getFieldType moved up in one namespace with the other stuff for ScServiceProvider. Change-Id: I932d1d1475563db82061ec7b5913f2361a6f4362 Reviewed-on: https://gerrit.libreoffice.org/23365 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-19adjust sheet references when copying sheet-local named expressionsEike Rathke
... so references to the local sheet point to the new scope's local sheet and not to the originating sheet. Change-Id: I7f33f4e9b379ec01d6c2587e92ffe851892fc32d
2016-03-18sw: restore lost SwMMResultEmailDialog::SendAsHdl_Impl()Miklos Vajna
Adapt SwMailBodyDialog to not require a wizard at all, and similarly let SwGreetingsHandler work without a wizard when m_bIsTabPage is false. Do this by not calling m_pWizard->GetConfigItem() in SwMailBodyDialog and in the parent class, instead always work with a new m_rConfigItem, and let the subclasses decide if they obtain that from a wizard (tabpage case), or from the view (toolbar case). With this, it's again possible to add an inline message in case the real mail merge document is an email attachment (odt/pdf/doc case, does not affect html or plain text). Change-Id: I4bf68ac4c06772b50d468d6b30959c5970babcb3
2016-03-18sc tiled rendering: Unit test for extended .uno:SelectRow/ColumnPranav Kant
Change-Id: I0ab89598af28e12bebc271f7bce1e6166cb83b1d
2016-03-18sc lok bccu#1602: Don't crash when the copy functionality is not allowed.Jan Holesovsky
Change-Id: I0fe5871782d5892f9eda201be042648a45b9f9d4
2016-03-18unit test for other-sheet-local names, tdf#96915Eike Rathke
Change-Id: Iee3edb4603830a4912cda5c1f16029560be04857
2016-03-18sc lok bccu#1519: More general solution to detecting cell resizes.Jan Holesovsky
This covers even the row height updates when the text in the cell changes etc. Change-Id: Idb570fa2c3c4d3c6bcdb381f8ce07a0311354083
2016-03-18adjust other-sheet-local relative sheet references, tdf#96915Eike Rathke
... so they still point to the same sheet as if used on the original local sheet. Change-Id: Id40378deaf70c1645bfa52ea28aa39775d16aec5
2016-03-18let FindRangeNamesInUse() collect also sheet-local names, tdf#96915 relatedEike Rathke
... though CopyRangeNamesToClip()/copyUsedNamesToClip() don't handle them yet. Change-Id: I570c13725ed6448688d1a2ce877f8bc1d1ff9916
2016-03-18tdf#44282 fix missing space for numbered lists in TOCMohamed Thabet
check if there is a number, if so add a space after it Change-Id: I1c9024aeda2048e60526f26b57a466fea90e56ec Reviewed-on: https://gerrit.libreoffice.org/23195 Tested-by: jan iversen <jani@documentfoundation.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-03-18convert SvButtonState to scoped enumNoel Grandin
Change-Id: I601f9e2fe33e85cf3f7dc52ee20d68202bd2b09d
2016-03-18convert SvLBoxButtonKind to scoped enumNoel Grandin
Change-Id: Ia8e19473132cf95837acc499c5831b5ca8786a68
2016-03-18tdf#98740 Infobar should not be in the customization optionsSamuel Mehrbrodt
Change-Id: I741246174a8a3b642224c63faa2891ab383b645c Reviewed-on: https://gerrit.libreoffice.org/23354 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-03-18sw: fix loplugin:staticmethods in SwMMResultEmailDialogMiklos Vajna
Change-Id: I1ed72bcf26429d9bc4c4036a56f1fbae6d90d15c
2016-03-18Resolves: tdf#96915 implement other-sheet-local named expressionsEike Rathke
Change-Id: I0d62536caa6eb455473a755067abc585662cd9a5
2016-03-18loplugin:constantparam in sdNoel Grandin
Change-Id: Idad86a005a7df1af38722fa0e909ed9b6e0858fa
2016-03-18Remaining argument from loplugin:constantparam in ucbKorrawit Pruegsanusak
Still one remaining after b47cb646ff2a62fcd3fac0e453a7261bbaefbcb7 Change-Id: If1dfaa6bbc9f8582f7b2a7dab49815a0a4c6a7b8 Reviewed-on: https://gerrit.libreoffice.org/23355 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-18sw: fix loplugin:staticmethodsMiklos Vajna
Change-Id: Ideeb944b6803563ef766e9ef568546349db2e15e
2016-03-18loplugin:constantparam in cuiNoel Grandin
Change-Id: Iccba51d7b1d11ae5b309e380fd396be796992d7e
2016-03-18-Werror,-Winconsistent-missing-overrideNoel Grandin
Change-Id: Ib71a0f2dbbc02a4caacda20561f352e4b7593cdb
2016-03-18sw: fix -Werror,-Winconsistent-missing-overrideMiklos Vajna
Change-Id: I96100de40fa4cef548633251c4be3a8502c64fc9
2016-03-18drop unused params from SvLBoxItem and all it's subclassesNoel Grandin
looks like this is fallout from commit ac7acb0a "Merged SvTreeListBox and SvLBox." (in year 2012) Change-Id: Iaebeae64fc7cd3ba11f5f45b53bcb65bf906e906
2016-03-18Related: tdf#42629 Improve the readability of the status bar functionsDag Wieers
Currently there is no spacing between functions in the status bar. Which makes it hard to read. E.g. Average=4.5;Count=8;Max=8;Sum=36 I think spacing and using colons works out better: Average: 4.5; Count: 8; Max: 8; Sum: 36 Change-Id: I866bd06519bf03bbe146eee47128a476aff06ba1
2016-03-18Restore WebDAV credential dialog functionality...Giuseppe Castagno
...that was broken in 3d264450989cecdc59a2e64f46a0328432ba0d08. Change-Id: Icd601196867258490f9241efc3d0d6ebea334a2a Reviewed-on: https://gerrit.libreoffice.org/23353 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-18loplugin:constantparam in dbaccessNoel Grandin
Change-Id: Icfe7d3d4630f4b5b3b2491ba56245257bad31bb8 Reviewed-on: https://gerrit.libreoffice.org/23349 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-18SwMMResultPrintDialog: disable from/to numeric fields by defaultMiklos Vajna
Again, same situation as in SwMMResultEmailDialog. Change-Id: Id26aa0601db712133147856dfe179415d579e75a
2016-03-18SwMMResultSaveDialog: disable from/to numeric fields by defaultMiklos Vajna
Same situation as in SwMMResultEmailDialog. Change-Id: I9205f8d62125b66012cd35e2bc25cf60834b11a5
2016-03-18SwMailDispatcherListener_Impl: guard against disposed m_pSendMailDialogMiklos Vajna
SwSendMailDialog normally creates its SwMailDispatcherListener_Impl in SwSendMailDialog::SendMails(), and SwMailDispatcherListener_Impl has a reference to its parent. Usually when the mail merge ends, the MailDispatcher thread invokes SwMailDispatcherListener_Impl::idle(), and that disables its parent dialog's stop button. However, once the mail merge ends, SwSendMailDialog also schedules a deletion of itself via SwSendMailDialog::RemoveThis(), and it may happen that by the time idle() is called, the dialog is already disposed. Fix the problem by only accessing the parent dialog if it's not disposed already. With this, we no longer crash from time to time when all mails are sent out. Change-Id: Ib36188b558e1b8a857462c26d49ff7ab1d29093a
2016-03-18SwMMResultEmailDialog: disable from/to numeric fields by defaultMiklos Vajna
In the old code these were hidden by default, and when the user clicked on "Send merged document as E-Mail", the click event handler disabled them. Now that there is a separate dialog for email sending, disabling has to happen in the dialog constructor. Change-Id: Ie0024a470e042e120ee424bf6a74dffa6f7a43a6
2016-03-18sw: add back lost tree model for sendas in mmresultemaildialogMiklos Vajna
These were part of mmoutputpage previously. With this, it's possible to send email with MM again, though we crash before the results (were the mails sent out successfully?) could be seen. Change-Id: I19724e829d50aafdd20198596422be1ff079b3f5
2016-03-18SwMailMergeWizardExecutor::EndDialogHdl: avoid accessing already deleted viewMiklos Vajna
Valgrind points out that SwView::GetMailMergeConfigItem() is called on a pointer that is already deleted. SwView gets deleted, because it is closed by SwMailMergeWizardExecutor::EndDialogHdl(). Since the new MM toolbar the source view is never closed (since the toolbar is part of the source view), so adapt code here to always show the source frame at the end of the wizard, instead of conditionally showing or closing it. With this, MM to a merged document or individual documents no longer crashes for me. Change-Id: If90302f0619f621420e832a1acc0a05865b8f87d
2016-03-18CppunitTest_sw_mailmerge: fix testMissingDefaultLineColorMiklos Vajna
SwDBManager::MergeMailFiles() assumes that there is a config item in a merge description all the time, but SwXMailMerge::execute() doesn't set one for the nCurOutputType == MailMergeType::FILE case, so don't rely on that. Especially given that MergeMailFiles() later explicitly handles the pTargetView == nullptr case. Change-Id: Ia46539c650885834d54c499fb63188d9bf9ac9ba
2016-03-18mailmerge: Create the documents for printing.Jan Holesovsky
Now the printing from the toolbar works. Change-Id: Id52deb78f0fcce96afc7727c63e6020f1743a430
2016-03-18mailmerge: Create the target view independantly of the mailmerge execution.Jan Holesovsky
Change-Id: Ib6a53b89b0fe2a30eac104afd1c8fe75d2348edd
2016-03-18mailmerge: nStartingPageNo and sStartingPageDesc shouldn't be return values.Jan Holesovsky
Change-Id: I86a049411c2ec461e66009e6dc54d8ea086e7f12
2016-03-18mailmerge: bPageStylesWithHeaderFooter should not be a return value.Jan Holesovsky
Change-Id: I8d39b6b031b543e4cc6a31cf57d207b04a19ba38