summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2013-03-26(author=pl) fix for transporting OOo types through OSX system clipboardHerbert Dürr
Change-Id: Idc00fbc8ac1adb04c76ecb4b641cfa055f5901b8
2013-03-26Use OUString and sal_Int32 in GetTextArray() and ImplLayout()Chr. Rossmanith
Change-Id: I2c1e5b7d53c0d78f2ccf9ac317a7ff40298cd68d Reviewed-on: https://gerrit.libreoffice.org/2967 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-26Use OUString and sal_Int32 in ImplPrepareLayoutArgs() and GetTextIsRTL()Chr. Rossmanith
Change-Id: Ib1b659aa56a38efdfc2dddb5e362ac1eb54972f1 Reviewed-on: https://gerrit.libreoffice.org/2959 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-26Use OUString and sal_Int32 in filterText()Chr. Rossmanith
Change-Id: I31437125b51b07be490de3d979e193fad9750f51 Reviewed-on: https://gerrit.libreoffice.org/2956 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-26Replace String with OUString in RecodeStringChr. Rossmanith
Change-Id: I987f738d1cd7d640a253f3cd31864290b6d763bf Reviewed-on: https://gerrit.libreoffice.org/2919 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-25and remove the include again...Michael Meeks
2013-03-25remove an fprintf I left in in error.Michael Meeks
2013-03-25Fix error: use of undeclared identifier 'stderr'Tor Lillqvist
Change-Id: Ie21b40f79882bdcf93e67b83dd8e97e72b69ea00
2013-03-25vcl: fix typoMichael Stahl
Change-Id: I606be5f7eea9290ac647b0369fcd3c279e9594d0
2013-03-25fdo#61789 - improve SvtGraphicStroke / metafile scalingMichael Meeks
2013-03-25Remove a FIXME commentTor Lillqvist
Change-Id: I13127dadcdfeff3d99df819393f6298ac0cb11bc
2013-03-25Translate German comments, fix some whitespacePhilipp Weissenbacher
Change-Id: I44eba784d51522b67826051d20ba8939f195dccb Reviewed-on: https://gerrit.libreoffice.org/2916 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann
...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-25deleting NULL is safeTakeshi Abe
Change-Id: I3748d0034b2c8e9d9122ad2a9001763eb1265e1d
2013-03-25remove unused member maHelpFile and its getter/settermhofmann
Change-Id: I97b53be0a6110c6ca736de657cba48baa0445a12 Reviewed-on: https://gerrit.libreoffice.org/2965 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-23fdo#39468 Translate German comments - vcl/win/source/gdi/Christian M. Heller
Change-Id: I273bab015f96128ab5128ade3b8e0c69b0ef730e Reviewed-on: https://gerrit.libreoffice.org/2937 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-23fdo#39468 Translate German Comments - salframe.cxxChristian M. Heller
Change-Id: I0a5655ac1b1b4feca0b3a5ed3d4c37a63bce6c5a Reviewed-on: https://gerrit.libreoffice.org/2931 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-23Fix dbglevel=2 buildThorsten Behrens
Change-Id: Ib3b7892225a9488c220133f05f127d746f7be461
2013-03-23fdo#39468 Translate German comments - vcl/win/source/appChristian M. Heller
Change-Id: I5bd5851f763a392cad658d206d23ea055456fce2 Reviewed-on: https://gerrit.libreoffice.org/2938 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-23Fix wrong copy paste, should be UNDERLINE_DASHDOT and not UNDERLINE_DOTTEDJulien Nabet
Change-Id: I807d88631cf35e51cd034a62eed1d4230c75d1be
2013-03-23General comment cleanup for demo/test vcl appsChris Sherlock
Remove unnecessary commented out code, remove comment "spacer" lines, in general tidy up this code to make it easier to read. Change-Id: I37a19177795aa93d63f736e1933924605fbf2146 Reviewed-on: https://gerrit.libreoffice.org/2921 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
2013-03-23Remove commented code in VCL demo app - should make the example clearer.Chris
Change-Id: I2e56c580b30435731b3b8dc716abae19c8673acf Reviewed-on: https://gerrit.libreoffice.org/2920 Reviewed-by: Kohei Yoshida <kohei.yoshida@gmail.com> Tested-by: Kohei Yoshida <kohei.yoshida@gmail.com>
2013-03-22coverity#440825 Logically dead codeJulien Nabet
The other one was in fact 440826 Change-Id: I0163892e651a8080873985d2c58eea97d65ff678
2013-03-22coverity#440825 Logically dead codeJulien Nabet
Change-Id: If16f1815d7ce7638d51d62243ccea787f1043efb
2013-03-22blind try to fix MacOs buildingJulien Nabet
Change-Id: Ia6dac95a754c61a8f98120af1a703bd27d3be95c
2013-03-22clean up DBG_ERRORnThomas Arnhold
Those were DBG_ERRORn before and were falsely changed to OSL_TRACE by me. See: 1707a350af8a0909ae88c2b11deb714f8b2a93ff 533f89e49395bbc31baaab9ade46db934b383e14 Change-Id: I4f4188ba25b988128a539542f49797ea6985702e Reviewed-on: https://gerrit.libreoffice.org/2900 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-22get rid of two-argument compareToAsciiChristian Lohmaier
As I don't see a point in comparing a mimetype with only a substring, it probably could be a simple compareToAscii, but play it save and use startsWith. Change-Id: Ic33c8089283def615999ddf80cd12f6fe219ed17 Reviewed-on: https://gerrit.libreoffice.org/2907 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-22Don't include Java-related headers when they aren't neededTor Lillqvist
Change-Id: Ia971f98c904b69ce126a03d4737833b8e9e57369
2013-03-22fdo#61847 - add test file of png image with invalid final chunk length.Michael Meeks
Change-Id: Ie031f3442abcce053ed5f0a5cf74993219485029
2013-03-21Avoid clash with the Win32 CreateBitmap()Tor Lillqvist
On x64 Windows there is no name mangling for Win32 API calls, so a plain extern "C" CreateBitmap() function clashes. Change-Id: I39ca92c259f660f00952ec0a8065bae1e747cffb
2013-03-21vcl: use OSL_BIGENDIANThomas Arnhold
Change-Id: Ifdf54d30cca94d0d65d78f94d5fac31edf8c6df2
2013-03-21Re-work the vcl aspects of the iOS portTor Lillqvist
Don't try to use similar code as for OS X to manage windows, events etc. I.e. don't use UIKit in vcl to do that. Instead, just do as in the Android port, use the "headless" vcl backend. Do keep using CoreText, though, not FreeType & fontconfig. Start changing the iOS "Viewer" app to correspond to the Android "desktop" app (so it should be renamed). Work in progress since a long time, several crucial details still missing, but committing for now. Change-Id: Iac5fbf8def415e4d0d21e5200450a373420ad7ee
2013-03-21avoid Wundef / fix endian detectionLuboš Luňák
2013-03-21Fix force-choosing gtk3 backend.Thorsten Behrens
Extra parameter got lost in refactoring, if we set envvar, we *do* want to try that backend. Change-Id: Ib530a3a6b3e6ee33aab729ce7cd1f93e209d4513
2013-03-21Remove StringMirror UNO service.Thorsten Behrens
This was a kludge from back in the day when pdfimport was an extension and could not link against office libs. While at it, fix mirror method to handle unicode surrogates correctly. Change-Id: I3582a7870efdfea50446d3604a185025b1d5a196
2013-03-20Improve previous __BIG_ENDIAN__ fixStephan Bergmann
Change-Id: Ic7ca080e00d94f93306f65ba17ffc23dd4d746e7
2013-03-20-Werror,-WundefStephan Bergmann
Change-Id: I197fcafa3d39e5ec312d7e0c56b076a479391a73
2013-03-20fdo#39468 German comments in vcl/unx/generic/...Christian M. Heller
Change-Id: I869f5ac346b378ee63832e01ce099f366b7c184f Reviewed-on: https://gerrit.libreoffice.org/2865 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-19SetSalColor() and GetSalColor() are unusedTor Lillqvist
Change-Id: I1d33abe2e2ccb6d62895da70da89fbbaa0c3b426
2013-03-19Fix previous fixStephan Bergmann
Change-Id: Ia0739c4c45cb9f1d7474c08657a17b68ec5ef45a
2013-03-19Fix broken automatic search/replace resultsStephan Bergmann
Change-Id: Ic6985d2cf9d884763aaffc17361243b99b23ba17
2013-03-19handle the empty URL case in file pickerGergő Mocsi
Some extensions in the wild, for example Impress Photo Album Creator, manage to call the file picker dialog with an empty URL. The resulting error message is not very helpful: "Operation not supported" dialog. Therefore we assign a default URL when empty URL is passed. Change-Id: Icf71142411a79e1fe2d1d5918d2a400b174acc00 Reviewed-on: https://gerrit.libreoffice.org/2390 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19trailing whitespacesThomas Arnhold
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
2013-03-19Fix single core build when TDE integration is enabledTimothy Pearson
Change-Id: I15d537a8ea7d3a42c9a1924dd81e83ba9b4aa421 Reviewed-on: https://gerrit.libreoffice.org/2830 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-18Cppcheck: Variables reassigned before the old one has been useJulien Nabet
See http://nabble.documentfoundation.org/cppcheck-Variables-reassigned-before-the-old-one-has-been-used-vcl-kde4-part-td4044235.html Change-Id: I9ce272c4116395a95a09e5633acfeaa5b1edbe12