Commit Graph

1453 Commits

Author SHA1 Message Date
Stephan Bergmann
15fd36440c Un-inline use of szServiceName2_UnoControlEdit
...as it is not marked SAL_DLLPUBLIC_EXPORT unlike the class it is used in
so at least Clang would complain.

Change-Id: I59886caead24bca4cd4c0e47edb0eaac349eb213
2012-07-18 08:23:28 +02:00
Thomas Arnhold
5a7e8389f0 hrc cleanup: Remove include guards from src files
Change-Id: I7d52837f4058bab1bb5a0137788521d12834d519
2012-07-14 05:43:47 +02:00
Takeshi Abe
41a6d5e435 removed commented-out code
Change-Id: I5aa44682d4ebb926b95b64b2d265e6e9f3196a8d
2012-07-11 02:53:42 +09:00
Caolán McNamara
104261010a some UniString->rtl::OUString
Change-Id: Ie69b30094da25df23a36baca2c7723d6a41f48c3
2012-07-09 12:16:56 +01:00
Noel Power
60465d0608 fix dialog editor crasher fdo#51269
missing clone of AllDialogChildren property was the culprit here.

Change-Id: I6c5ee105003967429d5bf79639ae75fb7d90562a
2012-07-06 11:14:00 +01:00
Thomas Arnhold
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Thomas Arnhold
3ed25cd90e Remove an unused header
All of these definitions are unused. So remove it.

Change-Id: I831073dfe21684983bf5f8122af941a3ce3a2737
2012-06-27 13:34:28 +02:00
Michael Meeks
69a51d2bb6 re-base on ALv2 code. 2012-06-26 11:33:02 +01:00
Takeshi Abe
27b88d815d removed unused forward declarations of class
Change-Id: I814f8bdf4e4015f8e4eea34533db4ed8d6a7496e
2012-06-25 10:13:44 +09:00
Luboš Luňák
ceb8b18f5b use generic names rather than specific algorithm names when scaling
The Lanczos scaling is of very good quality, but it's rather slow,
which can be very noticeable with large images, so it's not a very
good default for everything. And in general, it's not good to refer
to a specific algorithm when all one usually wants is fast/default/best.

Some of these changes are a bit of a guess between default/best,
but the general logic is that best should be used only for images
that won't be large or where the possible waiting does not matter.

Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-22 17:40:09 +02:00
Michael Meeks
ecf943247f re-base on ALv2 code.
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Tor Lillqvist
ed880251bd WaE: unused parameters
Change-Id: I8dc4dadd3e26578500b555cdf850c3fb95bc1401
2012-06-18 23:05:10 +03:00
Tor Lillqvist
daaa550121 Pass also scale and offset to createScreenCompatibleDeviceUsingBuffer()
Pass on to VirtualDevice where used to set the MapMode of the device
appropriately. Adapt DocumentLoader, use to scale the page rendering
to exactly fit the virtual device.

Change-Id: I4b0bc67e12114d3d9d493ff1aca2ef5d2cc78912
2012-06-18 22:38:41 +03:00
Caolán McNamara
9bf2d51927 callcatcher: chainsaw out some unnecessary code
Change-Id: I88de7a942fbc9e0c51a3261236f5203f037d2392
2012-06-15 15:41:13 +01:00
Caolán McNamara
6191fa0847 reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-13 11:20:23 +01:00
Tor Lillqvist
96c4aeedb0 Implement XToolkit2::createScreenCompatibleDeviceUsingBuffer for Android
Change-Id: I8dd16850a35cd2de7260dcbe9a8aa7afae2294be
2012-06-12 13:50:49 +03:00
Takeshi Abe
16738213c4 nuke dead code
Change-Id: If8b6b4a3d9222726ae562e5b685710d86b5fe332
2012-06-12 14:16:45 +09:00
Thomas Arnhold
3770bbbdba Remove superfluous empty lines on top
More than two lines are removed for readability.

Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-09 04:57:58 +02:00
Jan Holesovsky
9afb6e1e38 Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of
BMP_SCALE_INTERPOLATE.

Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05 11:28:07 +02:00
Noel Grandin
b3c76dee6d fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update calls to factories to use new ::create methods

Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04 16:57:55 +02:00
Norbert Thiebaud
601500f8a8 targeted string re-work
Change-Id: I6ce76c22118586b213161a0e307a53b22b318004
2012-05-29 19:30:23 -05:00
Norbert Thiebaud
9485f3a6d6 targeted string re-work
Change-Id: If929937d8b1243032983b8b379f067a47d2717a4
2012-05-28 18:09:26 -05:00
Takeshi Abe
01dc468f3d removed unused temporary rtl::OUString
Change-Id: I81e04b1b71b8ee5a903185b6857e8cf91b67eed1
2012-05-21 22:08:17 +09:00
Michael Stahl
b532fccca7 work around spurious signed overflow warnings
gcc version 4.6.3 20120306 (Red Hat 4.6.3-2) (GCC):
/com/sun/star/uno/Sequence.hxx:178:10: error: assuming signed overflow
does not occur when assuming that (X - c) > X is always false
[-Werror=strict-overflow]
2012-05-08 11:31:49 +02:00
Thomas Arnhold
135c63c8f9 fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CAST
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-04 15:52:57 +02:00
Julien Nabet
46c01657d5 != instead of < for comparison with end iterator
Change-Id: I7baa34c1cf7161fb55914d41b451b842ad4ab0c8
2012-05-02 21:58:13 +02:00
Caolán McNamara
d8f145d1eb save the next guy from getting caught with msvc template requirements 2012-04-24 20:09:49 +01:00
Xavi Escriche Galindo
6ac2923326 Remove unused method UnoControlBase::UnoControlBase() 2012-04-24 16:07:45 +01:00
Caolán McNamara
d7cc971755 after 11 years it's time to forget about that to-do 2012-04-18 13:03:20 +01:00
Julien Nabet
393b14fddd Remove some unused methods 2012-04-17 22:09:27 +02:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Caolán McNamara
aefbfc7101 callcatcher: update and remove newly unused methods 2012-04-07 15:54:16 +01:00
Caolán McNamara
3f2b771e5f don't need this pure virtual impl 2012-04-07 15:54:16 +01:00
Szabolcs Dezsi
8a01ee6243 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 14:30:05 +02:00
Szabolcs Dezsi
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00
Caolán McNamara
5688b51bcb UniString::CreateFromInt32 -> rtl::OUString::valueOf 2012-04-05 13:59:05 +01:00
Caolán McNamara
fe630f3b09 callcatcher: update list, add README, remove some newly unused code 2012-04-05 13:59:05 +01:00
Caolán McNamara
5daa649c56 disabled for 11 years, not like to get fixed soon 2012-04-05 13:57:22 +01:00
Caolán McNamara
1889728897 remove static OUStrings from static_initialization_and_destruction chain 2012-03-30 14:07:20 +01:00
Noel Grandin
82f5a3b5df Remove unnecessary tools/table.hxx #includes 2012-03-29 17:55:58 +01:00
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
Noel Grandin
a4a7b956dc Convert tools/table.hxx usage to std::set in toolkit module in UnoPropertyArrayHelper class 2012-03-13 23:19:54 +01:00
Caolán McNamara
d0644be54d fix dbgutil build 2012-03-05 15:23:09 +00:00
Noel Grandin
d578654354 Convert ImplPropertyTable from tools/table.hxx to std::map
In the process, remove the ImplControlProperty struct,
 since it was duplicating information already stored in the
 key of the map.
2012-03-05 16:51:51 +04:00
Elton Chung
a1a1131c16 Remove unused code 2012-03-05 10:35:50 +02:00
Stephan Bergmann
bd205223ec New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problem
...see ebe26f72e9 "WaE: 'unused' attribute ignored when parsing type"
for the problem.
2012-03-01 18:00:32 +01:00
Michael Meeks
63ac267039 toolkit: fix module name for svt to 'merged' when using mergedlibs 2012-02-24 16:46:48 +00:00
Caolán McNamara
a0abab41ca entirely unused UnoMemoryStream class 2012-02-19 13:38:46 +00:00