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
e67c21ee06
Search for char instead of 1 char long string, when possible.
...
follow-up of a7674482254ee996b1c4fee60f3064778be369aa
Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-29 09:53:41 +02: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
f76cedf1d6
Data-aware ListBox: fix case ListSourceType==TableFields
...
Change-Id: I9a89374fd1cc56c8185753f5959275a0a2d841ff
2013-06-23 20:05:55 +02:00
4e317158dd
ListBox: when LISTSOURCETYPE changes, need to (un)lock BOUNDCOLUMN
...
Change-Id: If83073ec19c1389bf87fc154fa0ae83fd5bd1f3a
2013-06-23 18:21:01 +02:00
87c50e7563
fdo#66002 correct error introduced by "AppendAscii cleanup"
...
This reverts
fix endless loop error: 865b5caf6e2256e06f46a39a86d67f03408718a9
which was a partial revert of
AppendAscii cleanup: b7df3446c373a93dc5b77b495a54d873d83a91a7
AND fixes the original error in "AppendAscii cleanup".
Change-Id: Ida29af046b277170388e4945c0cdb4ec6116be98
2013-06-23 15:47:36 +02:00
865b5caf6e
fix endless loop error
...
This partially reverts this commit:
b7df3446c373a93dc5b77b495a54d873d83a91a7
Change-Id: Id05939da35541f9620d03d9d3998e618d0bb9092
2013-06-23 15:04:57 +02:00
ae1bb97f14
remove last uses of config 'GUI' variable
...
Change-Id: I97188235f0b72b5b54423e05deeaf17c5c681048
Reviewed-on: https://gerrit.libreoffice.org/4188
Reviewed-by: Andras Timar <atimar@suse.com >
Tested-by: Andras Timar <atimar@suse.com >
2013-06-20 11:51:10 +00:00
caab53cf21
fdo#43460 connectivity,extensions,filter,idl,idlc: use isEmpty()
...
Change-Id: I78ba286be5aa4d731f734e5eb16adb77c686aad9
Reviewed-on: https://gerrit.libreoffice.org/4325
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-06-18 17:31:20 +00:00
f4a4fee523
loplugin:literalalternative
...
Change-Id: Ie2af2b013f95e8cdf7aab82498ce686dfa965cc8
2013-06-15 01:16:20 +02:00
c128736aad
loplugin:unusedvariablecheck
...
Change-Id: I2202b5fcca4bf4c0a552d25c5c363209fcb6bd84
2013-06-15 00:57:19 +02:00
e0cce521f1
Resolves: #i121504# Support for alpha channel in clipboard for all systems
...
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519)
Conflicts:
automation/source/server/statemnt.cxx
basic/source/runtime/methods.cxx
canvas/source/vcl/devicehelper.cxx
canvas/source/vcl/spritedevicehelper.cxx
drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
drawinglayer/source/tools/converters.cxx
dtrans/source/win32/dtobj/FmtFilter.cxx
editeng/source/items/bulitem.cxx
extensions/source/scanner/sanedlg.cxx
external/gcc3_specific/makefile.mk
filter/source/graphicfilter/eos2met/eos2met.cxx
filter/source/graphicfilter/ios2met/ios2met.cxx
filter/source/msfilter/msdffimp.cxx
fpicker/source/office/iodlg.cxx
framework/source/fwe/classes/addonsoptions.cxx
framework/source/fwe/helper/actiontriggerhelper.cxx
sc/source/filter/excel/xiescher.cxx
sc/source/ui/docshell/docsh.cxx
sc/source/ui/inc/viewfunc.hxx
sd/source/ui/app/sdxfer.cxx
sd/source/ui/unoidl/unopage.cxx
sd/source/ui/view/sdview3.cxx
sfx2/source/appl/fileobj.cxx
sfx2/source/appl/linkmgr2.cxx
sfx2/source/dialog/filedlghelper.cxx
sfx2/source/dialog/intro.cxx
sfx2/source/doc/docinf.cxx
sot/inc/sot/formats.hxx
sot/source/base/formats.cxx
svtools/bmpmaker/bmpcore.cxx
svtools/bmpmaker/bmpsum.cxx
svtools/inc/svtools/transfer.hxx
svtools/source/filter/filter.cxx
svtools/source/filter/wmf/emfwr.cxx
svtools/source/filter/wmf/enhwmf.cxx
svtools/source/filter/wmf/winwmf.cxx
svtools/source/filter/wmf/wmfwr.cxx
svtools/source/graphic/graphic.cxx
svtools/source/graphic/provider.cxx
svtools/source/misc/transfer.cxx
svx/inc/svx/xoutbmp.hxx
svx/source/sdr/overlay/overlaymanagerbuffered.cxx
svx/source/xoutdev/_xoutbmp.cxx
sw/source/core/view/viewsh.cxx
sw/source/filter/ww1/w1filter.cxx
sw/source/filter/ww8/ww8par.hxx
sw/source/ui/dochdl/swdtflvr.cxx
toolkit/source/awt/vclxbitmap.cxx
toolkit/source/helper/vclunohelper.cxx
vcl/Library_vcl.mk
vcl/Package_inc.mk
vcl/aqua/source/dtrans/DataFlavorMapping.cxx
vcl/aqua/source/dtrans/OSXTransferable.cxx
vcl/aqua/source/dtrans/PictToBmpFlt.cxx
vcl/aqua/source/dtrans/PictToBmpFlt.hxx
vcl/inc/vcl/alpha.hxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/bitmapex.hxx
vcl/inc/vcl/pngwrite.hxx
vcl/inc/vcl/salbtype.hxx
vcl/inc/vcl/wall.hxx
vcl/source/gdi/animate.cxx
vcl/source/gdi/bitmap2.cxx
vcl/source/gdi/bitmapex.cxx
vcl/source/gdi/bmpconv.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/impgraph.cxx
vcl/source/gdi/impimagetree.cxx
vcl/source/gdi/metaact.cxx
vcl/source/gdi/wall.cxx
Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-13 14:50:46 +01:00
0986d0d558
mingw64: cast to pointer from integer of different size in extensions
...
Change-Id: Ie2162b71e4e9de9fe24ce54815e5139774bb2ec0
2013-06-10 14:03:38 +02:00
3e7eb8bcad
mingw64: Use the *LongPtr Windows api
...
Change-Id: I00c753f71460bee9f2bce3af35b352a25a3b8484
2013-06-10 14:03:37 +02:00
177f01b9fe
fdo#46808, Convert form::inspection::FormComponentPropertyHandler
...
.. to new style service
Change-Id: Iee4681f94dc9874271dc8a1d5d74e161d7691a29
2013-06-10 10:20:45 +02:00
7bdd928c35
Fix typo: alway -> always
...
Change-Id: I60b4a6086a6e114ff4895755e4c20dfb402a1979
2013-06-08 13:45:37 +02:00
35a65baefe
Slowly, but surely going on compiling for mingw64
...
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-06 15:52:05 +02:00
be8855ebe4
Some more win64 "fixes"
...
Change-Id: Id3de720a7ab28499644881e628a18f99121cb3c9
2013-06-05 16:26:13 +02:00
05e2d2bf03
fdo#64962 - ignore exceptions from checking with the update service.
...
Change-Id: If627b303f8710b915dcbdcb899454631f607e217
2013-06-05 13:03:22 +01:00
95c0d568fd
use uno::Reference#clear() method...
...
...instead of assigning an empty value. Reduces code noise.
Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05 08:13:23 +02:00
cee55a2c54
fdo#46808, Convert a copy of ComponentContext to XComponentContext
...
Looks like this extensions had a modified copy of
comphelper::ComponentContext in it.
Change-Id: I7e29aea4e6480a619f3148530fe6d784efe260e1
2013-06-05 08:13:22 +02:00
dcbaf7c253
remove unused componentcontext.hxx includes
...
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05 08:13:21 +02:00
b532752e7b
Fix variable value reassigned before old value used
...
Change-Id: Ide65a35d1dd39cbce9230f951bcc229b0df7b634
2013-06-03 23:09:44 +02:00
1e4422a4b4
re-base on ALv2 code. Includes:
...
Patches contributed by Mathias Bauer
gnumake4 work variously
http://svn.apache.org/viewvc?view=revision&revision=1394707
http://svn.apache.org/viewvc?view=revision&revision=1394326
http://svn.apache.org/viewvc?view=revision&revision=1397337
http://svn.apache.org/viewvc?view=revision&revision=1397315
http://svn.apache.org/viewvc?view=revision&revision=1396797
Patches contributed by Andre Fischer
Fixed getcsym.awk to handle #-comments that contain special regexp chars.
http://svn.apache.org/viewvc?view=revision&revision=1230971
118778: Added ADDITIONAL_REPOSITORIES environment variable and its
automatic setup in configure.
http://svn.apache.org/viewvc?view=revision&revision=1232004
118160: Added external CoinMP library.
http://svn.apache.org/viewvc?view=revision&revision=1233909
Patches contributed by Herbert Duerr
#i119168# use generic LICENSE file for langpacks and sdks
http://svn.apache.org/viewvc?view=revision&revision=1310178
macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars
http://svn.apache.org/viewvc?view=revision&revision=1183367
allow gbuild with empty sysroot on linux
http://svn.apache.org/viewvc?view=revision&revision=1179186
Patches contributed by Ingo Schmidt
native373: #164472# improvements for msi database
http://svn.apache.org/viewvc?view=revision&revision=1167540
http://svn.apache.org/viewvc?view=revision&revision=1167539
Patches contributed by Jurgen Schmidt
adapt setup package scripts to handle special DS_Store file for
developer snapshot builds
http://svn.apache.org/viewvc?view=revision&revision=1232430
imported patch extensions_i117681.patch
http://svn.apache.org/viewvc?view=revision&revision=1172102
Patches contributed by Michael Stahl
gbuild: RepositoryFixes.mk should be optional
http://svn.apache.org/viewvc?view=revision&revision=1166123
xslt filter: remove the FLA horror
wordml import filter: replace FLA usage with plain XSLT
http://svn.apache.org/viewvc?view=revision&revision=1363727
Patch contributed by Oliver-Rainer Wittmann
i#88652: applied patch, remove unicows deps
http://svn.apache.org/viewvc?view=revision&revision=1177585
Remove lots of OS2 conditionals, re-extract Rhino Java, unwind
cppunit pieces, cleanup Mac image bits, remove coin-mp and
re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand
MPLv2 subset checking.
Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03 11:41:36 +01:00
f5cd4c2bdd
WaE: unused parameter '_rxContext'
...
Change-Id: I75c9d894f792dd7a4ac85acace586e163d57c077
2013-06-03 11:30:31 +03:00
2838b8eb5e
fdo#46808, Convert ComponentContext in connectivity,extension..
...
...modules.
Change-Id: Ie61976dc12b514bb85ca42496c0d9173a1c56264
2013-06-03 10:00:02 +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
0f627e06c9
fdo#46808, Convert form::TabOrderDialog service to new style
...
The service already existed, it just needed an IDL file.
Change-Id: I10219da7292db5e746a89028ddc4fabb069ac388
2013-06-03 10:00:00 +02:00
8120e95e2b
Bin more VS2008 bits
...
Change-Id: Ia52fdae1e386ea92f11185ce7cdac65baed10495
2013-05-31 14:36:24 +03:00
979b570f76
setPropertyValue can throw PropertyVetoException
...
fixes abort in report design when entering e.g. invalid positions or size for control
Change-Id: I38835ed79d5bee15c4d7b57ab6780050d250732a
2013-05-30 14:34:54 +02:00
7e7e4c7a38
Resolves: #i121216# Allow unique logger file name
...
(cherry picked from commit a9606aa4d8a6bcb3955d991ee45c56cb93be2450)
Conflicts:
officecfg/registry/schema/org/openoffice/Office/Logging.xcs
Change-Id: I25719f2898df2f91ef9c71234e9eab83f8140b96
2013-05-28 09:14:15 +01:00
1d1825db86
fdo#46808, Convert awt::UnoControlDialog to new style
...
Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
2013-05-28 08:10:22 +02:00
e36f83d81c
Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"
...
This reverts commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654. As discussed at
<http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html > "Re:
fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd
change in 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get
CreateUnoDialog() work again" appears to fix things again:
The problem is that the implementation of the css.awt.UnoControlDialogModel
involves UNO aggregation
(IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in
toolkit/soruce/helper/registerservices.cxx creating a
OGeometryControlModel<UnoControlDialogModel> instance that aggregates a
UnoControlDialogModel instance). That means that queryInterface can return a
reference to something that is technically a different object, and that's
what's happening here, and explains why calling setPropertyValue in two
different ways on what logically appears to be a single object can end up
calling two different implementations (of two different physical objects).
(UNO aggregation is known to be broken and should not be used. Nevertheless,
there's still code that does---code that is a horrible mess and hard to clean
up.)
That all this worked as intended in the past is just sheer luck, but any
way of substantially touching it is asking for trouble. I'm going to
revert 6c61b20a8d4a6dcac28801cde82a211fb7e30654 again.
I wasn't able to revert without also reverting
be50ad28f5bbdaeff527f646481ce263843c2401 "fdo#46808, Convert
awt::XUnoControlDialog to new style," as the two were tightly dependant. Also
reverts all the follow-up fixes cb4b6dde8fda2a5848e11063028bf44d72f85431
"-Werror,-Wuninitialized" (sans the const-ness fix in
UpdateHandler::insertControlModel), 697a007c61b9cabceb9767fad87cd5822b300452
"Fix exception specifications," 2ce6828bbbf6ba181bb2276adeec279e74151ef6 "fix
awt::UnoControlModelDialog crash," and 2e2a4827ce6708f0e8677dba9cc92e1479a44086
"scripting: get CreateUnoDialog() work again."
Conflicts:
basctl/source/dlged/dlged.cxx
filter/source/t602/t602filter.cxx
xmlscript/test/imexp.cxx
Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
2013-05-25 11:45:47 +02:00
1bfbe4963d
Fix build breaker
...
(cherry picked from commit 4f7c31cdcf7ba9558e59bc345b3925f6b3d2695c)
Change-Id: Iccb1de40dc66d94128d4db2ca08b05b7e4c567f5
2013-05-23 15:19:12 +01:00
b7df3446c3
AppendAscii cleanup
...
Change-Id: I7398272de0bd340ebfb5f31b314d32fcff007eec
Reviewed-on: https://gerrit.libreoffice.org/3974
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-05-22 21:03:56 +00:00
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
cb4b6dde8f
-Werror,-Wuninitialized
...
Bogus
uno::Reference< awt::XControlModel > xControlModel = xControlModel;
introduced with 6c61b20a8d4a6dcac28801cde82a211fb7e30654 "fdo#46808, Convert
awt::UnoControlDialogModel to new style." Correct fix involves adding missing
"const" in declaration of UpdateHandler::insertControlModel, so implicit
Reference up-cast works.
Change-Id: I8f6d679a38d99188eb893366e9b552974b3c1bf2
2013-05-21 16:29:31 +02:00
6bf00f0f94
fix for linking
...
caused by my commit
863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line"
Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec
2013-05-21 13:53:21 +02:00
be50ad28f5
fdo#46808, Convert awt::XUnoControlDialog to new style
...
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21 08:23:59 +02:00
6c61b20a8d
fdo#46808, Convert awt::UnoControlDialogModel to new style
...
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-21 08:23:58 +02:00
026001cd5a
Avoid linker warning LNK4222
...
These symbols should not be assigned an ordinal as they are always
located by name, using GetProcAddress(), says MSDN.
Change-Id: I46caf7da634b1379a5baf5de631571335c6134ca
2013-05-20 12:45:11 +03:00
07976ee1de
Don't export a variable called PATH_SEPARATOR
...
It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling,
it breaks the build of 3rd-party libraries using autoconfigury on Windows. The
value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those
libs run in Cygwin and assume that a PATH_SEPARATOR environment variable
should be correct for Cygwin. Which ";" isn't.
Rename the variable to LIBO_PATH_SEPARATOR.
Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
2013-05-15 14:23:39 +03:00
cb6d67c21f
Spelling "separate" (etc) correctly is hard
2013-05-15 11:14:28 +03:00
b9d460f18b
Related: #i120413# document helpful precalculated CheckInterval vals
...
(cherry picked from commit 1045898eb4be2f19d8435e86ff600f4d9541abf9)
Conflicts:
extensions/source/update/check/Jobs.xcu
Change-Id: Iddf1ba34bd6a48ae64c3b7b104d2e942f39df244
2013-05-11 21:11:35 +01:00
09373d4583
soltools: remove Package_inc and empty unistd.h nonsense
...
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-10 17:56:24 +02:00
e1a5110bd9
support MS Office and Flat ODF file types in Mozilla Plug-in
...
Change-Id: I9bb3b67551dc14fd74e02defa0404e1f83359f2b
2013-05-08 22:07:33 +02:00
9d85fe82bc
coverity#982973: Resource leak
...
Change-Id: I1ea51b29c3ad05016f42c215b71877cd8c3f92f4
Reviewed-on: https://gerrit.libreoffice.org/3821
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-05-08 08:47:57 +00:00
7ef1aa6876
-Werror=unused-macros
...
Change-Id: I9fd616930eb0b336ce89e97bc333f19d4cf449ae
2013-05-07 11:53:56 +02:00
96907bfb02
np_sdk: remove both Package_inc and Package_npapi
...
This is a bit of a mess, apparently there are some headers here that may
come from the system and others that are always internal?
Change-Id: Ifbf486d3016bc87849e2593d83b3d48dae3aeca0
2013-05-07 01:41:25 +02:00
674e791119
twain: remove Package_inc
...
Change-Id: I67d0801d8d353951f9c9b1ca7f08b23de9b34067
2013-05-07 01:41:24 +02:00