Caolán McNamara
57b15f2dcd
Resolves: fdo#72022 Integrated help ignored if installed
...
regression since 58fa3d50aa
Change-Id: Ia20f28daace30181652bbbbec3f9845045db03b4
2013-12-06 13:27:57 +00:00
Marcos Paulo de Souza
1c3d51fd68
fdo#60698: Merge tvhlp1 into ucpchelp1
...
tvhlp1 just have 2 files, and this lib is used always with ucpchelp1. By
these reasons, we can merge these 2 libs.
Change-Id: I515f9c12893c986279ffac91b83879c467b091c7
Reviewed-on: https://gerrit.libreoffice.org/6820
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-12-02 05:15:36 -06:00
Noel Grandin
610b2b94b3
remove unnecessary use of OUString constructor when assigning
...
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
Noel Grandin
d366c9b20e
remove unnecessary sal_Unicode casts in various places
...
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00
Norbert Thiebaud
bd7f704ed4
xmlhelp: include <> for external includes
...
Change-Id: I274968e015f1d0c3d06aa5040f53b72d14c45b9f
2013-11-11 22:37:29 -06:00
Noel Grandin
fcd1637d51
convert OUString compareToAscii == 0 to equalsAscii
...
Convert code like
aStr.compareToAscii("XXX") == 0
to
aStr.equalsAscii("XXX")
which is both easier to read and faster.
Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-11-11 12:58:13 +02:00
Noel Grandin
58fa3d50aa
remove unnecessary use of OUString constructor in XMLHELP module
...
Change-Id: I033bcf9cddc58f605fe8d65731f8b312410da7e5
2013-11-07 13:22:56 +02:00
Noel Grandin
5285beeaa4
remove redundant calls to OUString constructor in if expression
...
Convert code like:
if( aStr == OUString("xxxx") )
to this:
if( aStr == "xxxx" )
Change-Id: I8d201f048477731eff590fb988259ef0935c080c
2013-11-04 10:11:08 +02:00
Caolán McNamara
b7efab3a98
valgrind: on success aHDFData is out of scope
...
and pData points to data belonging to it
Change-Id: I2a3c1f73e4cdcb07d21ef14cb410d351f39cdba8
2013-10-24 16:33:14 +01:00
Caolán McNamara
d94f3a68f7
pEmpty is completely insane to use
...
DbtToStringConverter protects against a NULL pointer, but not a
pointer to the too short data that pEmpty provides
Change-Id: I5d21e852ce0373eff7d3627e266b9cbc77f5dd09
2013-10-24 16:33:14 +01:00
Thomas Arnhold
f852bda5ec
clean up some include guards
...
Conflicts:
sw/source/ui/inc/content.hxx
Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6
Reviewed-on: https://gerrit.libreoffice.org/6388
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-10-23 10:28:07 +00:00
Marcos Paulo de Souza
ee5661ecd3
fdo#54938: Adapt supportsService implementations..
...
to cppu::supportsService
Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14
Reviewed-on: https://gerrit.libreoffice.org/6370
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2013-10-22 10:28:10 +00:00
Thomas Arnhold
67aec43915
cleanup
...
Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
2013-10-16 05:41:26 +02:00
Caolán McNamara
9af3b8b4ff
CID#705780 seeing as this is irredeemably wrong remove it
...
This is catastrophically wrong, just appear to be lucky that
this code path is never called, so remove it entirely rather
than mess around fixing it
Change-Id: I4a8a443ed20b7e11cd9cc69b3d66d28087f09db8
2013-10-03 13:09:21 +01:00
Caolán McNamara
ebfa1e6c86
CID#707598 uninitialized scalar values
...
Change-Id: Id3c6488cfda25ab809bf554216bf2e5161456be0
2013-09-21 12:36:43 +01:00
Luboš Luňák
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
Tor Lillqvist
058a3d1c46
Further work on the "Mac-like app structure" option
...
Lots of stuff still either ended up in the wrong place, or was looked up from
the wrong place, or both. Fix most cases.
Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-18 21:11:16 +03:00
Tor Lillqvist
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
Jelle van der Waa
87b5ac652d
fdo#57950: Remove some chained appends in xmhelp
...
Change-Id: I4680547aa1d12d3e8eab3c33e3158845848c2068
Reviewed-on: https://gerrit.libreoffice.org/5376
Reviewed-by: Tor Lillqvist <tml@iki.fi >
Tested-by: Tor Lillqvist <tml@iki.fi >
2013-08-13 11:11:42 +00:00
Jelle van der Waa
2f66b0cb11
fdo#62475 removed pointless comments
...
Change-Id: I4fa01553246fa023806b3fec8e6e756a1efa59f1
Reviewed-on: https://gerrit.libreoffice.org/5342
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2013-08-10 19:23:25 +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
318f2b64cc
remove some createFromAscii usage
...
there are a lot more of them:
git grep 'createFromAscii[^)]*"'
Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
2013-06-29 16:23:23 +02:00
Luboš Luňák
d7ae9f7743
rename HAVE_CXX0X->HAVE_CXX11 and clean up to #define in a config header
...
Change-Id: Id13e77fe890301a8510952994a91853568a7aea6
2013-06-13 20:08:16 +02:00
Michael Stahl
52e0ff8363
stop this decadent waste of precious newlines
...
Change-Id: I803d7d56ba7350fd0f5b2c4efa392d55a0fd4542
2013-06-06 11:08:31 +02:00
Michael Stahl
3ddf70dc11
xmlhelp: fix reading symlinked .tree files
...
Apparently the .tree files nowadays are symlinked, which was not the
case on the libreoffice-4-0 branch... and on viewing the Contents tab
it's evident we can't actually read symlinked .tree files, and crash
with an STL assert because the children vector is empty.
Change-Id: I5a543ef85b827e194120530a486cf19a76837d87
2013-06-06 11:08:31 +02:00
Noel Grandin
27c6434fcc
fdo#46808, Replace usage of SpecialConfigManager
...
with usage of the underlying SvtPathOptions. The service is just
a thing wrapper that serves no real purpose.
Change-Id: Id762edf71ba0f699ef091261905c88c2d93e1c12
2013-06-05 14:48:19 +02:00
Sameer Deshmukh
ca54015d7e
fdo#62096 Corrected stupid error in previous patch
...
Change-Id: Ieb3ed1201918aaaac5b4ba64e6f767353497e697
Reviewed-on: https://gerrit.libreoffice.org/3545
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:29:20 +00:00
Sameer Deshmukh
560e4fd02f
fdo#62096 - Changed a few compareTo's to '=='
...
Change-Id: I0a0ba87ec517e5dd776ab45b232dd7f227451466
Reviewed-on: https://gerrit.libreoffice.org/3523
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:26:24 +00:00
Peter Foley
cd79d51420
prefix all component_getFactory methods
...
Change-Id: I954176fdab9103125444dd2fb397673406f7aff9
2013-04-15 09:12:08 -04:00
Andras Timar
c9d5cfa194
detect and apply Windows' high contrast theme to local help
...
Change-Id: Ibd45773179be334991d0d493324cadaad772ea33
2013-04-11 03:40:21 -07:00
Luboš Luňák
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
Eike Rathke
876c619b94
new module i18nlangtag
...
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.
This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.
Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
Andras Timar
8d1765439c
icon style fixes in local help
...
correct icon style in offline help when icon style is Automatic
change icon style in offile help when icon style is changed on UI
Change-Id: I1b56beeaf370cb6b20b9a7c69f158291b4128ab0
2013-04-02 07:15:24 -07:00
Eike Rathke
bcc73432ee
use LanguageTag instead of comphelper::Locale
...
Change-Id: Id8239b3e34c343fc114a66ab9216c179b1746d56
2013-03-28 01:39:08 +01:00
Stephan Bergmann
2d9ce9191d
Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)
...
...which is a confusing overload with unexpectedly different semantics from the
one-parameter form. In preparation of marking it as deprecated.
Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
2013-03-20 13:05:35 +01:00
Thomas Arnhold
3991eaf556
reduce whitespaces between include and filename
...
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-19 01:26:45 +01:00
Thomas Arnhold
937b63af33
use startsWith() instead of compareToAscii()
...
brain damage...
Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-11 11:07:09 +01:00
Chr. Rossmanith
ccce843ab6
Removed RTL_CONSTASCII_USTRINGPARAM in xmlhelp/ure
...
Change-Id: Ibaf83366e79292bbb6756045e4c82f2650958150
2013-03-10 07:52:58 +01:00
Thomas Arnhold
4bf95c4c31
make use of startsWith()
...
Change-Id: Ie70097de550ddd1cddc6714f8f86f9723cb36679
Reviewed-on: https://gerrit.libreoffice.org/2599
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-08 13:16:49 +00:00
Thomas Arnhold
76b3e61bb4
loplugin: unused variables
...
Change-Id: I07b82471f0f32e9e894d4eb392beedeafc6be0c7
2013-02-25 05:43:16 +01:00
Chr. Rossmanith
ed383ebfba
remove RTL_CONSTASCII_(U)STRINGPARAM
...
Change-Id: Ica4dc859229c2ba0dc052a97ff23178895c25580
Reviewed-on: https://gerrit.libreoffice.org/2368
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
2013-02-24 21:16:12 +00:00
Tor Lillqvist
616c6924f1
s/the the/the/
...
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Markus Mohrhard
beea592413
coverity: passing by const reference is more efficient
...
Change-Id: Icee079458f0b4624281a2fdef1ce8cd6d6b900b1
2013-02-20 16:28:25 +01:00
Noel Grandin
591ef78440
fdo#46808, Use singleton util::theMacroExpander new-style constructor
...
And deprecate the old-style service util::MacroExpander
Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-11 08:02:13 +02:00
Tor Lillqvist
c29098917a
Get rid of (most uses of) GUI
...
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.
Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net >
Tested-by: Peter Foley <pefoley2@verizon.net >
2012-12-25 17:53:25 +00:00
Noel Grandin
3d4288c1c0
fdo#46808, remove some more XMultiServiceFactory fields
...
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
2012-11-30 13:59:47 +01:00
Noel Grandin
2cf0f6ea36
fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactory
...
Change-Id: Iea7b21621c5d341468976507684a9c01f0822034
2012-11-30 13:59:47 +01:00
Fridrich Štrba
e46e96ca7c
Disambiguate for Visual Studio 2010
...
Change-Id: I5251c0d04aef6b0f9d8e306a9b8ff9469521c3eb
2012-11-30 09:53:17 +01:00
Noel Grandin
56ea15091c
fdo#46808, use service constructor for i18n::Collator
...
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
2012-11-28 13:06:18 +01:00
Michael Meeks
f78a2bcce8
re-base on ALv2 code. Includes:
...
Patch contributed by Herbert Duerr:
#i118662# remove berkeleyDB from module xmlhelp (author=orwitt)
http://svn.apache.org/viewvc?view=revision&revision=1213188
#i119141# remove ISCII converter for now
http://svn.apache.org/viewvc?view=revision&revision=1306246
make exceptions for cppunittester verbose
http://svn.apache.org/viewvc?view=revision&revision=1174831
Patches contributed by Pedro Giffuni:
Avoid some uses of non portable #!/bin/bash in shell scripts.
http://svn.apache.org/viewvc?view=revision&revision=1235297
Patch contributed by Oliver-Rainer Wittmann
88652: applied patch, remove unicows deps
http://svn.apache.org/viewvc?view=revision&revision=1177585
drop OS/2 code, remove in-line assembler ARM atomics,
and obsolete armarch header.
2012-11-21 14:52:11 +00:00