ba0a57702c
remove OUString wrap for string literals
...
For some functions and all kinds of Exceptions.
CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException
createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService
bash command:
for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
| cut -d ':' -f1 | sort -u
| xargs sed -i
-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
-e "s/\($i.*\)\"+ /\1\" + /g";
done
Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-06-29 21:52:54 +00:00
5cb2e3104b
remove toolkit/unohlp.hxx hack
...
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913
Reviewed-on: https://gerrit.libreoffice.org/4601
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 11:49:28 +00:00
8ac87296c3
fdo#63866 Hid useless checkboxes
...
Added functions to SvTreeListBox and SvLBoxButton to allow entries with hidden checkboxes
Change-Id: Ia5a1deabea6c01aad5e4010612ac453c669258a6
Reviewed-on: https://gerrit.libreoffice.org/4169
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-06-07 07:42:54 +00:00
8f3cec9d7a
fdo#46808, Convert ui:*AcceleratorConfiguration to new style
...
The services already existed, they just needed IDL files.
API CHANGE:
The return type of XUIConfigurationManager#getShortcutManager()
is now XAcceleratorConfiguration instead of XInterface.
This should not be a problem because XUIConfigurationManager is
unpublished and the client code was relying on the service
returning that type.
Change-Id: I399fe35de3394b02a4166b75eb7ff93b28be8bef
2013-05-28 08:10:23 +02:00
852bf3ad92
Resolves: #i120571# Enhancements in "Save/Load Keyboard Config" dialog
...
(cherry picked from commit fe75dbb733e6b25da8233d4a1dc12a8288e1b608)
Conflicts:
cui/source/customize/acccfg.cxx
Change-Id: I967ed2b4b7b3c9dfeebf07af544216afc8bead8d
2013-05-18 14:26:16 +01:00
be1833cbc4
fdo#46808, Convert singleton theBrowseNodeFactory to new style
...
Change-Id: I68fa7f5dde1928e895575bc602b54de83279fb7c
2013-05-15 08:25:37 +02:00
0394cb37a2
fdo#46808, Convert ui::ImageManager to new style
...
The service already existed, it just needed an IDL file.
Change-Id: I5bdc3064b0a3caa5a0d2abf4ef5ba3159889c7af
2013-05-14 08:08:26 +02:00
49e422e58e
fdo#46808, Convert ui::UICategoryDescripion to new style
...
Change-Id: I4fbba222b8429b5935c8e15c74d1670edd4fb303
2013-05-13 09:38:03 +02:00
86c1ebc1ef
fdo#46808, Convert util::PathSettings service to new style
...
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-05-13 09:38:01 +02:00
0f200cc30e
fdo#63154: Change Min/Max/Abs for std::min/max/abs
...
Now all these usages were removed from LO.
Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-20 11:09:54 +00: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
51e05acf07
Simplify a bit iterators stuff
...
Change-Id: Ie2159d5eb8caf3d8f13d9c1ec49cc2bb6a0d94eb
2013-03-30 22:09:21 +01:00
049ce78144
remove local css definitions
...
follow-up of 66a175834c39ccde9475eac3adb72a843110d01f
Change-Id: I1c495041ccc4db4dd9554d49b6324e989fa46c60
2013-03-30 00:56:42 +01:00
d2605c0b10
cui: replace DBG_ASSERTs with bogus messages
...
Change-Id: I0646224e50d36db0171c063bd68e8eb6b4b6519c
2013-03-25 16:29:08 +01:00
a0296296fb
fdo#60691 add modelines to *.src and *.hrc files
...
use solenv/bin/add-modulelines script for the task
and remove all UTF bom from *.src and *.hrc files
svx/source/dialog/hdft.src
Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08 21:02:26 +00:00
8035a3af26
some further OUString cleanup
...
Change-Id: I13eb94092e29ececc9fbf494074acde5f893b605
2013-03-08 04:51:28 +01:00
cd8ea20aa4
fdo#46808, Convert ui::UIConfigurationManager to new-style
...
Change-Id: I62c37eb6d0e0b2a681a84e1fa0067d0a9f967cf2
2013-03-07 08:23:38 +02:00
3c1c6afa2e
coverity#982967: fix memory leak
...
Change-Id: Ie96353daa1947297eff417d32ba4c67964489a16
2013-03-02 06:51:58 +01:00
f5305a942b
RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removals
...
Conflicts:
cui/source/options/optgdlg.cxx
cui/source/options/webconninfo.cxx
dbaccess/source/ui/app/AppController.cxx
Change-Id: I2abfad91318e8be8c0f77909cbd76825cdca9b85
Reviewed-on: https://gerrit.libreoffice.org/2350
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-02-25 18:31:40 +00:00
4f4e4e40f5
loplugin: improve indentation
...
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25 17:59:40 +01:00
305bf19e39
loplugin: unused variables
...
And some fallout.
Change-Id: I8dfc12f3566e72d79d4f9930284c92577aa485a1
2013-02-24 18:42:02 +01:00
6fb6bc4b4e
adapt code to New Toolbar Dialog .ui conversion
...
Change-Id: Ie1b7a0cf5fbb9dbfc04a07bb58d5f55f83a096f3
2013-02-22 09:03:51 +00:00
77fd448d09
Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING
...
Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f
Reviewed-on: https://gerrit.libreoffice.org/1954
Reviewed-by: Tor Lillqvist <tml@iki.fi >
Tested-by: Tor Lillqvist <tml@iki.fi >
2013-02-14 13:20:14 +00:00
b3e64c3708
Some cppcheck cleaning
...
Change-Id: I1b80271473166755e8f0afaa7af8ffc7bea394b3
2013-02-06 07:58:08 +01:00
b0f4052cf2
callcatcher: update unused code list
...
Change-Id: I6a935ced687b1076dfdd6c6ae0cf3bce1fc6adbd
2013-01-31 11:30:48 +00:00
bd272cd3da
rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialog
...
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-24 14:29:46 +00:00
e3f11c10d8
Changed SetText() / GetText() to take/return OUString
...
replaced lots of Len() with isEmpty()
Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2013-01-21 20:48:35 +00:00
bb121c864c
fdo#46808, Convert frame::Desktop to new style service.
...
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).
Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.
I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.
I dropped the optional interfaces
XStatusIndicatorFactory
XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.
I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.
Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
243630f394
fdo#58362 do not crash on customize toolbar
...
Change-Id: I7102a1635329b3bcdd3bf6bc250555cc71e0977e
2012-12-17 08:30:18 +01:00
c1e42d60c5
fdo#46808, use service constructor for ui::WindowStateConfiguration
...
Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
2012-12-13 05:20:58 +02:00
e52a5e298b
fdo#46808, use service constructor for ui::GlobalAcceleratorConfiguration
...
Change-Id: Icab69ba138b28c3baed4352da86a1b3b0c0cc195
2012-12-13 05:20:58 +02:00
166d825797
Resolves: fdo#57469 allow tab to traverse into custom widgets
...
The magic WB_TABSTOP bit is the one that allows a widget to be accepted as a
candidate for getting focus when pressing tab
Change-Id: I7d964bae6b84184ccbc4652d66cf3d2637566405
2012-12-12 13:27:12 +00:00
24f0aa76c0
fdo#46808, use service constructor for embed::StorageFactory
...
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-12-10 08:05:53 +02:00
66a175834c
c++ API: use css alias in generated headers, adds global css decl
...
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star
Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.
Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
f532752756
Remove unused method & remove header include by using forward declaration.
...
Also, SvViewDataEntry has lost one friend.
Change-Id: Icf6d4127de38fed485cd260edae97748b1f78ede
2012-11-29 21:29:31 -05:00
251dab0145
Pass pointer to view data entry to Paint() instead of its raw flag value.
...
We need to hide these flags away.
Change-Id: I112003a88a92174f5012b3356ba261a039eeccc1
2012-11-29 16:34:43 -05:00
edf0652d87
Fix various build breaks.
...
Change-Id: Ie33a4a02f9820e0d52ca3f17c6b410ebe1e6e8f0
2012-11-28 10:01:32 -05:00
117fdb9898
convert users of XDocumentInfo to XDocumentProperties
...
Change-Id: I10f395f90d554d0ec26fe9f2654ae839e21c7ee5
2012-11-22 12:10:30 +01:00
43cd14d317
Fix the Windows build breakage by reorganizing svtools headers.
...
Also removed a fair amount of implicit inline methods to promote use
of more forward declaration.
Change-Id: I5ad21f0d7abc85281708b7e87f1036b02a053627
2012-11-16 16:18:37 -05:00
a94b6ec2d5
callcatcher: update unused code post binfilter death
...
Change-Id: I5b25d14ef2769126f98523551597f43812b9feb7
2012-11-14 10:11:32 +00:00
3f7f957e68
convert macro dialog to .ui format
...
Change-Id: I5c832f3eaa6aefe2d652173289ef306e8743d4e0
2012-11-08 13:26:56 +00:00
79b9cd76f8
convert run macro to .ui
...
Change-Id: I4e83afa3d164ba0ae8640f4b5f2712b88c1e305f
2012-10-31 14:16:54 +00:00
c7bac4da02
XubString->OUString
...
Change-Id: I5835696a3246b4d8f401a1617d2b53ec8c7c5626
2012-10-25 12:04:26 +01:00
4b313fd566
Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.
...
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-19 11:45:36 +02:00
ac7acb0ab1
Merged SvTreeListBox and SvLBox.
...
There is no reason to keep SvLBox separate.
Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-11 23:35:15 -04:00
015b29b74a
re-base on ALv2 code. Includes:
...
clarify Option->Language UI option
Patch contributed by Herbert Duerr
http://svn.apache.org/viewvc?view=revision&revision=1173991
cws mba34issues01: #i117712#: fix several resource errors introduced
by IAccessible2 implementation
Patch contributed by Mathias Bauer
http://svn.apache.org/viewvc?view=revision&revision=1173991
cws mba34issues01: #i117709#: add missing string resource
Patch contributed by Mathias Bauer
http://svn.apache.org/viewvc?view=revision&revision=1172348
cws mba34issues01: #i117716#: fix missing resources my removing unused code
Patch contributed by Mathias Bauer
http://svn.apache.org/viewvc?view=revision&revision=1172345
re-add Crystal, Tango, Oxygen icon theme listings.
correct method signature
Patch contributed by Jean-Louis 'Hans' Fuchs
http://svn.apache.org/viewvc?view=revision&revision=1306725
i#119063 - correct serf integration
Patch contributed by Oliver-Rainer Wittmann
http://svn.apache.org/viewvc?view=revision&revision=1300521
i#119036 - adapt serf integration
-- use transfer-encoding 'chunked' on HTTPS
-- switch transfer-encoding between 'chunked' and none on 413 HTTP status code
-- refactoring
-- improve user experience of certification dialog - only shown once
Patch contributed by Oliver-Rainer Wittmann
http://svn.apache.org/viewvc?view=revision&revision=1299727
118569: Use whole certification chain for verification.
Patch contributed by Andre Fischer
http://svn.apache.org/viewvc?view=revision&revision=1295493
serf integration: improve credential input handling
Patch contributed by Oliver-Rainer Wittmann
http://svn.apache.org/viewvc?view=revision&revision=1294557
warning-free ucb/source/ucp/webdav
Patch contributed by Pavel Janik
http://svn.apache.org/viewvc?view=revision&revision=1294086
some refactoring to PROPPATCH and PROPFIND requests
Patch contributed by Oliver-Rainer Wittmann
http://svn.apache.org/viewvc?view=revision&revision=1293281
i#118569: Replace neon with serf
Patch contributed by Oliver-Rainer Wittmann
http://svn.apache.org/viewvc?view=revision&revision=1292832
http://svn.apache.org/viewvc?view=revision&revision=1292794
remove OS/2 conditionals for now.
re-enable webdav unit tests.
2012-10-04 20:16:37 +01:00
c2ca6fabd1
Use comphelper::getComponentContext
...
...and some further clean up.
Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-29 18:18:28 +02:00
272f0e97b1
Improvements on previous commit
...
* Made XGlobalEventBroadcaster inherit document::XDocumentEventBroadcaster/
Listener replacements for obsolete document::XEventBroadcaster/Listener. This
means some client sides unfortunately still need to use UNO_QUERY_THROW to
obtain the obsolete interfaces; those client sides should be cleaned up to use
the replacement interfaces instead.
* Added @since tag (even to unpublished entities, on "it doesn't hurt" grounds).
* Made client sides use XGlobalEventBroadcaster directly instead of querying for
its super-interfaces.
* Replaced new uses of comphelper::ComponentContext::getUNOContext with
comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532
"ComponentContext::getUnoContext -> getComponentContext simplification;" I
intend to get rid of comphelper/componentcontext.hxx much sooner than of
comphelper/processfactory.hxx).
Change-Id: I6d971ebdaea83d0c3fa9ba299fb6b37e58cdfe9b
2012-09-27 10:30:42 +02:00
cd693ff598
fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new style
...
Create a merged XGlobalEventBroadcaster interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Also add two interfaces to the IDL, which the service already implemented,
and existing client code already used.
Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-27 10:30:42 +02:00
03a9f139bd
ComponentContext::getUnoContext -> getComponentContext simplification
...
...and some further clean-up.
Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00