Norbert Thiebaud
710f41b7ae
Clean String and sal_Bool in tools
...
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-06-30 04:58:49 +00:00
Thomas Arnhold
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
Thomas Arnhold
3c67bae522
String to OUString
...
Change-Id: I68c0cc796760928c70cd29be27ed1280f9117702
2013-06-29 17:15:35 +02:00
Thomas Arnhold
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
Khaled Hosny
1733e4ad1c
Don't build icule library as we no longer use it
...
Change-Id: I25401eee45988bf4d156c11d9a5848c783204c02
2013-06-16 22:17:05 +02:00
Matúš Kukan
1f2a635ae1
clean executables in Repository.mk
...
..so that no executable in gb_Helper_register_executables,NONE is installed
(except cppunittester from scp2/source/smoketest/)
and all others are installed.
Also remove unused officeloader executable.
Change-Id: I1726afc4d9d6848bca7fa07ebce3acd340777e8a
2013-06-15 21:32:37 +02:00
Fridrich Štrba
e862e14739
_UNICODE macro unused
...
Change-Id: I4820830f24c8a9a6d9ec3ad79df51bb2ac4f1e4d
2013-06-10 14:03:39 +02:00
Fridrich Štrba
2340939198
Macro reported as unused
...
Change-Id: Iaf7c4bc438147a283e6493598d250c9b53dd6fc0
2013-06-10 14:03:39 +02:00
Noel Grandin
9db162b604
fdo#46808, Use service constructor for connection::Acceptor
...
Change-Id: I0e69e43b5e6c6907447d6a8c23c0579b88ceb9a3
2013-06-10 10:20:44 +02:00
Matúš Kukan
bf06908b67
further reduce GUIBASE usage; don't set it to headless
...
Change-Id: I76916c15f380bd80e823845f52f32a1c444079da
2013-06-07 15:14:28 +02:00
Caolán McNamara
65df76208a
Related: fdo#65407 set a default size related to font size rather than pixels
...
Change-Id: I97ff54de97ca1e02aff2a94dc01f2e4991600cd5
2013-06-05 13:26:41 +01:00
Noel Grandin
c0654ce022
fdo#46808, Convert XMultiServiceFactory in filter module
...
Change-Id: I9dcddba4f5a8a7adeddc31b5df014b0174b9745d
2013-06-05 08:13:22 +02:00
Noel Grandin
e6c13f2846
fdo#46808, Convert XMultiServiceFactory to XComponentContext
...
Change-Id: Ice5ec3a056f7f2f5184523bda1c709ccac876736
2013-06-03 10:00:01 +02:00
Noel Grandin
1f79707438
fdo#46808, Convert office::Quickstart service to new style
...
Service already existed, just needed an IDL file.
Change-Id: Ief5563e53c7331b65dd429079180c4eed2f2c071
2013-06-03 10:00:01 +02:00
Julien Nabet
8c39c42c29
C4702: unreachable code
...
Change-Id: Ia5151a143583c597d30b9ba64733e610877ccab1
2013-06-02 22:56:57 +02:00
Radu Ioan
660b67a413
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
...
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*
Change-Id: Id4e90b83a7275bfd30914f7514a609cebbfbf4ac
Reviewed-on: https://gerrit.libreoffice.org/4044
Reviewed-by: Luboš Luňák <l.lunak@suse.cz >
Tested-by: Luboš Luňák <l.lunak@suse.cz >
2013-05-31 18:08:02 +00:00
Stephan Bergmann
740c7b1bb2
Better debug logging
...
Change-Id: Ida97a74a8629e0b170d882b38b0eeaa8f53d9bd3
2013-05-27 18:15:32 +02:00
Noel Grandin
6a043e9c0a
Use the new type-checking Reference constructor to reduce code noise
...
Also create a Clang compiler plugin to detect such cases.
Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2013-05-22 10:44:29 +00:00
Ariel Constenla-Haile
8b050d1e91
UI Controller Factory fixes
...
- "ModuleName" --> "ModuleIdentifier": the IDL definition for
css::frame::PopupMenuControllerFactory and
css::frame::StatusbarControllerFactory tells to use a property named
"ModuleIdentifier", but in the code it is named "ModuleName"
- Undocumented css::frame::ToolbarControllerFactory
- Fix service name of ToolbarControllerFactory (ToolbarControllerFactory
instead of ToolBarControllerFactory)
- Convert the three service factories to new style, and use these
new-style services in the source code
- Implement multiple inheritance: added new css::frame::XUIControllerFactory
- Added a (true) base class and implemented the three factories in a
single file
(cherry picked from commit acc7fed28f54f836b0923180431a0c180f91e98c)
Conflicts:
framework/inc/pch/precompiled_framework.hxx
framework/inc/uielement/toolbarmanager.hxx
framework/inc/uifactory/popupmenucontrollerfactory.hxx
framework/inc/uifactory/statusbarcontrollerfactory.hxx
framework/inc/uifactory/uicontrollerfactory.hxx
framework/source/uielement/addonstoolbarmanager.cxx
framework/source/uielement/menubarmanager.cxx
framework/source/uielement/popupmenucontroller.cxx
framework/source/uielement/statusbarmanager.cxx
framework/source/uielement/toolbarmanager.cxx
framework/source/uifactory/popupmenucontrollerfactory.cxx
framework/source/uifactory/statusbarcontrollerfactory.cxx
framework/source/uifactory/uicontrollerfactory.cxx
framework/source/unotypes/fwk.xml
offapi/com/sun/star/frame/PopupMenuControllerFactory.idl
offapi/com/sun/star/frame/StatusbarControllerFactory.idl
offapi/com/sun/star/frame/makefile.mk
svtools/source/uno/toolboxcontroller.cxx
Change-Id: Ia8580539badf650a84bc6e57a6b832071e011f0a
2013-05-21 16:29:33 +01:00
Caolán McNamara
f4bccae9eb
Revert "fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service"
...
This reverts commit e93a001887 .
Conflicts:
desktop/source/app/app.cxx
framework/source/uielement/menubarmanager.cxx
framework/source/uielement/popupmenucontroller.cxx
offapi/UnoApi_offapi.mk
Change-Id: I3d4d49f98603e75357fb315a603a10851b3a7090
2013-05-21 16:29:33 +01:00
Tor Lillqvist
cb6d67c21f
Spelling "separate" (etc) correctly is hard
2013-05-15 11:14:28 +03:00
Stephan Bergmann
03535b9160
Remove obsolete RestrictedPath env var support
...
Change-Id: Ia4ea7d60d7b69c863c1e891887060265e73e1cb6
2013-05-14 19:14:34 +02:00
Norbert Thiebaud
62be20899d
coverity#1000721 Resource Leak
...
Change-Id: I59161a08eee0406ac71b1212a0a8697edf27911f
Reviewed-on: https://gerrit.libreoffice.org/3897
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-05-14 13:42:33 +00:00
Norbert Thiebaud
e5b2edfb93
coverity#982969 Resource leak
...
Change-Id: Iabf637be4b704de4165c5cefb6a19687a1b5637a
Reviewed-on: https://gerrit.libreoffice.org/3902
Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr >
2013-05-14 13:37:36 +00:00
Michael Meeks
8627bf17d5
fdo#64311 - fix namespace issue / compile failure.
...
Change-Id: I7ce3837a1a451560f5867786bb20d8280e7bef23
2013-05-11 20:55:23 +01:00
Michael Meeks
fbc486a449
fdo#64311 - fix pre-processor conditionals & don't bail-out without gnome-vfs.
...
Change-Id: Ia7a805c95625b52fc99face000587692de21461e
2013-05-11 17:53:25 +01:00
Michael Stahl
c007292ec3
gbuild: gcc platforms: link with C compiler if no C++ files
...
In 5589c72b88 a problem due to linking
pyuno_wrapper with g++ was fixed: the library should not have a
dependency on libstdc++. It's possible to implement this in gbuild
directly by checking whether there are any C++ input files.
(apparently on GNU/Linux g++ implicitly links in libm too...)
Change-Id: I04dce06f796e20047ce7f5eab65e6110c0244445
2013-05-10 17:56:24 +02:00
Stephan Bergmann
717c9643bd
More gb_PROGRAMDIRNAME clean up
...
Change-Id: I5af86e15bcb8958a680e7309f13d7a865f29d7a9
2013-05-10 14:06:47 +02:00
Stephan Bergmann
a356da4e2a
Abstract over PACKAGEDIRNAME as it is MacOS rather than program on Mac OS X
...
Otherwise, the FILELIST scp2 items would create a program directory even on Mac
OS X, before gid_Brand_Unixlink_Program creates the program -> MacOS symlink.
(gb_Pyuno_PROGRAMDIRNAME shoudl be renamed to something more general than Pyuno,
and maybe more */Package_*.mk would benefit from using it.)
Change-Id: Ib6fc8d1abaf3b1a47a0f026a62bf0abdb14fc521
2013-05-10 12:50:25 +02:00
Michael Stahl
cc858aca0e
configure: substantially de-bong libpng handling
...
- remove --unix-qstart-libpng:
the internal libpng is static lib so this option is pointless
- clean up duplicative libpng checks
- replace usage of ENABLE_QUICKSTART_LIBPNG with ENABLE_HEADLESS,
which is the one case where it could still be disabled
Change-Id: Ie2e2c7e4a2396572742fdf056bf23c4271f04811
2013-05-08 17:49:58 +02:00
Michael Stahl
368e06b05a
officecfg: remove Package_cppheader
...
Instead include generated headers directly from workdir.
Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-05-07 17:07:43 +02:00
Philipp Riemer
2ce25faffd
fix typos (wich instead of which)
2013-05-06 20:07:23 +02:00
David Tardon
1ca02a5c2e
drop unused scripts
...
Change-Id: Icf4526214d9cfaaa9fe41b40b662c1e3bd9e6960
2013-05-05 14:43:14 +02:00
David Tardon
e37c63a1d7
copy scripts to instdir
...
Change-Id: Id7367d8f540f708071df89fd056dba485751df1c
2013-05-05 14:28:02 +02:00
David Tardon
c35f495a8d
copy pagein-* into instdir
...
Change-Id: Iab77db4f7841fd3d118fc371de5d0368f08f6c2d
2013-05-04 16:44:49 +02:00
Andre Fischer
af37523b69
Resolves: #i119272# Trigger deletion of temporary files of extension manager
...
(cherry picked from commit 84598594a6f36c2e3fc219d8cf1ec74b902e5e11)
Change-Id: I5f581cb46e21c738ebf95eb30bcb517922e7f24b
2013-05-02 12:13:22 +01:00
David Tardon
674a7b44f3
install branding images using filelists
...
This also reinstates the use of brand_dev/intro.png for non-release
builds, lost with gbuildization of instsetoo_native (commit
1d84e9d1d3 ).
Change-Id: I43477505c5c9a3d6ec961d640608e6e91379868e
2013-04-30 17:50:43 +02:00
David Tardon
7f2460b4b4
shell.zip is unused
...
Change-Id: Id8e7980a97d8c0828b14c59e2e382b0efc51c9f5
2013-04-30 17:49:07 +02:00
Michael Meeks
72e5d0c8fb
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-30 13:34:06 +01:00
Jesús Corrius
6c670f63a7
fdo#35785: don't rely on the old apps fallback mechanism to fix this bug
...
Change-Id: Id0967358956868538f7563c51f7ed5e106771302
Reviewed-on: https://gerrit.libreoffice.org/3639
Reviewed-by: Tor Lillqvist <tml@iki.fi >
Tested-by: Tor Lillqvist <tml@iki.fi >
2013-04-30 10:30:13 +00:00
Stephan Bergmann
b993c5591e
RuntimeException missing from exception specification for UNO method
...
...which lead to std::unoexpected from sw/PythonTest_sw_python.
Change-Id: I94bdbbe131a7c65c363f7aa66e8d8df7bd531449
2013-04-29 10:44:59 +02:00
Stephan Bergmann
1c2862e8d1
Remove residue of undocumented "edition" feature
...
...whereby some branding could be orverridden with information from a program/edition/
directory.
Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-29 10:27:29 +02:00
Thomas Arnhold
2094610175
namespacing cleanup
...
Change-Id: I1384bf53a29e174bb97db4c0644f9dce39c0e36d
2013-04-28 10:36:51 +02:00
Jesús Corrius
64dafbe584
Fix fdo#35785: recent documents feature of the Windows 7 Start menu broken
...
Change-Id: I61cffeaf661db7e7b8f642bbbd9457203f75cb9a
Reviewed-on: https://gerrit.libreoffice.org/3623
Reviewed-by: Tor Lillqvist <tml@iki.fi >
Tested-by: Tor Lillqvist <tml@iki.fi >
2013-04-26 12:39:21 +00:00
Michael Stahl
ced9e2abec
desktop: rename WinResTarget target to match source file
...
Change-Id: Ice900801109efc8591b9a3fb5c490d070b23730a
2013-04-24 17:37:45 +02:00
David Tardon
1cc9bbfd57
gbuild: drop empty use_packages calls
...
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f
Reviewed-on: https://gerrit.libreoffice.org/3503
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-24 05:18:15 +00:00
David Tardon
c042cd05e9
gbuild: drop uses of removed packages
...
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-24 05:18:03 +00:00
David Tardon
6c7659b584
move URE headers to include/
...
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d
Reviewed-on: https://gerrit.libreoffice.org/3499
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-24 05:17:10 +00:00
Stephan Bergmann
5275ed805a
Revert "Revert "WIP: Experimental new binary type.rdb format""
...
This reverts commit 67e69a5582 , applying a band-
aid fix to cli_ure/source/climaker for now.
Conflicts:
stoc/inc/bootstrapservices.hxx
stoc/source/tdmanager/lrucache.hxx
stoc/source/tdmanager/tdmgr.cxx
stoc/source/tdmanager/tdmgr_common.hxx
stoc/source/tdmanager/tdmgr_tdenumeration.cxx
stoc/source/tdmanager/tdmgr_tdenumeration.hxx
Change-Id: Iae669985d0194f06fa349a4a39f0ebd230bc5d28
2013-04-22 18:25:42 +02:00
Michael Meeks
62badf3828
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-22 09:37:38 +01:00