summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2015-11-10Missing includesAshod Nakashian1-0/+1
Restored some missing includes and refactored sot/formats.hxx. Change-Id: I11b7102b06889f426f5e0f3efa3a835c6e774d88 Reviewed-on: https://gerrit.libreoffice.org/19891 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2015-11-10This language string should be more consistentAdolfo Jayme Barrientos1-1/+1
Change-Id: I84d3346f7074f7fb413f800386c5ff2f4dbf0a69
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann125-839/+839
Change-Id: I7fc4b4d5c895f241cfb052b009e943e073f3befe
2015-11-09Prevent += called on temporary O[U]String instancesStephan Bergmann1-5/+5
...found regression e31205f3ec1f941ab5a188bfde6329edf2acc55b "EditUndoRemoveChars::GetStr must return a reference" and dubious code 0e23f7b0839df68d277186b4df54ba391ac3406a "Lets assume this doesn't want to update m_pForcedPrefix->GetText() anyway" in addition to the apparent sillies directly fixed in this commit. Introduces HAVE_CXX11_REF_QUALIFIER. Change-Id: I564e98254fd53c1dd9b34193d7057c59721ee24c
2015-11-08Fix property name: ModuleName -> ModuleIdentifierMaxim Monastirsky1-1/+1
8b050d1e91a6623fb2770421e564a74d6259d816 changed this everywhere except here. (This reason is that the commit was imported from Apache, which didn't have this place.) Change-Id: I07a914298ee0d350c744789a5dd39605b01e5311
2015-11-06Add title to image export options dialogYousuf Philips1-0/+1
Change-Id: I79e6722f2cfa8aabe3b3cacefe97d34063965d5d Reviewed-on: https://gerrit.libreoffice.org/19812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann13-61/+61
Change-Id: I3da35c56d042b11cda04a94667923d6089c921a8
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin18-39/+36
Change-Id: I2f8c9cb71a06f7796576509f605796624e654422
2015-11-04yyyyyNoel Grandin5-27/+20
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-10-30com::sun::star->css in svtoolsNoel Grandin91-1397/+1387
Change-Id: I95fd8317ab1142068e0c7b50fc62643fe9f95dc2 Reviewed-on: https://gerrit.libreoffice.org/19683 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin1-2/+2
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30tdf#90987: SlideSorterBarOptions was missing Commit() tooKatarina Behrens1-7/+38
Commit() of related _Impl class actually wasn't called anywhere after 465359c35fcd8c30a2bedd3d0beb07c0c1c36cba removed it from destructor. The config was also never tagged as modified, so fix that too. Change-Id: I8293fee20ec154d5d70a7cda8b015bf723b50c87 Reviewed-on: https://gerrit.libreoffice.org/19558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-10-30convert Sequence<XInterface> constructions to use initializer listsNoel Grandin1-4/+2
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
2015-10-27tdf#60906 make color configuration consistentFeyza Yavuz1-4/+4
Change-Id: I8b9b05ca90f055be77f1b5d8602be9d880f1d14f Reviewed-on: https://gerrit.libreoffice.org/19571 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Justin Luth <justin_luth@sil.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin1-0/+1
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27don't allocate uno::Reference on the heapNoel Grandin2-9/+8
There is no point, since it's the size of a pointer anyway (found by temporarily making the new operator in uno::Reference deleted). Change-Id: I62a8b957fef9184f65d705600acfdab4116dcb34 Reviewed-on: https://gerrit.libreoffice.org/19603 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27loplugin:unusedmethodsNoel Grandin1-45/+0
Change-Id: I161cd52606c11b6008f5d8b1d8ee391692f91861 Reviewed-on: https://gerrit.libreoffice.org/19231 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-26remove extra spaces around ::Noel Grandin1-1/+1
just makes it harder to grep for methods Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-21drop unused stuff scheduled to be removed 'before the next major'Caolán McNamara1-9/+1
Change-Id: I2162618d430cf8dc6bb8d20d9a5dd9af543fa934
2015-10-21afl-eventtesting: crash when accelerator processed after frame is disposedCaolán McNamara1-38/+47
Change-Id: I8c3dcca53d5fb18e9f1da0499a071d35a859a9de
2015-10-21refactor out some com::sun::star typedefsNoel Grandin2-11/+6
which mostly serve to make the code harder to read Change-Id: Ia2a83fee9f850ab6f0bea6305ce8600d6b785fe8
2015-10-20sc: initial png exportMiklos Vajna1-0/+2
Change-Id: Iae0e89646eab794879529274f09839ad34aa4696
2015-10-20loplugin:defaultparamsStephan Bergmann9-14/+14
Change-Id: I1925768a2ac3fbb83fc52ef742bf1fcfe02173b5
2015-10-19loplugin:defaultparamsStephan Bergmann8-28/+28
Change-Id: I7f24a05bdf01b455d470f5b560359dea3f407c58
2015-10-19afl-eventtesting: div by zeroCaolán McNamara1-1/+1
Change-Id: If070da723858b5e1221bda86e69225ee57ec9d02
2015-10-19Writer image export: cmd. line, default to white backgroundTomaž Vajngerl1-1/+8
This commit fixes the writer image export (jpeg, png) that didn't work because the export pixel size was set to 0 by default. Now the default is set to document size (which depends on system DPI). When exporting to a PNG the background was transparent, which may not be desired. The background color is now by default white and can be changed for DocumentToGraphicRenderer, but the dialog or command line don't support such an option - for now. Change-Id: I16ffd3cd60c47b52768f43ae4c4c170fc821033b
2015-10-19convert DBG_ASSERTWARNING to SAL_WARN_IFNoel Grandin1-1/+1
I know the comment in debug.hxx said to use SAL_INFO, but SAL_WARN makes much more sense. Change-Id: I3d81f9db89ef8cebe1e4f2983941d69b4c7e6b7d
2015-10-19convert remaing DBG_WARNING to SAL_INFONoel Grandin6-12/+12
and drop the macro Change-Id: I452ca373d0c277166e94928c1bce78bf37e39d7c
2015-10-18mark number as untranslatableStanislav Horacek1-1/+1
Change-Id: I4049603621ed48f41e3176e4a0a0b73ec1d674d4 Reviewed-on: https://gerrit.libreoffice.org/19412 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-10-16convert Link<> to typedNoel Grandin1-3/+2
Change-Id: I9aa883a2228ed5d39e924e4364cd3a812f2037a3
2015-10-16convert Link<> to typedNoel Grandin1-4/+2
Change-Id: I48893ac7130ad671864faa5eb55409b21cdda77e
2015-10-16convert Link<> to typedNoel Grandin9-55/+37
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15simplify the CellController modify Link<> handlingNoel Grandin2-18/+25
in preparation for some more "make Link<> typed" work Change-Id: Ifdf58cc697c7172102bf9e4cc63f869c522517e6
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin2-4/+2
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-15convert Link<> to typedNoel Grandin2-4/+3
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-14tdf#93390 correctly handle back-and-forth between numeric and text valueLionel Elie Mamane1-15/+16
Change-Id: I06711afd5d668816608661f0fe433efd93fef99e
2015-10-13cppcheck:variableScopeNoel Grandin3-12/+13
Change-Id: I7cbd5a9e9bb5417f754d4e2445df309140fd40af Reviewed-on: https://gerrit.libreoffice.org/19329 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann77-894/+894
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann6-11/+11
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12convert Link<> to typedNoel Grandin7-22/+26
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-10cppcheck: redundantCopyCaolán McNamara1-1/+1
just zero the un-overwritten new entries Change-Id: Ifea1560a1c46ac5b10c04e6499c02e29a957191a
2015-10-10remember host namefeature/gsoc15-open-remote-files-dialogSzymon Kłos1-0/+1
Change-Id: I74ebde5402ac385fe24cb5b4eb9a3ed9dcef2fe6
2015-10-10fixed CMIS service editingSzymon Kłos1-3/+8
Change-Id: I62e89700b158ace1edcf26384f4294ba0661444a
2015-10-07Abstract out repeated code into a lambdaStephan Bergmann1-32/+17
...to silence a clang-analyzer-deadcode.DeadStores on the last update of nX Change-Id: Ifeb2e5294b22270ba134a303fbe5aa1d50025c75
2015-10-07clang-analyzer-deadcode.DeadStoresStephan Bergmann1-2/+2
Change-Id: I19650204f707c822f9f16a04e1bd1cd8e85a5c67
2015-10-07Pull assignment out of switch conditionStephan Bergmann1-2/+4
Change-Id: I0a2d6488dcccfb643cb3fce542d013e3f981e657
2015-10-07loplugin:mergeclassesNoel Grandin1-29/+20
Change-Id: I52446e517c2315516ea74a30767393ff32960799
2015-10-06loplugin:unusedmethodsNoel Grandin4-125/+0
Change-Id: I150baadc442e57ee604563bc52965daa9d2e41af
2015-10-06loplugin:mergeclassesNoel Grandin1-29/+15
Change-Id: I7c8c60aab31517d595a7e37c3789fa1e515ec3ee
2015-10-05Temporary remember password even if persistent password storing is disabledSzymon Kłos1-1/+1
Change-Id: I2ca98889b2c31c40a84348a55d85750f7c031a92