summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
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
2013-03-18IsPrinterGraphics() and IsVirDevGraphics() were unused.Tor Lillqvist
Change-Id: If5d7bb5c777d3247e3e1a4d39ae1a8f8ba6f4cd8
2013-03-18Improve indentation and alignment consistencyTor Lillqvist
SCNR. Change-Id: I11bcd451eae74ec5eb20e4baa96d308f9eacf01c
2013-03-18Bin pointless __cplusplus ifdefsTor Lillqvist
Change-Id: I82974eb68e6daf1c6781e2133fd22d7e4e62de82
2013-03-18avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
2013-03-18change #ifdef -> #if for KDE4 feature macrosLuboš Luňák
Change-Id: I289744eaa62ad819620f0b31a54efd5ebbdb9dc2
2013-03-18coverity#982272 Copy-paste errorJulien Nabet
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. Rossmanith
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 Lillqvist
Change-Id: I27a692be8d1c3aa10bdf46883fd502491aff4674
2013-03-18Don't do any own auto-cleanup of aurorelease pools on iOS when a thread endsTor Lillqvist
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 Lillqvist
Change-Id: I5c91058af2f6da287bff050a358f446b653c800a
2013-03-18Bypass X11-specific code if not on X11Tor Lillqvist
Change-Id: I6452191b11b197b0f90ae6638019d3bc6db67ad7
2013-03-18SalData::drainThreadAutoreleasePool() is unusedTor Lillqvist
Change-Id: Idbb98b32ffc5970e236c9d319e0e8791b855e283
2013-03-17AndroidSalInstance::RedrawWindows() is called from only one placeTor Lillqvist
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 Lillqvist
They were used in the NativeActivity-based coding. Change-Id: Id393026783c989f05d90ad79cc4e8f5e8cd0174e
2013-03-16Bin more pointless comments and ASCII graphicsTor Lillqvist
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 Lillqvist
Change-Id: Ib7b176eb1889ebd94d4b628899011de9ebbb3dbd
2013-03-16Get rid of a few pointless commentsTor Lillqvist
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 Lillqvist
Change-Id: Ief800f1228bca327fd8d77a78fa332639f5d5f69
2013-03-16Revert "fdo#61725 workaround"Lionel Elie Mamane
This reverts commit 04651da19cbd755c2d9a7d399781433c05f9cb97. Change-Id: Icd78c2305b127d42a43bd7995d0952617e06db99
2013-03-16fdo#61725 workaroundLionel Elie Mamane
Change-Id: I7d25f293020f366b20ddb9cade1854013857bed2
2013-03-16Fix buildFridrich Štrba
Change-Id: I7e0b7be9da04ff6055075b5c046f02c967bf59f2
2013-03-15Resolves: #i119125# various actions implemented, clipping added.Armin Le Grand
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 Grand
...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 McNamara
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 McNamara
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 Meeks
2013-03-14vcl: fix WNT only debug code OUStringsMichael Stahl
Change-Id: Ie864629499806d798ce4a4525c385bf1617b0160
2013-03-14Missing WNT --enable-debug String -> OUString conversion partsStephan Bergmann
Change-Id: Ica20eacd95538fe37d08bf76c7b5a6717a7e8422
2013-03-14tests cases for EDB-24743Caolán McNamara
Change-Id: Iac75be70adbf611980605ef599d1c9ea9772eb2d
2013-03-14stray test .png left behindCaolán McNamara
Change-Id: If0a0d61b58ecc46d5ba04951cd278d275fdf25e7
2013-03-14restore incrementing time fields by area cursor is inCaolán McNamara
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 Behrens
Change-Id: Ic04832bf95fd425f839bd4f6a1390959f3c82247
2013-03-14Remove rtl:: namespace, fix minor spelling error in commentChris
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 Doulik
- fixes also problem with emf+ rendering for slideshow Change-Id: Icb894d3f37b29f23d3f267c944d827eefbf47fda
2013-03-13vcl: make Region ctors explicit to prevent overloading desastersMichael Stahl
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13vcl: targetted restoration of OutputDevice::PixelToLogic overloadMichael Stahl
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 Fauli
Change-Id: Ib62d4513e27791a848594925392a45ec9ff13983
2013-03-13Fix issue #120627#: [From Symphony]the text on the Y axis is reversed when ↵Zhe Wang
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 Grand
to SdrObjects (ImpSdrGDIMetaFileImport) as good as possible with Metafile usage Conflicts: svx/source/svdraw/svdfmtf.cxx svx/source/svdraw/svdfmtf.hxx Change-Id: I41422696e97f919e618f7e385c68d4ac737a52c1