381f8a5673
sal_Bool -> bool in mostly vcl module
...
Conflicts:
include/vcl/settings.hxx
svtools/source/table/tablecontrol_impl.cxx
sw/source/core/frmedt/fecopy.cxx
vcl/inc/canvasbitmap.hxx
vcl/inc/headless/svpframe.hxx
vcl/inc/unx/salframe.h
vcl/inc/win/salframe.h
vcl/inc/win/salprn.h
vcl/inc/win/salvd.h
vcl/osx/DragSource.cxx
vcl/osx/DragSource.hxx
vcl/osx/DropTarget.cxx
vcl/osx/DropTarget.hxx
vcl/osx/OSXTransferable.cxx
vcl/osx/OSXTransferable.hxx
vcl/osx/clipboard.cxx
vcl/osx/clipboard.hxx
vcl/osx/salprn.cxx
vcl/qa/cppunit/canvasbitmaptest.cxx
vcl/source/components/fontident.cxx
vcl/source/control/edit.cxx
vcl/source/control/spinfld.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/virdev.cxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/window/dockwin.cxx
vcl/unx/generic/dtrans/X11_selection.hxx
vcl/unx/kde/UnxFilePicker.cxx
vcl/unx/kde/UnxFilePicker.hxx
vcl/unx/kde4/KDE4FilePicker.cxx
vcl/unx/kde4/KDE4FilePicker.hxx
vcl/unx/kde4/KDESalFrame.hxx
Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0
Reviewed-on: https://gerrit.libreoffice.org/8219
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-28 03:19:47 -06:00
bee1cc83ec
Remove visual noise from svtools
...
Change-Id: I7c2b74a449fb20aae5bc643e24a22cf6f732136d
Reviewed-on: https://gerrit.libreoffice.org/8320
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-25 21:14:09 +00:00
0ce0c369aa
Remove unneccessary comments
...
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-23 03:38:49 +00:00
e8f8f24c84
vcl: sal_Bool -> bool
...
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
a18a1a4545
Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
...
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.
Conflicts:
sc/source/ui/dbgui/pvlaydlg.cxx
Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-20 16:22:17 +00:00
bd9581d46d
bool improvements
...
Change-Id: I23e29995bc7af791067de4996923b6279f7f8892
2014-01-28 20:24:40 +01:00
04683f1488
Window::Notify should return bool
...
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
dd8961ade2
Unused member
...
Change-Id: I17e34c4c906416f295d88484ad4e99840453226a
2014-01-10 10:56:25 +01:00
5f7d39a07e
Resolves: #i120065# apply patch for Enabled property in grid model
...
Patch By: hanya
Review By: jsc
(cherry picked from commit 0164d67071d06aa42213c4a66765b5d032ca84d3)
Change-Id: Iad363b75dd30722b10139b31c90b3d598deaaf30
2013-12-20 09:23:57 +00:00
158b4df603
svtools: rename IAccessibleTableControl::dispose()
...
... to not confuse it with XComponent::dispose().
Change-Id: I056fdf77f9116d1c22f8ca9313a0ea313fb1c4aa
2013-12-16 16:21:09 +01:00
610b2b94b3
remove unnecessary use of OUString constructor when assigning
...
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
c91d7e9759
fixincludeguards.sh: svtools
...
Change-Id: I7db0d4a7bd948204ff6efd7e61c80efd413967cd
2013-11-05 09:28:53 +01:00
641cf5edc0
convert svtools/source/uno/* from String to OUString
...
Change-Id: I40e50b3d2e659c30a3456aab17a45f5e79365bfd
2013-08-22 10:49:30 +02:00
6c912701dc
Mark as const
...
Change-Id: Ic71f39aaebf07d3b0435882986be71cf2b0390c2
2013-07-01 21:03:12 +09:00
318f2b64cc
remove some createFromAscii usage
...
there are a lot more of them:
git grep 'createFromAscii[^)]*"'
Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29 16:23:23 +02:00
5080a76abb
Resolves: #i122586# recalcuate width when scrolling to last column
...
(cherry picked from commit febd0946e8c2686f0a679d3f32fbb39f5ef1c295)
Change-Id: Ia1aba1eddf9035504677d10a7414f9a498b952e1
2013-06-27 13:37:58 +01:00
dcbaf7c253
remove unused componentcontext.hxx includes
...
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05 08:13:21 +02:00
951cdf4c40
Resolves: #i117461# set row count to 0 and add further check
...
Patch By: Tsutomu Uchino
Review By: jsc
(cherry picked from commit d56225de586f878acd2f953bcf3208fe9a3c79a3)
Change-Id: I91ea7add253a5c40272ee112d207fcf510cd3935
2013-05-02 13:19:52 +01:00
9830fd36db
date/time IDL datatypes incompatible change
...
- nanosecond precision
- signed (allowed negative) year
Also: assorted improvements / bugfixes in date/time handling code.
Some factorisation of copy/pasted code.
Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-18 21:34:46 +02:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
2b7ee1db28
remove boilerplate comments
...
Change-Id: I44a476a9843816f70a7a4d84b8c35edeecd5daaf
2013-04-01 22:45:36 +02:00
0a40cec9fb
Related: #i119403# take transparency into account in both Invalidates
...
which would seem to be a good idea
Change-Id: Id6981851f7ecacab60247af1ef38e06ebb9a7f82
2013-04-01 14:15:25 +01:00
0f22f933b9
Resolves: #i119403# GridControl not refreshing after deleting rows
...
fix: take care of transparency attribute of the control
Patch By: Tsutomu Uchino
Found By: Wolfgang Becker
Review By: jsc
(cherry picked from commit 44f7914e0606caff822957b189a4459ccc5e2aad)
Change-Id: I77c5339747aa5ad223b8c220f934627d0202d4cb
2013-04-01 14:15:24 +01:00
8ac3ad62af
Resolves: #i119149# - Fix triggering of selection changed event
...
Original author: Tsutomu Uchino <hanya.runo at gmail.com>
(cherry picked from commit d81d9022c27648c993df820c01a6e1bf2bf1ad8a)
Change-Id: I6d485c2c6f9c81f67c07c313737db637991232fc
2013-04-01 13:42:44 +01:00
61d95972ff
WaE: 'DBG_UTIL' is not defined, evaluates to 0
...
Change-Id: Ib902f3f4b428d5c23347a31773011ddf74f28e99
2013-03-20 22:35:04 +02:00
8b27d78b4a
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
...
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-19 09:00:26 +00:00
587c294dab
fdo#46808, convert some code in svtools to XComponentContext
...
Change-Id: If5f37e8464df3434075eb989ef07a4f7d769e318
2013-03-04 10:13:18 +02:00
fa878018de
fdo#60724: fix resizeable -> resizable misspelling found by lintian
...
Change-Id: I07488c02277292f96c08be6155edf0158976cc0b
2013-03-03 12:45:21 +01:00
616c6924f1
s/the the/the/
...
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
773ad75b0d
fdo#46808, Adapt util::NumberFormatsSupplier UNO service to new style
...
Change-Id: I58436d9eea0c38d14cde2dc01aa463d5d71912e9
2012-12-06 13:20:31 +02:00
b8a467b707
obtain LanguageTag from SvtSysLocale
...
Change-Id: Iaee25f1d92349704eaae45e6582d31dfa718ddcb
2012-11-21 18:35:53 +01:00
daeed90f45
re-base on ALv2 code. Includes:
...
Patch contributed by: Jurgen Schmidt
remove onlineregistration with dependencies
http://svn.apache.org/viewvc?view=revision&revision=1240245
imported patch package_eventlistener.patch
http://svn.apache.org/viewvc?view=revision&revision=1172103
Patch contributed by Pedro Giffuni
Accept Google Chrome OS fonts as equivalent to MS fonts.
http://svn.apache.org/viewvc?view=revision&revision=1233155
http://svn.apache.org/viewvc?view=revision&revision=1233408
Patch contributed by Andre Fischer
Do not add targets for junit tests when junit is disabled.
http://svn.apache.org/viewvc?view=revision&revision=1241508
Patches contributed by Mathias Bauer (and others)
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
cws mba34issues01: #i114600#: remove forbidden characters
from list of unencoded characters
http://svn.apache.org/viewvc?view=revision&revision=1172370
Patches contributed by Oliver Rainer-Wittman
some clean up in JPEGReader due to memory constraints
http://svn.apache.org/viewvc?view=revision&revision=1299729
119114 - method <UpdateDialog::addSpecificError(..)> - create
entry with correct type
http://svn.apache.org/viewvc?view=revision&revision=1305265
Patches contributed by Ariel Constenla-Haile
i118707 - make toolbar control's popup window grab focus
http://svn.apache.org/viewvc?view=revision&revision=1225846
Patches contributed by Herbert Duerr
#i118662# remove usage of BerkeleyDB in desktop module
http://svn.apache.org/viewvc?view=revision&revision=1213171
minor cleanups in dp_persmap.*
http://svn.apache.org/viewvc?view=revision&revision=1215064
flush early to prevent problem with extension manager not
cleaning up its objects
http://svn.apache.org/viewvc?view=revision&revision=1228147
i118726 do not flush *pmap file while reading it
http://svn.apache.org/viewvc?view=revision&revision=1230614
#i119048# migrate BDB extension entries using a simple heuristic
http://svn.apache.org/viewvc?view=revision&revision=1300972
#i119048# handle edge cases when importing BDB hash files
http://svn.apache.org/viewvc?view=revision&revision=1301428
#i119113# fix of-by-one when importing BDB files
http://svn.apache.org/viewvc?view=revision&revision=1305420
restore our encryption settings, icon themes, and dictionaries.
removed wrapper hacks, kill obsolete bundled extension blob /
pre-registration handling, remove duplicated quickstart code.
remove OS/2 conditionals.
2012-11-19 17:44:55 +00:00
f4776bf465
fdo#46808, fix up some NumberFormatter createInstance calls I missed
...
Change-Id: Ieb3ce841243797a119f1d1d40379ff2a4614168f
2012-10-23 11:33:14 +02:00
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
04ddb79f50
fix debug message
...
It did not compile, and not using the deprecated macro fixes that
as a side-effect.
Change-Id: I97b8cd2ff1a650ec9d38cbf7eeb8780177a7fd7a
2012-09-14 13:33:53 +02:00
19e1c3add5
gridfixes: fixed assertion
...
Change-Id: I89756b173835d0356fee7fbb166d1998bd0415ac
Reviewed-on: https://gerrit.libreoffice.org/533
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 08:02:15 +00:00
906cce2545
gridfixes: impl_getColumnForOrdinate:no need to subs m_nRowHeaderWidthPixel
...
m_aColumnWidths already contains it
Change-Id: I404c58fb0b32db7b7b7bf60be997f81709908ceb
Reviewed-on: https://gerrit.libreoffice.org/556
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:58:31 +00:00
5deceabaa6
gridfixes: impl_ni_calculateColumnWidths: re-calculate the proper values
...
for distributePixel/takeAwayPixel before finally using it to correct
the rounding errors
Change-Id: I6f3b178400db0696df0289331be94d69f1d4f0d2
Reviewed-on: https://gerrit.libreoffice.org/555
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:56:36 +00:00
c1c12bd160
gridfixes: ensure removal of a column in grid control adjusts the cursor
...
Change-Id: I99be214bf12d340cc5e9330d1c21046dd366b07a
Reviewed-on: https://gerrit.libreoffice.org/554
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:54:39 +00:00
a6754e5a09
gridfixes: re-enable the mouse listeners which got lost
...
in a previous change.
Do this by making the TableControl a CompoundControl,
so VCL cares for everything which is needed. Consequently,
get rid of the manual notification of the respective VCLEVENT_*'s,
and everything related to it
Change-Id: Id8872680b744e1171be916f6f66a4968e9d6567a
Reviewed-on: https://gerrit.libreoffice.org/553
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:52:56 +00:00
b68f053b76
gridfixes: lcl_getAlignmentTextDrawFlags: row header w/o columns
...
care the rare cases that the table has row headers, but no columns at all
Change-Id: Iece17add6f5e0adf425c33f0817e8b1be953e1a7
Reviewed-on: https://gerrit.libreoffice.org/552
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:51:48 +00:00
712c1c4172
gridfixes: impl_ni_relayout: update the child window position/size last
...
it relies on the other calculations (in particular calculation of the
column widths) being finished
Change-Id: I599aa5b2938e2aa810980c00ac8f598b4f4fcfcb
Reviewed-on: https://gerrit.libreoffice.org/551
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:50:48 +00:00
dd0431a537
gridfixes: fixed selection handling, part I
...
RowSelection::HandleMouseDown: always forward to the SelectionEngine,
even if the hit row is already selected.
This ensures proper de-selection handling in case of Ctrl+Click
Change-Id: I46fd63332101fd078c6341c94575dc69f48f8a68
Reviewed-on: https://gerrit.libreoffice.org/549
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:48:39 +00:00
a1f695dea5
UNFINISHED: column resizing refactoring
...
Change-Id: Iac8db5ee848f35f19f8fe4eb431485559600be49
2012-09-14 09:49:28 +02:00
fe08068cf9
gridfixes: #i117398# allow to specify selection colors in table/grid
...
Conflicts:
toolkit/inc/toolkit/helper/property.hxx
toolkit/source/controls/grid/defaultgriddatamodel.cxx
Change-Id: Ie863aa7cecb4c7bda230ab829e6090689518dab8
2012-09-14 09:38:47 +02:00
2095b2e1d4
gridfixes: copied #i112562#'s fix from CWS gridcontrol06 herein
...
Change-Id: Ifa29a8b3c027970d46844b428a3529e680c0b09c
Reviewed-on: https://gerrit.libreoffice.org/541
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:15:44 +00:00
3d934d4860
gridfixes: #i112465# delegate RequestHelp to the base class,
...
when we do not have own help to display
Change-Id: I953144aa0921e849df14e9de31010e8904dffc5f
Reviewed-on: https://gerrit.libreoffice.org/539
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:10:51 +00:00
87e333667b
gridfixes: when the table controls doesn't have the focus use diff. color.
...
use a different color to paint the selection,
to be consistent with all our other controls
Change-Id: Ia5160dfb769279e2a8a3458b16fe8f6cec08145e
Reviewed-on: https://gerrit.libreoffice.org/537
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 07:05:38 +00:00
a7e949673c
gridfixes: #i117265# use a NumberFormatter for converting cell values to text.
...
This means using the Locale setup in the Options, and allows for more value types (like Date/Time) to be supported
Change-Id: I78fb08f2da88405851664e3e1dd4505c3727e56b
Reviewed-on: https://gerrit.libreoffice.org/534
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2012-09-14 06:59:57 +00:00
57154616f0
Remove UNO includes comments
...
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00