summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2014-09-19loplugin:saloverrideStephan Bergmann2-22/+22
Change-Id: I82f052cd62ea1561c3f77231cd285901ff1d6a80
2014-09-18fdo#82577: Handle FontNoel Grandin2-3/+3
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-17Use SAL_INFOStephan Bergmann1-4/+1
Change-Id: Ie84aa24fc7b2d58dbb4f22ef063dfd055f32ae85
2014-09-16Rename LO-specific uno ini-file (Linux: program/unorc) to "louno"Stephan Bergmann1-1/+1
...to avoid confusion with the URE uno ini-file (Linux: ure/lib/unorc). It might even work to get rid of the louno ini-file altogether and fold its contents into the fundamental ini-file, but at least desktop/source/deployment/misc/dp_misc.cxx accesses the louno ini-file directly, so would need some inspection to avoid potential regressions. Change-Id: Ib49bbc4c814d677c22e68d2dd0f11af6d8423bb6
2014-09-12desktop: sal_Bool -> boolStephan Bergmann8-15/+15
Change-Id: Ib9ca807c8fc27eda6d584a5b4696887dd044410c
2014-09-12Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann1-1/+1
...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-10fdo#55380 replaced use of obsolete interfacesDaniel Sikeler1-8/+8
Change-Id: I94fed6a9361f21457b3e631efffc0db833068aef Reviewed-on: https://gerrit.libreoffice.org/11256 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-09-07microoptimisation: no need to compute string length to test emptinessLionel Elie Mamane1-1/+1
Change-Id: If5093bca0e16e0f631c8cd1a7f4dde8bbf7da077
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin1-2/+3
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-06Make OOO_EXIT_POST_STARTUP behave more nicely when blankMatthew J. Francis1-1/+2
Change-Id: I28bc8027908225d78c9543f3813d3bfe3818451d Reviewed-on: https://gerrit.libreoffice.org/11264 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-05coverity#706495 Uncaught exceptionCaolán McNamara1-5/+12
Change-Id: I36a48a72e9ce305c62d9a82c8d1fbfc2ad403068
2014-09-05coverity#983652 Uncaught exceptionCaolán McNamara3-4/+14
Change-Id: I72f298c5cd0476d6e0cbf3ffaf5fdf5cd143a21c
2014-09-05coverity#706497 Uncaught exceptionCaolán McNamara1-2/+12
Change-Id: I6c2acde8c47f6f2c0b65b228737950a1d8972f8a
2014-09-05coverity#706498 Uncaught exceptionCaolán McNamara1-3/+14
Change-Id: I99a5ccd930d231324b5a35fedd70320e02e358af
2014-09-02coverity#706501 Uncaught exceptionCaolán McNamara3-8/+8
Change-Id: Ic5d95b87428284113f543427b417453dd361b354
2014-08-29Linux AArch64 portStephan Bergmann1-1/+3
Change-Id: I37044a37348b203944a8eb9d2204e619055f069d
2014-08-28Fix some *_component_getFactory function typesStephan Bergmann1-3/+3
Change-Id: I912f9d1454c049419e9ead6f0ff8d7fa7d8cd6c5
2014-08-25convert RID_WARNINGBOX_* to MessageDialog + stringCaolán McNamara6-83/+56
Change-Id: Ic6031faa475e22ee23a6c8888987127b3caf92de
2014-08-25convert RID_QUERYBOX_INSTALL_FOR_ALL with custom buttons to .uiCaolán McNamara6-38/+87
Change-Id: If7ac491cb6f256af22b48f681590adb1484350d0
2014-08-25QueryBox QBX_USERDATALOCKED -> MessageDialog + stringCaolán McNamara3-10/+8
Change-Id: If9256bc2ea23a31a902590ca5379abbaec80f080
2014-08-25set names on a bunch more threads...Michael Stahl1-0/+2
Change-Id: I4c2f2f0bcce52839033876ec991529721e06a3c8
2014-08-25everything is independent from vos these days...Michael Stahl1-4/+2
Change-Id: Iccb94dcc31d6de8c9e4e7a31b3c2e36d4198b295
2014-08-25Avoid possible memory leaks in case of exceptionsTakeshi Abe1-3/+2
Change-Id: Icc073be041ae0b0c690e869a0edaff3515d1d601
2014-08-23fdo#82577: Handle KeyCodeTor Lillqvist2-6/+6
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11 KeyCode typedef. Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-22Base the convert-to detection on the actual serviceMaxim Monastirsky1-34/+14
There is no need to run a type detection on the input file (for a second time!), just to get the document service. This also simplifies the conversion of some generic formats like HTML and RTF, using Calc export filters. Previously setting both input and output filters was required. Now it's enough to set the input filter, or simply use --calc. Change-Id: I825e0fe3e7368d6649acb434b13de53a4523064a
2014-08-22Better to use an instance with a doc service specifiedMaxim Monastirsky1-1/+1
...to avoid detection of filter from other services, and to additionally check for filters other than the preferred by the type (see SfxFilterMatcher::GetFilterForProps). Change-Id: I64609b32f6aac7553b4b6b96db88acfcad0ce000
2014-08-21queryTypeByURL returns type name not filter nameMaxim Monastirsky1-3/+3
Change-Id: Iad8f2b718af0c947d151f4bbfdcb575440396ff2
2014-08-21Related: rhbz#1125588 first steps for ppc64leCaolán McNamara1-0/+3
almost certainly won't get us too far, but a start Change-Id: Ic20b97a97b6d506c32322173bd8332d15c3a4555
2014-08-20add a VclViewportCaolán McNamara2-2/+7
like GtkViewport so that the scrolled region will be clipped, which also has the side-effect of stopping glade clobbering the non view-port scrolled .ui files on editing Change-Id: Ic64174b3a35b77f068e0085cdc7721aeb33f1d82
2014-08-20java: don't catch and then just rethrow an exceptionNoel Grandin1-2/+0
without doing anything else useful Change-Id: I5803d84d46e0a70e1759f2202e2c2273087f8723
2014-08-19fix for PtylTestEncryptionAndExport (on sofficemain.cxx)Ptyl Dragon1-1/+4
Change-Id: I2857dae2df3b3e7e89b5bd56b35a4b8f3868920e
2014-08-18ErrorBox->MessageDialogCaolán McNamara3-9/+11
Change-Id: I57d4e43460e40d3aff54873280eddbb18c12446b
2014-08-18document the swap-on-free idiom usageNoel Grandin1-1/+1
Effective C++, item 17 Change-Id: I5c6f20c9631f1ca86b481a56ef08d578a7addbad
2014-08-18remove unused WarningBoxesThomas Arnhold2-6/+0
Change-Id: I07c457a49646703af5d13f83ba033340309ee655
2014-08-18WARNINGBOX -> WarningBoxThomas Arnhold1-3/+3
Change-Id: Id39add923b94bcf43e64ffbf4940625efe4d35a0
2014-08-16try that ErrorBox removal againCaolán McNamara3-10/+8
Change-Id: I1d2f24def771651d36f06432c20e80429379c9fe
2014-08-16Revert "ErrorBox EBX_ERR_PRINTDISABLED to String"Markus Mohrhard3-6/+8
This reverts commit 90aecb31139a6743fd00c87585a82406e7d9f075.
2014-08-15ErrorBox EBX_ERR_PRINTDISABLED to StringThomas Arnhold3-8/+6
Change-Id: I7f59091a595a8e8a832b779da56bb53de810f22b
2014-08-15fdo#70625 Add --cat parameter to make git diffs prettydeenafrancis8-12/+74
Change-Id: I309ca3e718a11ca97991686c229c79ab20e8c3d9 Reviewed-on: https://gerrit.libreoffice.org/10623 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2014-08-15Don't do the annoying restart thing when sandboxed on OS X, ignore risks...Tor Lillqvist2-1/+6
So far we have just displayed a hugely annoying dialog "sorry, but we suck, you need to start LibreOffice again". But that sucks. So just try to do without restart then, and let's see what happens. At least in trivial testing, no crash. Change-Id: I475fe49a0fdb8086bb33a165a08b32ac46548857
2014-08-13Add code to test encryption and export to .docx on iOSTor Lillqvist1-0/+32
Conditional on the environment variable PTYL_TEST_ENCRYPTION_AND_EXPORT, eek. The document is written out using the name of the input document with .new.docx appended. I placed the function that handles it, somewhat arbitrarily, in sofficemain.cxx. The invocation of this function is, also somewhat arbitrarily, placed in TiledView's drawLayer:inContext: method. Quite possibly this test functionality occasionally causes solar mutex deadlocks or whatever, but at least in Xcode, when one has placed some breakpoints in it, it seems to work. Which is what matters, as this is code for manual testing, not invoked normally. Change-Id: I38bb4b406edf47f0f24857b6044e3bf4eaf17c34
2014-08-13warning C4706: assignment within conditional expressionThomas Arnhold1-3/+1
Change-Id: I888a06feebc55a0caee8d3333fe26c22b22ce620
2014-08-13update_pchThomas Arnhold1-0/+6
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-08-13reduce code duplication in LOK init.cxxTomaž Vajngerl1-20/+19
Change-Id: I65335a2d0fb6e1ff46e3302463fbcf396fbea215
2014-08-11fdo#38511 improve guess of output filter for --convert-toDavid Tardon1-1/+74
Change-Id: I0479fb29fcc85f47065b1ef497216982eeae4d12
2014-08-11nDont = SFX_FILTER_NOTINSTALLED looks more reasonableDavid Tardon1-2/+2
Change-Id: Ic23abcfe5cdec9c8f2442cf778b365ea42b8e553
2014-08-10LOKit android: add support for setPartMode and getPartNameTomaž Vajngerl1-0/+16
Change-Id: Idd8bd4d4b148e88c7badd06fefb7cfcfc24ec9ea
2014-08-09remove RID_DLG_DEPENDENCIES resourcesThomas Arnhold3-72/+0
unused since 8c0bd0deee50a5f54926afe87d849411757c2f18 Change-Id: If720d7022e291db870fd196cf2ea0a3bc44f3ad2
2014-08-08java: remove unused importsNoel Grandin1-1/+0
Change-Id: Idbba5bb89bee4d88ed0306d5151e238a1bc19cec
2014-08-08java: remove unused fieldsNoel Grandin1-3/+0
Change-Id: I25fef9590a34ec8d9aab182b3d267ae3cd649a87