Commit graph

465 commits

Author SHA1 Message Date
Norbert Thiebaud
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
Norbert Thiebaud
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
Norbert Thiebaud
a5d4e7806c gridfixes: #i117398# cleaned up the row selection API
- made explicit that it is about row selection, leaving room for a future selection of columns
- some changes for consistency
- do not derive XGridControl from XGrid(Row)Selection, those two are orthogonal
- published involved UNO types

Change-Id: Ie97de42a9ea70a0191657f898ca9d59706e23290
Reviewed-on: https://gerrit.libreoffice.org/542
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-14 07:19:55 +00:00
Norbert Thiebaud
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
Michael Stahl
6a1c29d7ef offapi: move css.ui.UICommandDescription to css.frame.UICommandDescription:
The service implementation used "com.sun.star.frame.UICommandDescription"
since forever, so the IDL file was essentially wrong documentation.
But since 7a464263cc converted the service
to new-style, it cannot be instantated any more and e.g. clicking on
Tools->Customize crashes.
(Adapting the implementation instead would be an incompatible change.)

Change-Id: I564bddaf3836827f5b72360a2bde19d6158b7ba5
2012-09-06 11:13:42 +02:00
Noel Grandin
1c7a54e3a1 fdo#46808, Adapt frame::ModuleManager UNO service to new style
Create a merged XModuleManager2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Explicitly document the XNameReplace interface in the IDL, which
is already implemented by the service, since there is code currently using it.

Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-05 14:56:19 +02:00
Noel Grandin
7a464263cc fdo#46808, Adapt UICommandDescription UNO service to new style
Change-Id: Ibca112904f137ff981ae9be3e5bd56aa11aec352
2012-09-03 15:55:03 +02:00
Noel Grandin
10362695c2 fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new style
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-09-03 15:55:03 +02:00
Stephan Bergmann
3a54474c40 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I1341170e8ca43e23723a88ec05d826981e4473ee
2012-08-15 15:19:15 +02:00
Noel Grandin
0beb6bc4b3 Convert from tools/list.hxx to tools/contnr.hxx
Most places don't need to include tools/list.hxx

Change-Id: Ib2415fbbf92b039a77e1f5c21856f03de60262d4
2012-08-13 22:48:15 +02:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Caolán McNamara
aa3eeb28bc Resolves: fdo#37279 and #i78701# startEditingAtNode does nothing
inherit class UnoTreeListItem from SvLBoxString instead of SvLBoxItem so that
it really isa SvLBoxString and can be edited with startEditingAtNode

a) remove the unused SvLBoxEntry argument to SvLBoxString's SetText
b) used rtl::OUString instead of XubString
c) rename aStr to maText
d) inherit UnoTreeListItem from SvLBoxString and drop its maText in
   favour of that of SvLBoxEntry

Change-Id: Id78f43ae5be8cd6f581e6c2fd2bd6f46de9144ba
2012-07-15 22:03:48 +01:00
Thomas Arnhold
57154616f0 Remove UNO includes comments
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-29 09:25:09 +02:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Takeshi Abe
462935f367 removed unused forward declarations of class
Change-Id: I819d5b931c937ec52b14f60591546d1d86c38631
2012-06-16 22:09:38 +09:00
Noel Grandin
0fcd1a73f0 fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
Update code to use factory method URLTransformer::create

Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-06 10:53:34 +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
397fd0189a targeted string re-work
Change-Id: Ifa58823b593a545c66ef78ebe13e576127e60dc9
2012-06-02 14:42:22 -05:00
Kohei Yoshida
e78b2fbc54 Store the module name here. I need to use it in the recent files menu.
Change-Id: Ib074b6a4ac6c2fe89edf0a0e4b2faf2d8a8eae68
2012-05-30 18:37:20 -04:00
Takeshi Abe
b2022330c0 removed unused constant rtl::OUString
Change-Id: I173275e0f8faa852500d108f65636080f79636c6
2012-05-16 23:28:22 +09:00
Takeshi Abe
d7f5dcbc41 removed unused defines
Change-Id: Ife6ba8104a3af79aa5d62509755b9d2c58d98e3a
2012-05-09 23:28:36 +09: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
José Santiago Jiménez Sarmiento
f33ed937b6 Remove unused methods 2012-04-25 17:14:15 +02:00
Caolán McNamara
95372abb52 string created but never used 2012-04-18 13:03:21 +01:00
Caolán McNamara
41e055112e String::CreateFromInt32->rtl::OUString::valueOf 2012-04-11 12:06:23 +01:00
Caolán McNamara
1210ba3f15 catch by const ref 2012-04-10 12:49:48 +01:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Szabolcs Dezsi
743f22045c 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 15:07:41 +02: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
Caolán McNamara
ae92197691 remove static objects from static_initialization_and_destruction chain 2012-04-02 14:53:48 +01:00
Takeshi Abe
47fc950fa6 removed duplicate includes in svl / svtools 2012-04-02 17:17:22 +09:00
Caolán McNamara
8550b42a1d remove extra string casts 2012-03-20 12:57:31 +00:00
Noel Grandin
4b4fb33c60 Convert from tools/table.hxx to std::map in SvxMacroTableDtor
In this case, we also convert from storing pointers to storing
the items directly because SvxMacroTableDtor completely controls
the lifecycle of the SvxMacro objects it contains.

Also add an operator== to SvxMacroTableDtor and remove the out-of-line
implementations of equals from two other places.
2012-03-08 16:07:22 +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
Takeshi Abe
2b1758a2dc Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...) 2012-02-10 23:01:07 +09:00
Marcel Metz
89f0655eba Replaced diagnore ENSURE_OR_CONTINUE with regular code. 2012-01-23 23:28:50 +01:00
Marcel Metz
f9e6d195db Replaced diagnore ENSURE_OR_BREAK with regular code. 2012-01-23 23:28:46 +01:00
Olivier Hallot
ad6ce5e938 Fix for fdo43460 Part XXXVII getLength() to isEmpty()
Part XXXVII
Modules
svtools
2012-01-13 19:13:55 -02:00
Marcel Metz
d59211357a Removed unnecessary tools/debug.hxx includes. 2012-01-06 23:55:51 +01:00
Marcel Metz
4beb58e0dd Removed unnecessary tools/ref.hxx includes. 2012-01-06 23:55:51 +01:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Michael T. Whiteley
dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
Michael Stahl
b93aad9512 svt::ToolboxController: valgrind complained... 2011-12-03 00:48:18 +01:00
Michael Stahl
4f01d343cd property name spelling s/Visiable/Visible/ 2011-12-03 00:48:17 +01:00
Norbert Thiebaud
ac33b825d1 remove include of pch header from svtools 2011-11-27 13:24:31 -06:00
Takeshi Abe
93732fe182 removed unused macros/constants 2011-11-09 00:12:33 +09:00
Tor Lillqvist
15c73850fa WaE: class has virtual functions, but destructor is not virtual 2011-10-05 17:39:10 +03:00
Caolán McNamara
1f5c696c37 add mode-lines to .m files and last round of merged files, etc. 2011-09-30 09:09:25 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Caolán McNamara
04ce2cea24 callcatcher: drop some Impl methods, regenerate list 2011-09-05 10:54:21 +01:00