summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2013-03-19SetSalColor() and GetSalColor() are unusedTor Lillqvist7-128/+0
Change-Id: I1d33abe2e2ccb6d62895da70da89fbbaa0c3b426
2013-03-19Fix previous fixStephan Bergmann1-1/+1
Change-Id: Ia0739c4c45cb9f1d7474c08657a17b68ec5ef45a
2013-03-19Fix broken automatic search/replace resultsStephan Bergmann1-1/+1
Change-Id: Ic6985d2cf9d884763aaffc17361243b99b23ba17
2013-03-19handle the empty URL case in file pickerGergő Mocsi2-0/+6
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 Arnhold4-5/+5
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold10-31/+31
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 Bergmann2-2/+2
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold27-122/+120
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 Arnhold1-1/+1
Change-Id: I3d0e2015e4c9f0ea6118fd92892022607fe4bde6
2013-03-19Fix single core build when TDE integration is enabledTimothy Pearson1-0/+4
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 Nabet1-5/+2
See http://nabble.documentfoundation.org/cppcheck-Variables-reassigned-before-the-old-one-has-been-used-vcl-kde4-part-td4044235.html Change-Id: I9ce272c4116395a95a09e5633acfeaa5b1edbe12
2013-03-18IsPrinterGraphics() and IsVirDevGraphics() were unused.Tor Lillqvist2-4/+0
Change-Id: If5d7bb5c777d3247e3e1a4d39ae1a8f8ba6f4cd8
2013-03-18Improve indentation and alignment consistencyTor Lillqvist4-45/+46
SCNR. Change-Id: I11bcd451eae74ec5eb20e4baa96d308f9eacf01c
2013-03-18Bin pointless __cplusplus ifdefsTor Lillqvist2-26/+0
Change-Id: I82974eb68e6daf1c6781e2133fd22d7e4e62de82
2013-03-18avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák1-1/+1
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
2013-03-18change #ifdef -> #if for KDE4 feature macrosLuboš Luňák1-10/+14
Change-Id: I289744eaa62ad819620f0b31a54efd5ebbdb9dc2
2013-03-18coverity#982272 Copy-paste errorJulien Nabet1-1/+1
Change-Id: Iac5de5ea434e843c4bbf27763f16751d75e798ec Reviewed-on: https://gerrit.libreoffice.org/2806 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-03-18Reuse ImplPower10()Chr. Rossmanith1-19/+5
Change-Id: I0a86e43065689d2478ced4804ab083244d8d35f5 Reviewed-on: https://gerrit.libreoffice.org/2774 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-18Improve indentation consistencyTor Lillqvist7-277/+299
Change-Id: I27a692be8d1c3aa10bdf46883fd502491aff4674
2013-03-18Don't do any own auto-cleanup of aurorelease pools on iOS when a thread endsTor Lillqvist1-21/+1
According to documentation, the system does it automatically. Testing seemed to confirm that, with the code still in I got mysterious crashes. Not sure if the corresponding code is unnecessary or wrong on OS X, too. Change-Id: I14e9f5bcc0376e9235f8d36b484b38c1e44932c4
2013-03-18Factor out the CoreText source filesTor Lillqvist1-8/+8
Change-Id: I5c91058af2f6da287bff050a358f446b653c800a
2013-03-18Bypass X11-specific code if not on X11Tor Lillqvist2-4/+8
Change-Id: I6452191b11b197b0f90ae6638019d3bc6db67ad7
2013-03-18SalData::drainThreadAutoreleasePool() is unusedTor Lillqvist4-51/+0
Change-Id: Idbb98b32ffc5970e236c9d319e0e8791b855e283
2013-03-17AndroidSalInstance::RedrawWindows() is called from only one placeTor Lillqvist2-23/+5
No need to take a parameter for which NULL is always passed, and related simplifications. Change-Id: I89bab2904fdae3520987d0f67e55b2649bf225d3
2013-03-17onAppCmd() and onInputEvent() don't exist any moreTor Lillqvist1-3/+0
They were used in the NativeActivity-based coding. Change-Id: Id393026783c989f05d90ad79cc4e8f5e8cd0174e
2013-03-16Bin more pointless comments and ASCII graphicsTor Lillqvist35-2019/+4
Suggested Easy Hack: Replace all instances of // -------- comments including surrounding newlines with a single newline. Another Easy Hack, slightly harder to automate: Remove all the pointless comments that just tell the class name right before the declaration of that class. Change-Id: Ia890ed613b53c5d719988697e20a983d62334123
2013-03-16Bin some pointless comments and ASCII graphicsTor Lillqvist37-482/+10
Change-Id: Ib7b176eb1889ebd94d4b628899011de9ebbb3dbd
2013-03-16Get rid of a few pointless commentsTor Lillqvist3-28/+1
No need to refer to some source files in a few random places in headers, using ancient UPPER-CASE file names even. Change-Id: Ia0827be34046f25fd769466c41dab017b4935a37
2013-03-16mnSystemVersion not usedTor Lillqvist2-6/+0
Change-Id: Ief800f1228bca327fd8d77a78fa332639f5d5f69
2013-03-16Revert "fdo#61725 workaround"Lionel Elie Mamane1-1/+1
This reverts commit 04651da19cbd755c2d9a7d399781433c05f9cb97. Change-Id: Icd78c2305b127d42a43bd7995d0952617e06db99
2013-03-16fdo#61725 workaroundLionel Elie Mamane1-1/+1
Change-Id: I7d25f293020f366b20ddb9cade1854013857bed2
2013-03-16Fix buildFridrich Štrba1-0/+1
Change-Id: I7e0b7be9da04ff6055075b5c046f02c967bf59f2
2013-03-15Resolves: #i119125# various actions implemented, clipping added.Armin Le Grand3-7/+5
Esp hard was ImpSdrGDIMetaFileImport, but working now. Needed to hand-craft alpha addition for alpha in Metafile content and gradient of action. Also added better BitmapEx creation for convert to bitmap for draw objects. Conflicts: svx/source/svdraw/svdxcgv.cxx vcl/source/gdi/impgraph.cxx Change-Id: Ic6ac9fb3132dd122e16a5cd8f9c5ddd155ec9882
2013-03-15Related: #i119125# Added MetaFloatTransparentAction handling...Armin Le Grand3-13/+33
...using primitive renderer Conflicts: svx/source/svdraw/svdedtv2.cxx svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdograf.cxx Change-Id: I2223f86a63be80ecae91af0a6987ac587f07bc30
2013-03-15Related: rhbz#906137 g_module_symbol returned nothingCaolán McNamara1-6/+2
for gdk_screen_get_primary_monitor but osl_getAsciiFunctionSymbol does the right thing Change-Id: Ibf1a17724a9393d95c4fbe0d26aa82148eea33a9
2013-03-15Resolves: rhbz#906137 slide show inverts outputsCaolán McNamara1-4/+4
we go to some effort to determine the right value of ret and then throw it away and return 0 regression since 4a7e3482912c90b73d6e12c82bcd9ce31975e3f1 Change-Id: I652cfbe44fdab6560c1c8dc8fe25d6211b5357cb
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-4/+0
2013-03-14vcl: fix WNT only debug code OUStringsMichael Stahl1-1/+2
Change-Id: Ie864629499806d798ce4a4525c385bf1617b0160
2013-03-14Missing WNT --enable-debug String -> OUString conversion partsStephan Bergmann2-2/+2
Change-Id: Ica20eacd95538fe37d08bf76c7b5a6717a7e8422
2013-03-14tests cases for EDB-24743Caolán McNamara4-0/+0
Change-Id: Iac75be70adbf611980605ef599d1c9ea9772eb2d
2013-03-14stray test .png left behindCaolán McNamara1-0/+1
Change-Id: If0a0d61b58ecc46d5ba04951cd278d275fdf25e7
2013-03-14restore incrementing time fields by area cursor is inCaolán McNamara1-6/+13
regression from String->OUString conversion with tricky unsigned xub_StrLen of 0xFFFF for not-found > any found position, vs -1 for OUString for not-found Change-Id: I4a2babae085916a86cd1e60b74b4ea839dd8b87a
2013-03-14Remove some accidental merge by-products.Thorsten Behrens3-4206/+0
Change-Id: Ic04832bf95fd425f839bd4f6a1390959f3c82247
2013-03-14Remove rtl:: namespace, fix minor spelling error in commentChris4-19/+16
Change-Id: Icd04bfa61209277c57afe313d679b253aa241b7d Reviewed-on: https://gerrit.libreoffice.org/2726 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-03-14pass argb32 pixmaps from vcl to canvas, avoiding costly x11 roundtripsRadek Doulik9-7/+4264
- fixes also problem with emf+ rendering for slideshow Change-Id: Icb894d3f37b29f23d3f267c944d827eefbf47fda
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl10-22/+24
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13vcl: targetted restoration of OutputDevice::PixelToLogic overloadMichael Stahl2-0/+9
Add some code needed for commit 684c502ed0a6782fe1b9c7d7cd1911a4a88b543a This fixes the infinite loop that allocates gigs of memory in sc_unoapi test. The problem was that instead of PixelToLogic overload an implicit Region ctor was called. Change-Id: Iefcd453a5c6327964c219074239ac65be737da6e
2013-03-13remove commented codeXisco Fauli1-49/+0
Change-Id: Ib62d4513e27791a848594925392a45ec9ff13983
2013-03-13Fix issue #120627#: [From Symphony]the text on the Y axis is reversed when ↵Zhe Wang1-1/+6
export ppt file to PDF format. * subversion/main/vcl/source/gdi/pdfwriter_impl.cxx []Change nXOffset value from the distance of axis Y between two points to the distance between two points. Patch by: Tang Meng<tmyl2010@gmail.com> Suggested by: Wang Zhe <kingwisemmx@gmail.com> Found by: Tang Meng <tmyl2010@gmail.com> Review by: Wang Zhe <kingwisemmx@gmail.com>
2013-03-13Related: #119125# Added usage of the ClipRegion for dismantling MetafilesArmin Le Grand3-2/+15
to SdrObjects (ImpSdrGDIMetaFileImport) as good as possible with Metafile usage Conflicts: svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdfmtf.hxx Change-Id: I41422696e97f919e618f7e385c68d4ac737a52c1