summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase
Commit message (Collapse)AuthorAgeFilesLines
* fdo#48673 - UI: No keyboard shortcut for "Ignore All" on misspelled wordJoren De Cuyper2014-06-261-2/+2
| | | | | | | | | Also added mnemonic for "Ignore" entry Change-Id: I044fc0a718a32fe7b502d2c342ba5f09921053ec Reviewed-on: https://gerrit.libreoffice.org/9908 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* drop the functional partsCaolán McNamara2014-06-261-10/+0
| | | | | | appears to work without it as far as I can see Change-Id: Ibe19addeeb38f853a515aef36d6bc83d338e1c0b
* Resolves: #i124914# reset certain language dependent pool defaults...Oliver-Rainer Wittmann2014-06-265-328/+338
| | | | | | | | | | | | | | | | | | before importing a document via <SfxObjectShell::ImportFrom(..)> (used for OOXML *.docx import) (cherry picked from commit 920bf1164fe0c3d232dc0f7d476eec1660f4690e) Conflicts: sfx2/inc/sfx2/objsh.hxx sw/inc/docsh.hxx sw/source/ui/app/docsh.cxx sw/source/ui/app/docsh2.cxx sw/source/ui/app/docshini.cxx sw/source/ui/app/docst.cxx sw/source/ui/app/docstyle.cxx Change-Id: Id32bd6a8ef081dd4af4d832aa42317de7f64184f
* OSL_ENSURE->assertCaolán McNamara2014-06-262-14/+14
| | | | Change-Id: Ib8ba49e89d03eaf3b3aae94dbbf121898ba9e8de
* pagedesc: We have DelPageDesc() that takes OUString as param directly.Jan Holesovsky2014-06-251-3/+1
| | | | Change-Id: I616f89716a6e337c647cfb880a4e675cd1b65993
* pagedesc: Consolidate FindPageDescByName() and FindPageDesc().Jan Holesovsky2014-06-251-10/+9
| | | | Change-Id: I18d570509cd3f3b65a19a12a9df0b1d5db901d04
* pagedesc: It's better when MakePageDesc returns a pointer.Jan Holesovsky2014-06-252-8/+6
| | | | | | This removes many uses of GetPageDesc(sal_uInt16). Change-Id: I9660e30d7fccd4336422ba03b19087321a7ae973
* MSWord uses \xb for linebreaks in DB fields, take 2 (bnc#878854)Luboš Luňák2014-06-251-0/+1
| | | | | | | This commit also does the conversion when reading the data from a data source using the mail merge wizard. Change-Id: Ia14417507b6ddce955fec26142a42ce51f77de4e
* remove spurious ::com::sun::star::sdbcx namespace prefixMichael Stahl2014-06-251-1/+1
| | | | Change-Id: I37220af64c15259ab5bcf61b324d2a73ed8f5348
* SwView::EnterDrawTextMode: refuse to edit editeng text if texbox is attachedMiklos Vajna2014-06-251-1/+14
| | | | Change-Id: If1b3e9807414e90341199eabfa937376084c097d
* Add ITiledRenderable.Andrzej Hunt2014-06-251-0/+18
| | | | | | | | We want to have a simple interface that allows access to tiled rendering without digging into the internals of writer (and in the future calc/impress/draw). Change-Id: Ia9c278a48c919333186e5361ff25bb1ab603b846
* Add SwTextBoxHelper::findShapesMiklos Vajna2014-06-241-2/+17
| | | | | | | | It builds a textbox -> shape map, so methods interested to pick the shape instead of a shape's textbox can call it and act accordingly if their textbox is in the map. Change-Id: I0f30d64a284eb461f462ed6c0a36c88271153f04
* Save debug mail merge documentsJan-Marek Glogowski2014-06-241-0/+49
| | | | | | | | | | | | This saves the first three mail merge documents, the source and the corresponding working documents. For convenience all saved document URIs printed to the console. Change-Id: Ice86bf59fc519cfab170ff0956559dc9373d5a26 Reviewed-on: https://gerrit.libreoffice.org/9860 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* new compilerplugin returnbyrefNoel Grandin2014-06-2411-34/+33
| | | | | | | | | | | | | | Find places where we are returning a pointer to something, where we can be returning a reference. e.g. class A { struct X x; public X* getX() { return &x; } } which can be: public X& getX() { return x; } Change-Id: I796fd23fd36a18aedf6e36bc28f8fab4f518c6c7
* Fix some warningsMatúš Kukan2014-06-241-2/+2
| | | | Change-Id: Ib661af2ab2ad2e95890edb1edf979a82e67a9443
* SwContentType::FillMemberList: ignore TextFrames which are used as TextBoxesMiklos Vajna2014-06-231-4/+4
| | | | | | | SwDoc could already filter them out, but not SwFEShell. This makes them not shown in the Navigator window. Change-Id: I343ab005513198c30970bfdec4e871fbccdebc01
* Fix pathsJulien Nabet2014-06-221-2/+2
| | | | Change-Id: Idc756bc1b224952b9283fd15b3313b70ea3828a3
* sw: Fix SID_CHAR_DLG_EFFECT behaviorMaxim Monastirsky2014-06-223-3/+3
| | | | | | | | A regression from commit f41e7c70. The wrong tab is opened (used in the sidebar underline popup). The correct id is "fonteffects" not "fonteffect". Change-Id: Ic06fb3f93a033bcfe24b97eb124ceea082b4087f
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-06-211-5/+5
| | | | Change-Id: I27a0c3639c346720df471ffa3940783565c47f7d
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-06-205-32/+28
| | | | Change-Id: Ic9b9c22c0ad15bfefce729e7277f950cb66d9bf6
* fdo#71076, fdo#71767: Preserve number formats when charts are copied.Kohei Yoshida2014-06-192-6/+13
| | | | Change-Id: If5ae8852152012483237e7602e56a0c46ea8748a
* sw: add UI for removing the textbox of a draw shapeMiklos Vajna2014-06-191-0/+25
| | | | Change-Id: Ib95573228d3dc98c88cd4af19995c99433c84ae6
* sw: add UI for adding a textbox for a draw shapeMiklos Vajna2014-06-191-0/+27
| | | | Change-Id: Icc4ff083431635f1769dba5907f26e7dc6b08d02
* coverity#705037 Unchecked dynamic_castCaolán McNamara2014-06-1911-7/+16
| | | | Change-Id: I9f6c8ceafd09b4a5d4e951e01e1a06b2b5265181
* coverity#736903 Unintended sign extensionCaolán McNamara2014-06-181-2/+2
| | | | Change-Id: I66c8953bb482126f0862ea4351c3c0348a3cfd5e
* coverity#1213345 Unintended sign extensionCaolán McNamara2014-06-181-2/+2
| | | | Change-Id: I1a47bb6583c4e853e5482009bfa659d33f865490
* Fix memory leaks for some SwXMLTextBlocksTakeshi Abe2014-06-171-30/+16
| | | | | | | | | ... which should be freed even if GetError() != 0 Change-Id: Ifbf72aa17f8bcbdcc3b1504a105aa32e94397ee3 Reviewed-on: https://gerrit.libreoffice.org/9807 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* improve the inlinesimplememberfunctions clang pluginNoel Grandin2014-06-172-5/+2
| | | | Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-06-175-22/+16
| | | | Change-Id: I22d22a924d33b91ba6894857ce56b0d920102b4b
* Related: fdo#47427 disallow pasting spaces into category boxCaolán McNamara2014-06-161-7/+6
| | | | Change-Id: I4caf4b2ac028629c6ecbd42084346623192df09e
* turn the no-space edit widgets into a editwidget featureCaolán McNamara2014-06-166-70/+11
| | | | | | | especially because most of them don't handle intercepting text getting *pasted* into them right, so start with the one which does that right. Change-Id: If6770798872ed3c72c469656ebf0d4fd76d2171d
* we can shrink the NoSpaceEdit down furtherCaolán McNamara2014-06-162-20/+1
| | | | Change-Id: I0ebb18a8ad2fec70ced535200139e5cd34822c84
* callcatcher: update unused codeCaolán McNamara2014-06-152-12/+0
| | | | | | and strip away some stuff in rsc that should now be dead Change-Id: I6411e706c50dff299099680f1f942bf61c4e79f2
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-06-145-40/+30
| | | | Change-Id: I32d1e15cb9f050e3cd05babbd2f21c57f3ccb5e7
* loplugin:staticcallStephan Bergmann2014-06-1323-50/+49
| | | | Change-Id: I26e1e0f66dad5ed4e8351fc7509449b312559166
* coverity#1213307 Dereference before null checkCaolán McNamara2014-06-132-5/+3
| | | | | | | I can see nowhere that m_pHScrollbar or m_pVScrollbar are set to NULL, deleted yes in the dtor, but nowhere NULLed. Change-Id: I3012be6de1117757237884deebacc9e0e29dc7a7
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-06-135-50/+32
| | | | Change-Id: I986805143615f053b918fb1e64b0b24d6f76f2de
* translate comments in uibaseJan Kantert2014-06-123-4/+4
| | | | | | | Change-Id: I1a187426ae41b9398c062f3c4998363b073e80f1 Reviewed-on: https://gerrit.libreoffice.org/9744 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* DLG_MM_ASSIGNFIELDS conversion to .uisk942014-06-121-2/+1
| | | | | | | Change-Id: Ia625de9edd46c185c2712c0c5a7154ba1abb2894 Reviewed-on: https://gerrit.libreoffice.org/9726 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* Change SfxTabPage ctor SfxItemSet param from ref to pointerStephan Bergmann2014-06-1122-46/+46
| | | | | | | | | ...and also corresponding param of CreateTabPage function type and corresponding Craete functions. There were some call sites that passed undefined "null pointer references" and SfxTabPage internally uses a pointer member pSet that is checked for null anyway. Change-Id: I4eb3636155eac46c9c9d26e6e6e842e85d7e95af
* Change SfxTabPage::Reset param from ref to pointerStephan Bergmann2014-06-1120-37/+37
| | | | | | | ...there was a call site that passed undefined "null pointer reference" (apparently in a case where the passed argument was actually unused) Change-Id: I663d4264b7a84f44ca69c732f3bc502f614b2b2a
* -Werror,-Wundefined-bool-conversionStephan Bergmann2014-06-101-7/+3
| | | | Change-Id: I52d9ae4daf8e4f904f18b150a4adaad9d2921e61
* Change SfxTabPage::FillItemSet param from ref to pointerStephan Bergmann2014-06-1020-37/+37
| | | | | | | ...there were a number of call sites that passed undefined "null pointer references" (apparently in cases where the passed argument was actually unused) Change-Id: I19799e90f0cd8e98367782441a5ea9df27b59830
* coverity#735983 Unchecked dynamic_castCaolán McNamara2014-06-101-4/+4
| | | | Change-Id: Id8a2f30e12115049ba107b2e2485ec7206123b08
* coverity#735982 Unchecked dynamic_castCaolán McNamara2014-06-101-3/+3
| | | | Change-Id: I25924b36c9e2354c68bf56674ae30d6e6274b274
* coverity#707350 Uncaught exceptionCaolán McNamara2014-06-102-2/+8
| | | | Change-Id: Ic338659d34c91baad715c2181f420d919acf1fe9
* coverity#1038491 Uncaught exceptionCaolán McNamara2014-06-102-4/+10
| | | | Change-Id: Iacc0ef25b4fad7a28d52d4cfd620d00190cdd974
* fdo#79676: Initialize with a default chart only from the UI.Kohei Yoshida2014-06-101-0/+8
| | | | | | | | | When creating an embedded chart object during import, we don't want to create a default chart which would only mess up the chart data. With this change, ChartModel::initNew() is a no-op. Change-Id: Id29659c3885ec1e06bed26d2c851123fb63072cc
* Avoid possible memory leaks in case of exceptionsTakeshi Abe2014-06-106-51/+35
| | | | Change-Id: I0cb10efaa3ab08d2cf1338963917d89bdab15289
* gbuild: remove config_libraries.h and gb_Helper_generate_config_librariesMichael Stahl2014-06-091-2/+1
| | | | | | | | This much ugly complexity, generating a header on every gbuild startup etc. is really not warranted for 6 callers of the generated macros. Also, the Win32 make has problems with the quoting. Change-Id: If945e09c1730e52174a6084677842dc611d66b2f