7323bc3405
WaE: warning C4100: 'aEvent' : unreferenced formal parameter
...
I thought SAL_WARN_IF etc worked in such a way that any variables used
in the condition would be "used" from the compiler's point of view,
even in an optimising build case where SAL_DETAIL_ENABLE_LOG_WARN is
false and SAL_WARN_IF should optimise away?
Change-Id: I728e1eeb8559e1299abf403afceb0e2748d08857
2013-09-09 22:25:50 +03:00
f500b2d7d9
Remove dead code
...
...merged in via d02f75a8c36705924ddd6a5921fe3012fafce812 "Resolves: #i121420#
merge sidebar feature," but apparently already unused in the original AOO
commit.
Change-Id: I12e4ff05769d95a847881934eab6da722bb1950e
2013-09-09 14:16:52 +02:00
2f750d86cf
Try to keep older(?) gcc versions happy
...
Change-Id: Id563e644356a9265ded66cf08a711078c804ac84
2013-09-09 01:42:07 +03:00
2b3e225853
Bin some uses of the stupid DECLARE_ASCII macro
...
Change-Id: I076eef8069e848ec3cf9c69f1b489ad44586324e
2013-09-09 00:58:15 +03:00
1817936b28
Bin unused remains of framework's own "debug framework"
...
Change-Id: I71937debf674ff11173d7d8fa5aa43dc12234ce6
2013-09-09 00:29:23 +03:00
895885652e
Fix non-debug build
...
Change-Id: I5446c7fec62c1a934b1ffb21fefa1279b932ca09
2013-09-09 00:13:01 +03:00
5bb0c9d790
Use SAL_INFO instead of framework's own "event logging"
...
That "event logging" consisted of two macros, both used in a single place.
Change-Id: I8faffd9756399f1902e52aa41968b71a964a4324
2013-09-08 23:51:41 +03:00
04c3f9d185
Use SAL_INFO instead of framework's own WRITE_LOGFILE
...
Change-Id: Ieb1a45ca75c7a475d02535cd176396a0aeb68510
2013-09-08 23:51:41 +03:00
9a8e2d09bc
Use SAL_WARN_IF instead of framework's home-grown LOG_ASSERT(2)
...
Also remove declarations for debug function that don't exist (have been
removed (misguidedly?) as unused perhaps).
Change-Id: I0bc3320c52b3d50dc851a07fdc30b593cc4856b1
2013-09-08 23:51:41 +03:00
b022cfb6ca
Get rid of some pointless SAL_INFO calls
...
Change-Id: I451cacc550972a6a61e3e325936ce950bbf87475
2013-09-08 23:51:41 +03:00
6aa0698828
Use SAL_INFO instead of framework's own LOG_WARNING
...
Change-Id: Ief44fceaf03d2567f4aacd9ff74d361436e5e05b
2013-09-08 23:51:41 +03:00
791a8b96f7
Revert "fdo#68552: Don't (attempt to) do run-time expansion of build-time parameters"
...
This reverts commit ac4e19f9085dbd0103c7336a5318aa1e55b3e3e0.
Unfortunately does not work if BUILDDIR is different from SRCDIR.
2013-09-05 18:17:00 +02:00
ac4e19f908
fdo#68552: Don't (attempt to) do run-time expansion of build-time parameters
...
The $(share_subdir_name) things in the filter fragment .xcu files didn't
actually work it seems. But anyway, it's a bit silly to do expansion at
run-time of $(foo) things known at build-time anyway. Thanks to sberg for
pointing this out.
So just use the normal configury .in mechanism for these. Simpler.
Change-Id: I14b3e5cc5169b34df8a1d7ff07cc28452c67bcc8
2013-09-05 13:34:25 +03:00
3945267d67
was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()
...
Change-Id: Ic08b09824cffdc9b633ba13ec3050cc109f671cd
2013-09-03 20:35:42 +02:00
063b32804c
Don't use lock files when sandboxed on OS X
...
We won't be allowed to create such files anyway.
Change-Id: Iaba652b9ae3f1d8c7cfeaae493e962d58ad1fb7f
2013-08-24 12:26:00 +03:00
64b993e046
finish deprecation of O(U)String::valueOf()
...
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21 15:10:35 +02:00
2d2337eb74
Improve some debug output
...
Change-Id: I1008822ba8592ea43f87805bf00adbfdaf4f02fc
2013-08-20 17:58:44 +02:00
c6a7300974
Use subfolder names from <config_folders.h>
...
Change all instances of hardcoded "program", "share" etc subfolder names to
use those from <config_folders.h> instead. In normal builds, the end result
will not change.
Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18 21:11:16 +03:00
cb021fcafb
fdo#46037: remove 1 comphelper/configurationhelper in framework
...
Change-Id: I7c958347297f17875aded7a64526b1673a439ecf
Reviewed-on: https://gerrit.libreoffice.org/5271
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-08-07 08:20:02 +00:00
9281fc72e7
startcenter: Rename DropTargetListener to OpenFileTargetListener, ...
...
...move it to svtools, and kill the cut'n'pasted version.
Change-Id: Ifacf110ff08b359bd0f611dff20b3c5142e6bcc8
2013-08-06 19:56:30 +02:00
b60f6da2e1
startcenter: Move BackingComp & BackingWindow to sfx2
...
BackingWindow will use ThumbnailView from sfx2 and it had to be moved
to avoid a circular dependency
Change-Id: I33a5982ed9e51307476c837f3f534ded7ed38ee0
2013-08-06 19:56:29 +02:00
8ee69b0ba1
fdo#67235 adapt form control code to time nanosecond API change, step 3
...
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d
Reviewed-on: https://gerrit.libreoffice.org/5270
Tested-by: Lionel Elie Mamane <lionel@mamane.lu >
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu >
2013-08-04 06:51:31 +00:00
e2e15148fc
Mark as const/static
...
Change-Id: I54a7daee7345e7c0c5c3f866d5c365722b567eff
2013-08-04 00:54:12 +09:00
5efc15f000
reduce use of UniString from ResID ctor
...
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-28 16:45:48 +01:00
cb590428d8
fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
...
Change-Id: Ib0edc828691c6a8edbd1f45d3c0e2851c32c865f
Reviewed-on: https://gerrit.libreoffice.org/5013
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-07-23 14:05:13 +00:00
9dbb8db06d
Convert the easy cases in framework to WeakImplHelper
...
Change-Id: I6547c4aee2aa4d15ad516a6a45002b81b7a8ac13
2013-07-23 10:05:45 +02:00
acdfc322e7
Move comment.
...
Change-Id: I7c35c6878455fd68eaddd75b39009a59352dd2c3
2013-07-18 11:25:52 +02:00
410b4319a7
startcenter: No need for special GetFocus().
...
Change-Id: I789f21e035f864d5b7ac84700a62a1c81f53c2be
2013-07-18 11:25:52 +02:00
8e5e98b609
startcenter: Re-introduce code that handles accelerators.
...
Change-Id: I171de7f63e644c9446a76f6ade592c8242cadcac
2013-07-18 11:25:52 +02:00
d05bf07eb7
startcenter: The explicit Show() is not necessary.
...
Change-Id: I6e817a6c5465adb02f5431737f2ac649ac0274a5
2013-07-18 11:25:52 +02:00
7cd028fa8a
startcenter: Remove unused headers & members, move consts to .cxx.
...
Change-Id: Id163a02ac663141f113195bfc68fcedd6c4dc500
2013-07-18 11:25:52 +02:00
27a74e74bb
startcenter: Simplify the button setup & make it work better.
...
This fixes some drawing artifacts previously visible thanks to the
SetPaintTransparent( sal_False ).
Change-Id: Icd6fb222e2d78f02cd298b02afbfa8e652c4566f
2013-07-18 11:25:51 +02:00
0b07c120a0
startcenter: Make the Open button work as a MenuButton.
...
Change-Id: Ic02a271c0c2b892e0dca0a07a5c2ff9a7862ab9f
2013-07-18 11:25:51 +02:00
82b4dbf25e
startcenter: The window & strings are initialized in .ui, remove from .src.
...
Change-Id: I951e4bc12696a2cb5b1b93f28de25cd4783b9387
2013-07-18 11:25:51 +02:00
019cec3ea4
startcenter: The images have moved to .ui, remove from .src.
...
Change-Id: Ib83a8903062f40f9e64d93a2afe5d7d088f8451a
2013-07-18 11:25:51 +02:00
7ced337e1f
startcenter: GSOC Use Widget Layout for the Start Center
...
Known issue: after starting a module from the startcenter,
and closing it, the buttons for the modules remain stuck
after hovering the mouse over them
Change-Id: I50883868764565be62a2f123a832154ef015e763
2013-07-18 11:25:50 +02:00
358d1a9948
use static LanguageTag::convertTo...() for standalone conversions
...
If no LanguageTag instance is at hand use the static methods to convert
between BCP 47 string, Locale and MS-LangID instead of creating
temporary instances.
Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-13 11:55:16 +02:00
6a08067902
OUString convertion for unotools
...
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707
Reviewed-on: https://gerrit.libreoffice.org/4659
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-07-02 07:31:30 +00:00
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
4a0247603e
Small (hopefully non-controversial) changes to the existing branding
...
* Make sure about window background covers entire window
* Make sure start center images are centred
Change-Id: I402448ef4ea77633fe4e1ad5d5f93952efb495af
Reviewed-on: https://gerrit.libreoffice.org/4308
Reviewed-by: Thorsten Behrens <tbehrens@suse.com >
Tested-by: Thorsten Behrens <tbehrens@suse.com >
2013-06-18 11:43:10 +00:00
e7d0b21458
add missing modelines.
...
Change-Id: Ia0472d4dbce203f0b813e353b4b29f9dc9618664
2013-06-16 02:57:07 +01:00
8c799984cc
fdo#46808, Convert the rest of XMultiServiceFactory in framework module
...
Change-Id: Ife3caf00ab37a8c344f0ab90e40337b3b5bc1571
2013-06-05 08:13:22 +02:00
c23be036a6
fdo#46808, Convert some XMultiservice in framework module
...
Change-Id: Id4dd0bafd40cf96271527c9c970c4ab31527644c
2013-06-05 08:13:22 +02:00
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
8cc9383fe7
Replace invalid doxygen commands: thrown -> throws
...
Change-Id: I9e9f513afe37ccf34f2d5762a27b4a728fd24f36
Reviewed-on: https://gerrit.libreoffice.org/4136
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-06-03 06:58:36 +00:00
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
e0fc16f769
fdo#46808, Convert some XMultiServiceFactory to XComponentContext
...
Change-Id: I8272ecab34711654ed27625a571cf2553ffd7468
2013-05-28 08:10:25 +02:00
5835d8d271
fdo#46808, Convert some XMultiServiceFactory to XComponentContext
...
Change-Id: Ia55bb7af6e5d1c76f3cf8001ea53892e1e1bdac0
2013-05-28 08:10:24 +02:00
95ec16b513
fdo#46808, Convert frame::LayoutManager service to new sty;e
...
Change-Id: I46c3950aee336548d6e0acc6a7d1da655c158175
2013-05-28 08:10:23 +02:00