summaryrefslogtreecommitdiffstats
path: root/vcl
Commit message (Collapse)AuthorAgeFilesLines
* remove redundant iterator increment - thanks Fridrich.Michael Meeks2013-03-271-1/+0
| | | | Change-Id: I345eb51cfb2ad3043ac1659bc971efeb7a5350a0
* fdo#62094 - fix infinite loop in radio button group iteration.Michael Meeks2013-03-271-36/+11
| | | | | | | Simplify the code too - we copy the vector anyway, so reversing it should be cheap. Change-Id: Ie655ba3044c7e0dd5a15b0e839a3712a32a1e298
* -Werror=unused-macrosStephan Bergmann2013-03-273-4/+6
| | | | Change-Id: Ifaf464b6a0ff7f365ddb2d123de9976fd90fdf21
* WaE: macro is not usedTor Lillqvist2013-03-272-0/+4
| | | | Change-Id: I1a063d7ffa1ab051fe4c3d57f4c8c33d4cd3fe87
* Use <config_features.h> instead of -DLIBO_FEATURE_*Tor Lillqvist2013-03-272-2/+5
| | | | Change-Id: Idc198beb6d759dbe3bad6ea58d896c1555b4cc0f
* -Wunused-macrosStephan Bergmann2013-03-2719-258/+7
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* Unused Region macro definitionsStephan Bergmann2013-03-272-6/+0
| | | | | | | | | | In other files in vcl/unx/kde4/, those defines are apparently needed to resolve a clash between class Region from vcl/region.hxx and typedef Region from /usr/include/QtGui/qwindowdefs.h. But in these two files those two clashing headers appear not to be included both, so the define would be flagged by -Wunused-macros. Change-Id: Ib5bb62867dd3b3ea4c0a9f4b461efcecd92bc4b7
* _USE_MATH_DEFINES is already taken care of by sal/config.hStephan Bergmann2013-03-272-2/+3
| | | | Change-Id: Ib0dab05534c34eb407f3acee3b4a3638a36bdddc
* Need <vcl/syswin.hxx> for WINDOWSTATE_*Tor Lillqvist2013-03-271-0/+1
| | | | Change-Id: Ic4f729554d92652f38d783bb237448e8469e6faf
* kill some unused inlinesThomas Arnhold2013-03-271-8/+0
| | | | Change-Id: I17160b264b547067c694dd268eb0d3bd1086565d
* Bypass X11-specific fields for AndroidTor Lillqvist2013-03-273-6/+17
| | | | Change-Id: Ic8bfd4467b2fbcdcfa2caeb04d4ebe95f13863a2
* Need <vcl/sysdata.hxx> here nowTor Lillqvist2013-03-271-0/+1
| | | | Change-Id: I8287f55e283676fb3dc83e7c1f4200e6a3c78f45
* Bypass fields that are meaningless for iOSTor Lillqvist2013-03-273-5/+18
| | | | Change-Id: I66acafc1f7302242a2a43271b909bba331062bce
* Move two text-related functions to svptext.cxxTor Lillqvist2013-03-272-30/+20
| | | | Change-Id: I6c45d44fd38d9fde8cad7f712973f11bde51675a
* No need for two sets of names for the same exttextinput flag bitsTor Lillqvist2013-03-276-45/+28
| | | | Change-Id: Ic5756d75bc86795a7add95694aef6fc9d1f6b9fa
* fdo#39468 Translate German comments - vcl/source/control/Christian M. Heller2013-03-265-47/+41
| | | | | | | | | | | | | | | | | FYI: there is some code duplication noticeable between slider and scrbar Conflicts: vcl/source/control/longcurr.cxx vcl/source/control/lstbox.cxx vcl/source/control/menubtn.cxx vcl/source/control/morebtn.cxx vcl/source/control/prgsbar.cxx vcl/source/control/scrbar.cxx Change-Id: I736cf155e252293ed571cd44a6a395b15c4bf576 Reviewed-on: https://gerrit.libreoffice.org/2966 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* No need for two sets of names for the same frame/window state bitsTor Lillqvist2013-03-279-130/+113
| | | | | | | Bin the SAL_FRAMESTATE_* defines which as the comment said had to be the same as the WINDOWSTATE_*] in syswin.hxx. Change-Id: I42fcd91db543821f007038e558872ba8f69e4a78
* OPT_FILTERSECTION is unusedTor Lillqvist2013-03-271-2/+0
| | | | Change-Id: I251eeb98d880f04a5e4ef5829c01799b10db253b
* fixed out of bounds substring accessEike Rathke2013-03-261-1/+3
| | | | | | assuming is not good enough ... Change-Id: Icd4f090fe94797ecf7e968855df3bb62609037c1
* Translate German comments, fix some wsPhilipp Weissenbacher2013-03-2611-522/+49
| | | | | | | Change-Id: Ic7cf80655e6520f09a0b63b7839e46ad50de8fb1 Reviewed-on: https://gerrit.libreoffice.org/3063 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove external include guardsThomas Arnhold2013-03-252-6/+0
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* fixed some 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 brokennessEike Rathke2013-03-261-2/+2
| | | | | | | | 7d1f4cdec307bb1e761bb5dd3d8231bba5833e10 changed some String to OUString and replaced Search...() with indexOf() but still compared the result against STRING_NOTFOUND instead of the -1 required now. Change-Id: I94ecdd1741554d8ac401f9cc2ffe8456e3184394
* Use an 8bpp virtual device (instead of a 1bpp one) in sw and sc for iOSTor Lillqvist2013-03-262-7/+27
| | | | | | | | | The reason why a 1bpp virtual device is used in these two places in sc and sw is unclear to me. It causes complications on iOS as such a bitmap gets passed to CGBitmapContextCreate() which does not accept 1bpp bitmaps. But let's keep the 1bpp for other platforms. Change-Id: Ia34927cf728d4be05a31e88b7da78200d0b799ba
* rCGContext is not used for iOSTor Lillqvist2013-03-261-2/+4
| | | | Change-Id: If853edc8cd15bc61f0bc9d421799ad290a87d298
* Ifdef out methods for iOS that are actually in coretext/salgdi.cxxTor Lillqvist2013-03-261-4/+8
| | | | | | | | | | | | A bit scary that the linker didn't notice the duplicate symbols, but instead apparently just picked the first (or an arbitrary) one. Need to look into that. Anyway, now when the correct SetTextColor is linked in the coloured text in the demo document shows up in all its glory. The code that is partially shared between the headless, OS X CoreText and iOS backends should to be refactored a bit, I guess. Change-Id: Id341298f72dc253380d9b2319032e0a9a8bdd0f6
* Remove unnecessary code that was based on a wrong guessTor Lillqvist2013-03-261-17/+0
| | | | Change-Id: Ia3e12d68c0eef56ba32b2c6062448874a52a8df3
* Improve the blitting, use memcpy for each rowTor Lillqvist2013-03-261-8/+8
| | | | Change-Id: Idfc5efe8b2326748670fec82a7780f81b243dbc8
* Add a SAL_INFO()Tor Lillqvist2013-03-261-0/+1
| | | | Change-Id: Ieb3ff50a13172fa2c51173697b80ff5a71fbe244
* Release style and CGContext resources in dtorTor Lillqvist2013-03-261-0/+12
| | | | Change-Id: I40fa43aaccda42e276f729cb7948101482c6ce5c
* Handle different basebmp scanline formats and flip vertically when neededTor Lillqvist2013-03-261-4/+30
| | | | Change-Id: Ic0fd7d60ddc66bcd5577988b3a4e5b2185d3ec1f
* Introduce temporary lo_set_view_size() hack like on Android and call itTor Lillqvist2013-03-261-0/+8
| | | | Change-Id: I44df0946f59d1b9a2a6ea935b3c2ea3c96c1260d
* Don't exit intentionallyTor Lillqvist2013-03-261-10/+5
| | | | Change-Id: I1d4c7dbc8ed9254e92d097454704c811ba1532f1
* Try kCGImageAlphaNoneSkipLastTor Lillqvist2013-03-261-1/+1
| | | | Change-Id: I127f450ae7c52f25033a6dbc34029545ea5ed07b
* Improve debugging printout a bitTor Lillqvist2013-03-261-7/+7
| | | | Change-Id: I1acc1b3f1e9d2cdcbba058b050f278e396f115c6
* Move SAL_WARN_IFTor Lillqvist2013-03-261-2/+2
| | | | Change-Id: If543e44a1f4aa08a38bf273a3e50a7cd7d57e84d
* Check feature test macros instead of ANDROID and/or IOSTor Lillqvist2013-03-262-2/+2
| | | | | | | | | | | | | | | Pass -DLIBO_FEATURE_FOO to compiler for some elements in BUILD_TYPE. BUILD_TYPE has at least two kinds of elements: Those that indicate building a bundled copy of some 3rd-party library, and those that indicate some specific feature of the LibreOffice platform or build-time configuration choice. This is for the latter kind. Change many of the checks for Android and/or iOS in the source code to check LIBO_FEATURE_DESKTOP, LIBO_FEATURE_HELP or DISABLE_EXTENSIONS instead, in cases where that is what is meant, not Android or iOS specifically. Change-Id: I2cd3f3bb99e953c7754dcea76a426f8f9d61e4db
* Initial hack attempt to get something renderedTor Lillqvist2013-03-261-0/+6
| | | | Change-Id: I13a407331184f08fd39095b7486d0a370d91ed93
* Translate German comments, clean up some WSPhilipp Weissenbacher2013-03-2614-439/+125
| | | | | | | Change-Id: I1a6a99bb8efe8c3d10973c255040fbbf0f76f27d Reviewed-on: https://gerrit.libreoffice.org/3057 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* Kill double conversion from NumericBoxZolnai Tamás2013-03-262-37/+45
| | | | | | | Change-Id: Id1161c40725f75ea0d7ec3f15a19ca14defd0a75 Reviewed-on: https://gerrit.libreoffice.org/3035 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* (author=pl) fix for transporting OOo types through OSX system clipboardHerbert Dürr2013-03-262-6/+58
| | | | Change-Id: Idc00fbc8ac1adb04c76ecb4b641cfa055f5901b8
* Use OUString and sal_Int32 in GetTextArray() and ImplLayout()Chr. Rossmanith2013-03-262-41/+26
| | | | | | | | 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>
* Use OUString and sal_Int32 in ImplPrepareLayoutArgs() and GetTextIsRTL()Chr. Rossmanith2013-03-262-25/+29
| | | | | | | | 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>
* Use OUString and sal_Int32 in filterText()Chr. Rossmanith2013-03-265-17/+20
| | | | | | | | | 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>
* Replace String with OUString in RecodeStringChr. Rossmanith2013-03-261-2/+5
| | | | | | | | 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>
* and remove the include again...Michael Meeks2013-03-251-2/+0
|
* remove an fprintf I left in in error.Michael Meeks2013-03-251-2/+0
|
* Fix error: use of undeclared identifier 'stderr'Tor Lillqvist2013-03-251-0/+2
| | | | Change-Id: Ie21b40f79882bdcf93e67b83dd8e97e72b69ea00
* vcl: fix typoMichael Stahl2013-03-251-1/+1
| | | | Change-Id: I606be5f7eea9290ac647b0369fcd3c279e9594d0
* fdo#61789 - improve SvtGraphicStroke / metafile scalingMichael Meeks2013-03-253-4/+18
|
* Remove a FIXME commentTor Lillqvist2013-03-251-1/+1
| | | | Change-Id: I13127dadcdfeff3d99df819393f6298ac0cb11bc