Michael Stahl
8bafe38c56
i#87757: do not create empty Rectangle bounding box for glyphs:
...
Enforce a minimum width and height of 1 in GlyphMetric::SetSize(),
preventing X11SalGraphics::GetGlyphBoundRect() from returning a
Rectangle that has one side set as RECT_EMPTY.
This problem has surfaced due to the change of the status bar in
ce14342c42
, causing the
AccessibleStatusBarItem to fail in getCharacterBounds() because
the text of the control, "Words: 0", now contains a space, for which an
empty Rectangle bounding box is created, which results in a wrong
return value from getCharacterBounds():
LOG> Character bounds outside component
LOG> Character rect: 43, -566, 0, 0
LOG> Component rect: 91, 2, 71, 18
It turns out that the following test was disabled due to this problem,
so re-enable it now:
toolkit.AccessibleFixedText::com::sun:⭐ :accessibility::XAccessibleText
2012-05-30 09:02:31 +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
Bjoern Michaelsen
b1c3e8ae28
make gbuild the default assumption of build.pl
...
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file
Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +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
Caolán McNamara
b856ea5af5
inline unused ctor needed by MSVC at compile time
2012-04-24 16:07:45 +01:00
Xavi Escriche Galindo
6ac2923326
Remove unused method UnoControlBase::UnoControlBase()
2012-04-24 16:07:45 +01:00
Caolán McNamara
6f9971f3b9
WaE: MSVC20082 unreferenced argument
2012-04-20 20:02:25 +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
Tor Lillqvist
d81a26fe68
Little bit more explanation, feel free to improve
2012-04-13 10:29:05 +03:00
Szabolcs Dezsi
e4fb171d3a
Replaced a few equal calls with ==
2012-04-08 19:24:00 +02:00
Michael Stahl
4c50f23f87
LinkTarget.mk: remove gb_LinkTarget_add_package_headers
2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2
gbuild: "use" vs. "add":
...
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
(i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
(i.e. it is registered at the Module, has it's own makefile, may be
in a different module than the target)
2012-04-08 01:05:52 +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
Michael Stahl
e476a7632c
.java files don't need executable bits
2012-03-23 21:58:12 +01:00
Tor Lillqvist
2a1171929e
chmod -x
2012-03-21 13:00:45 +02:00
Stephan Bergmann
d4b67611c4
Introduced SystemShellExecuteFlags::URIS_ONLY
2012-03-16 15:01:26 +01:00
Stephan Bergmann
6e67c03dc0
Enable -Wnon-virtual-dtor for GCC 4.6
...
...which has the necessary features to support it.
Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.
cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.
Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +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
Matúš Kukan
84b3f7b345
gbuild: get rid of realpath in gb_Foo_set_include
2012-03-10 21:23:20 +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
Stephan Bergmann
fe981519f5
gb_JunitTest_JunitTest takes only one argument
2012-02-20 16:39:59 +01:00
Caolán McNamara
a0abab41ca
entirely unused UnoMemoryStream class
2012-02-19 13:38:46 +00:00
Riccardo Magliocchetti
2130deb2d1
Introduce headless switch for X / cairo / toolkit less build
...
The plan is to reduce dependencies to be easier to deploy
libreoffice server side in headless mode.
2012-02-17 16:44:56 +00:00
Caolán McNamara
08c475bb24
callcatcher: update unused code list
2012-02-16 10:26:03 +00:00
Stephan Bergmann
515870b31d
Clang -Wconstant-conversion.
2012-02-16 09:50:18 +01:00
Noel Power
468c588875
fix support for embedded images for basic Dialogs ( fdo#45992 )
2012-02-13 14:51:36 +00:00
Caolán McNamara
3b4786b6b7
callcatcher: regenerate list
2012-02-13 11:02:46 +00:00
Caolán McNamara
849a2471bd
update unused list
2012-02-08 09:12:27 +00:00
Josh Heidenreich
8b9615be88
Added (and improved) READMEs for modules which used to be in libs-gui
2012-02-08 07:46:57 +01:00
Norbert Thiebaud
c857dff7fc
switch to include-based build rather than sourced-based build
2012-02-05 19:34:05 -06:00
Caolán McNamara
bbc94edb9a
refactor ConvertLineEnd
2012-01-30 13:18:38 +00:00
Caolán McNamara
a108260d0f
CreateResMgr just takes a const char*
2012-01-30 13:18:37 +00:00