summaryrefslogtreecommitdiff
path: root/sw/source/ui
AgeCommit message (Collapse)AuthorFilesLines
2014-06-04Avoid possible memory leaks in case of exceptionsTakeshi Abe11-45/+41
Change-Id: I45929aae52fa106b5f5c0199f8ce8b60c0ac5438
2014-06-04Drop an unused fileTakeshi Abe1-19/+0
Change-Id: I8ad19f77c199bac6890f2917b16588579ea12eae
2014-06-03Changed DocumentDeviceManager includes to IDocumentDeviceAccess.Valentin Kettner1-3/+3
In places other than sw/core/ Change-Id: Ie1b67f58cf7777240d9db6a867cd33a7a1cbbcaf
2014-06-03Removed IDocumentDeviceAccess.hxx include in SwDoc.hxxValentin Kettner1-0/+1
Because it is not needed there anymore in that class. I added it as an include in all files that need it. Change-Id: I3eb2e1da9d153017968b286e1a0250f145ca7cfe
2014-06-03Removed DocumentSettingManager methods from SwDoc.Valentin Kettner1-2/+3
And moved all calls to those methods to GetDocumentSettingManager(). Change-Id: I9b6cc8c3aa9b57bbc0c39f39499dfb4f5f254ad9
2014-06-03Made SwDoc::getDocumentDeviceAccess return a reference.Valentin Kettner1-1/+1
Also overloaded SwDoc::getDocumentDeviceAccess with its const version. Change-Id: I3272be3ee067aa2e0174663ede3c98190ecf2b09
2014-06-03Started cleaning up of IDocumentDeviceAccess methods in SwDoc.Valentin Kettner1-1/+1
Moved all SwDoc::getPrinter and SwDoc::setPrinter calls to their appropriate interface methods (SwDoc::getIDocumenterDeviceAccess::"). Change-Id: Icbe5369ba03a05d9e2afb1300a9c67b0a0a20c60
2014-06-02Avoid possible memory leaks in case of exceptionsTakeshi Abe9-31/+28
Change-Id: If1057871aa7c9e7079ed051e6854c77c81f12292
2014-05-28coverity#738461 Uncaught exceptionCaolán McNamara2-2/+4
Change-Id: Iecc2653faae6bebd31909139392586fe66a17cb4
2014-05-27sw: move SwSendMailDialog etc. to swui libraryMichael Stahl2-2/+570
It doesn't make sense to have a declaration in header in sw/source/ui and the implementation in sw/source/uibase Change-Id: I270b2102d1f006836bb6210bd7a6c1c2e4c1e431
2014-05-27sw: move sw/source/core/uibase to sw/source/uibaseMichael Stahl7-9/+10
It's too confusing to have UI code inside of core; the important part is that it's separated from the optional UI code in swui library. Change-Id: I640a52723d5802faf08f3b8eaa03cd937fd93449
2014-05-27Remove ASCII art and useless comments from sw moduleChris Laplante48-469/+147
Change-Id: I3ba4ac78fd4810e006b1034bbe7c28b1803895d2 Reviewed-on: https://gerrit.libreoffice.org/9494 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-26cid#707399 Uncaught exceptionNoel Grandin2-2/+4
Change-Id: I42d2cdb3a2341f156cd3fd70a9a476a8eb5423d8
2014-05-26cid#707410 Uncaught exceptionNoel Grandin2-2/+2
Change-Id: I54bcc0fc7d54ca7bae35130ef620100c9088b4d2
2014-05-26cid#707415 Uncaught exceptionNoel Grandin2-2/+2
Change-Id: Ia4674e74621fe152ba764f3beaa7376533977d19
2014-05-24coverity#738462 Uncaught exceptionCaolán McNamara2-2/+5
Change-Id: I1450211333d2c04cacc80bc66eb228d5c2e7281d
2014-05-23Resolves: #i124204# make fields empty on the auto text dialog...Tsutomu Uchino1-1/+6
when parent node is selected (cherry picked from commit 3e285da1115b83bfd168567d561615fb3ee3e6c9) Conflicts: sw/source/ui/misc/glossary.cxx Change-Id: I9ef8b28e55a27d4b48432b50678e1a8bc19e0935
2014-05-23coverity#705519 Dereference null return valueCaolán McNamara1-6/+9
Change-Id: Ieb164e6c7349120311ab8cb6f74cec7b6851132c
2014-05-23remove boilerplate in UNO Exception constructor callsNoel Grandin25-54/+51
Now that we have default values for Exception constructor params, remove lots of boilerplate code. Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-20loplugin:implicitboolconversion,literaltoboolconversionStephan Bergmann1-3/+3
Change-Id: Ib783fd0557361286ce7b913a429c9ab8fc101c75
2014-05-20Displaying the number of standardized pages in the Word count windowMichal Siedlaczek2-1/+66
The number of standardized pages (unit defined in the options) for the entire document and the selected area is displayed (if enabled in options) in the Word count window. The number of pages of size P for an area containing N characters equals P/N. This value is a float with one decimal place precision. The default size of the standardized page is 1800 characters (including whitespace characters). The configuration can be altered in Options->Writer->General. Conflicts: sw/source/ui/config/optload.cxx Change-Id: If13e87c73cb7706ff6618fa0352ba29c7c670aec Reviewed-on: https://gerrit.libreoffice.org/7642 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-20enhance pass-by-ref plugin to detect large argumentsNoel Grandin1-4/+4
Detect arguments larger than 64 chars passed by value. Change-Id: I9b0ea9ccb99d115984a26eab67c9cf6afd5f6cae Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold7-22/+0
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15Julien Nabet1-1/+1
Change-Id: I38e855966598342eb2352e70e04f7a5e09e54f83
2014-05-17Correct common misspellings, and remove some ASCII art along the way.Chris Laplante1-1/+1
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
2014-05-15Misspelled property in SwAuthenticationSettingsDialog (seperate => separate)Chris Laplante1-1/+1
Change-Id: I0cf29711459e5ec185b43cf28716729e659b00b4 Reviewed-on: https://gerrit.libreoffice.org/9357 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-14Unify utl::TempFile ctorsStephan Bergmann2-2/+2
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
2014-05-13utl::TempFile::CreateTempName pParent is unusedStephan Bergmann1-1/+1
Change-Id: Ide12ea21104af678dc541ed0e83970e7a2f5e694
2014-05-12fdo#78271: sw: Insert Section dialog: fix editing of nameMichael Stahl1-1/+2
... to not disable the "OK" button due to 32-bit combo-box no longer using 2^16-1 for "not found". (regression from 68ec95b3f80408ae50897b043eed69a07d084df9) Change-Id: I691e5e81de4a112108741513251945f1b8dd88d4
2014-05-11coverity#736862 Dereference before null checkCaolán McNamara1-1/+1
Change-Id: I0264f7eeb003274d7a061caecc6fc6fb5c6b9fb7
2014-05-11coverity#736863 Dereference before null checkCaolán McNamara1-2/+2
Change-Id: If719ed8411ee65c6b81452434810a21ac1da7e58
2014-05-10Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part8Julien Nabet1-3/+3
Change-Id: Ie16923d17541e84e0d7424fffe37caf410786abf
2014-05-08Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part6Julien Nabet1-1/+1
Change-Id: Ib523206d67ad13416557be1b37a58ba7a9791ca5
2014-05-08use new VCL IsValueChangedFromSaved methodNoel Grandin16-126/+123
follow to commit ff1a7a59434f5f793d4044aad615bcf78148e963 "RFC: add IsValueChangedFromSaved to VCL button and listbox" Change-Id: If2e6d9e7c18590dc4abbc90362d7897ca2557dd6
2014-05-07WaE: C4389: '!=' : signed/unsigned mismatchThomas Arnhold1-1/+1
Change-Id: I6a2e0992077b185107f8d7190478d95f8d898e9e Reviewed-on: https://gerrit.libreoffice.org/9266 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-06remove uncompiled source filesThomas Arnhold5-427/+0
how to find possible candidates: find . -name *.cxx | grep -v compilerplugins > cxx.list for i in `cat cxx.list`; do basename $i .cxx; done > cxx.base.list for i in `cat cxx.base.list | sort -u`; do echo $(git grep -w $i -- '*.mk' | wc -l) $i; done > cxx.count Change-Id: I15c6cc7195e58d79967388850a0c90b915b001b7
2014-05-02Rename SwDBMgr -> SwDBManager.Jan Holesovsky12-36/+36
We were renaming it recently from SwNewDBMgr, let's use the full name to make it more readable. Change-Id: I2ceb3f1790321b70d5936c35e13870439969e64d
2014-05-01Simplify type detectorsMaxim Monastirsky2-396/+44
Change-Id: Ic731c1c4c76d8d6779868d7e3e4c02cb3cadc844 Reviewed-on: https://gerrit.libreoffice.org/9222 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com>
2014-05-01coverity#738912 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: Id9b60bb33a1200f5fa6264d0801121ac9e12dc23
2014-05-01coverity#738911 Uninitialized pointer fieldCaolán McNamara1-2/+3
Change-Id: I89c9a17a7ea8dde3475826d03bdeef9e94da322c
2014-05-01coverity#738910 Uninitialized scalar fieldCaolán McNamara1-2/+4
Change-Id: I69583731182c09ffb995a2e86b46e0192544950c
2014-05-01coverity#738903 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I94e5d6a5eb8cbbc54ee774490b72a55a579e1cca
2014-05-01coverity#738902 Uninitialized pointer fieldCaolán McNamara1-0/+1
Change-Id: I5458c530aa9b1480a370a065046aeac318ca6d40
2014-05-01break infinite loopLuboš Luňák1-1/+1
endOfScript() can return -1 , which will never be >= maText.getLength(), and nothing will update once nChg is that way. It originally worked when nChg was unsigned, but 44fbecbfe297cefcc844ca2071fbf017777dd4c3 changed that and missed it (no wonder, given even the explicit cast, which was stupid, so possibly there is a problem elsewhere, but this way it at least doesn't lock up). Change-Id: Ia5138ba36916bd0bfb8f07854580c39d2622f201
2014-04-30coverity#738909 Uninitialized scalar fieldCaolán McNamara1-5/+6
Change-Id: I332d57bd7a82a734e509afe24c0c716ce8a4e455
2014-04-30coverity#738904 Uninitialized scalar fieldCaolán McNamara1-1/+1
Change-Id: I6b6955036d2bb98b19eafdb273df886708ec6ab3
2014-04-30coverity#738907 Uninitialized scalar fieldCaolán McNamara1-1/+5
Change-Id: I2c82911f47aa6c0fff489e5a4cfd4d171981c722
2014-04-30coverity#738906 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I9fabb1236011bc04238af0e6952d3ff0f07c9463
2014-04-30sw: sal_Bool->boolNoel Grandin108-993/+991
Change-Id: I324a0ffde2ddcca105451c19e7aadcfad15211d8
2014-04-29coverity#1210169 Uninitialized scalar fieldCaolán McNamara1-0/+1
Change-Id: I1e34ee6d62c18a5595afac939f8363085cb88bad