c69ae9f8f8
comphelper: EmbeddedObjectContainer::GetObjectStream methods
...
These methods were added to provide access to the stream to the
embedded object itself.
Change-Id: I0a47a54852cddbd5ddd0a6599bba21999afd96ba
2014-02-24 13:24:52 +01:00
20a174ac12
comphelper: code refactor
...
Change-Id: Ica71d0691cf02aeaa03b6570015d9828cd7daeed
2014-02-24 13:24:51 +01:00
0ce0c369aa
Remove unneccessary comments
...
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-23 03:38:49 +00:00
d12e472474
comphelper: sal_Bool -> bool sequel
...
Change-Id: I2b9bd19abf4510fccef0374a539069cb8222ccae
2014-02-19 14:31:09 +01:00
05f742d28b
comphelper: sal_Bool -> bool
...
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17 17:55:19 +01:00
faced6b5f7
ucbhelper: sal_Bool -> bool
...
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
2014-02-17 17:55:18 +01:00
f45183d26f
Unwind comphelper::OPropertyContainer_Base typedef
...
Change-Id: Ied87e18f8297fb8e85fdbcab38d719664e3ed066
2014-02-12 12:03:28 +01:00
3ec9bccaab
silence coverity#1027865 Out-of-bounds access
...
and coverity#1027864
Change-Id: Ic3d1b91ef77ab3510c7428b7135dd9f249d56b4b
2014-02-07 09:03:48 +00:00
ac6e8ac7e4
typo fixes in comments
...
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06 23:22:30 +01:00
e17cf91032
fdo#54938 Convert comphelper and vcl to cppu::supportsService
...
Change-Id: I391a7324bf92208fe632dac17874943343b1f65a
Reviewed-on: https://gerrit.libreoffice.org/7757
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com >
Tested-by: Marcos Souza <marcos.souza.org@gmail.com >
2014-02-05 14:29:57 +00:00
d98d2ad0cb
Remove needless SAL_DLLPRIVATE annotations
...
Change-Id: Ib8d1eae0dce29756da626c73db75f59666bb0ea5
2014-02-03 16:05:10 +01:00
9e77c2fb7c
Remove UNOIDL "array" and "union" vaporware remnants
...
...and deprecate what cannot be removed for compatibility.
Change-Id: I1ea335af775b867b468b8285113631167729a92a
2014-01-31 10:15:47 +01:00
9bd0e895a4
coverity#1079000 Uncaught exception
...
Change-Id: I7ffee42abe03c34d68b6168328143666d72e7efc
2014-01-29 16:41:32 +00:00
1b574435a5
bool improvements
...
Change-Id: I17c451d33d6d5e4edf0304ff47d63ac878d7e5d9
2014-01-28 20:24:39 +01:00
7cc3e9ca0c
coverity#706277 Uncaught exception
...
Change-Id: I1941e0a3a662faaac1fb9374437f3984b3a5c6d8
2014-01-27 17:03:04 +00:00
0535281003
coverity#707679 Uninitialized scalar field
...
Change-Id: I41c98456506a3ef843362b20c4db4a8d409319d6
2014-01-27 15:23:17 +00:00
7677c52ae1
coverity#705787 Dereference before null check
...
Change-Id: I4d6e4ddaa104a025349c55ab75263004a6b2b6bf
2014-01-27 15:23:17 +00:00
8df4ce0ebe
coverity#1130481 : Uninitialized scalar field
...
Change-Id: I41025a3dfe16af9417b1ae8c7668c76cb501c7b9
2014-01-26 22:40:27 -06:00
930202b0b2
Maybe this bool clean-up avoids false -Werror=maybe-uninitialized on Android
...
Change-Id: Iab12cc703d190e79650f73c646a2fbb60c6685c5
2014-01-22 15:03:23 +01:00
db6f8f9f89
fdo#73549 do not resolve empty locale here if not determined yet
...
Change-Id: Iad03d6209a2b4024b27c6195195e5aa557c295fe
2014-01-19 15:04:08 +01:00
82625bb98e
remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
...
Convert code like:
buf.append( static_cast<sal_Unicode>('!') );
to:
buf.append( '!' );
Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
b55259eeb5
typo fixes
...
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
962d4b35bd
css.logging.SimpleLogRing.create() calls initialize w/ empty Arguments
...
Change-Id: Iffcab3831b40ce309aa20fdb825328ebb4dd1064
2013-12-19 20:52:25 +01:00
ab9e014d6f
Some clean-up
...
Change-Id: I8ea3018efb01069b9a0555d9ac4ddfa89a990ba8
2013-12-12 15:10:35 +01:00
3f3c755475
Remove newly unused comphelper/TypeGeneration.hxx
...
Change-Id: Ia63e07fa6f56f4797e2741f6800cb96559ff4928
2013-12-12 15:10:35 +01:00
45c0a6174d
Simplify comphelper::PropertyInfo
...
...as its sole two uses (in sw) are already fine with initializing arrays of
it dynamically, there is no harm in changing it and thereby getting rid of the
last use of comphelper/TypeGeneration.hxx.
Change-Id: I11931dbbec48dac5a694a59cf6425206c806fbfb
2013-12-12 15:10:35 +01:00
83e191e25d
Do not use C++-UNO internal static_type functions in client code
...
...use cppu::UnoType instead.
Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
2013-12-12 11:10:10 +01:00
a62c2a5fa5
Don't hold css::uno::Type instances by pointer
...
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the
arrays of such need to be initialized dynamically anyway, also change their name
members to proper OUStrings while at it. Plus some const clean-up.
Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-12 08:26:40 +01:00
108eee306e
Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'
...
Except for our external api where the Oriya is stuck (and similar for
the vba implementation)
Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11 15:11:18 +00:00
123e2c3e93
Revert "Don't hold css::uno::Type instances by pointer"
...
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now:
Ach, old GCC doesn't like plain string literals to initialize members
of OUString type...
Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11 15:38:30 +01:00
90f91088d2
Don't hold css::uno::Type instances by pointer
...
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the
arrays of such need to be initialized dynamically anyway, also change their name
members to proper OUStrings while at it. Plus some const clean-up.
Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11 15:16:51 +01:00
b0926378ac
Clean up includes of comphelper/stl_types.hxx
...
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06 17:56:11 +01:00
0fa31bed9a
Default OMultiTypeInferfaceContainerHelperVar equalImpl parameter
...
...and assorted OUStringHash clean up
Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
2013-12-06 12:03:59 +01:00
4a8175ebeb
Get rid of DECLARE_STL_USTRINGACCESS_MAP
...
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-12-06 08:04:22 +01:00
6eac9deadd
remove unnecessary RTL_CONSTASCII_STRINGPARAM in OUString::equalsL
...
Convert code like this:
if (aStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem")))
to:
if (aStr == "rem")
which compiles down to the same code.
Change-Id: I2dfa0f0a457c465948ecf720daaa45ff29d69de9
2013-11-21 13:29:29 +02:00
d454834895
Revert "remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls"
...
This reverts commit acebbee971136e6ee0a7bc75bd57d937d6e1c295.
I mistakenly converted OUString::equalsL calls to OUString::startsWith
calls.
2013-11-20 16:38:28 +02:00
acebbee971
remove RTL_CONSTASCII_STRINGPARAM in OString::equalsL calls
...
Convert code like:
if (aByteStr.equalsL(RTL_CONSTASCII_STRINGPARAM("rem")))
to:
if (aByteStr.startsWith("rem"))
Change-Id: I09e40b3fdc87d59a8176c2a5f39cc6aa5cf5a576
2013-11-20 13:56:08 +02:00
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
ab5d1fbfb4
SAL_WARN_UNUSED com::sun: ⭐ :uno::Any
...
Change-Id: I9058044d13f696e07667dce706f6c311af6dbea0
2013-11-14 21:02:40 +01:00
24cad6a649
Move MediaDescriptor from comphelper to unotools
...
...so it will be able to use SvtSecurityOptions internally.
Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14 11:13:24 +01:00
8061c8c70b
Make requestAndVerifyDocPassword var with MediaDescriptor a mem fn of latter
...
Change-Id: I645d554c7ce592d93ca0696fa7e6068ce40c9058
2013-11-14 11:13:23 +01:00
faa60fd397
-Werror,-Wunused-member-function
...
Change-Id: I972a0b6e73c1302cdd27b6ed88d0d1a3cb598816
2013-11-14 10:14:57 +01:00
bcb51cff22
fdo#63020: Replace ::comphelper::stl_begin()...
...
And use some templates inside include/com/sun/star/uno/Sequence.hxx
Change-Id: I48875fa1517751fc4cb0cf2b6c08b88975a29b47
Reviewed-on: https://gerrit.libreoffice.org/6599
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Stephan Bergmann <sbergman@redhat.com >
Tested-by: Stephan Bergmann <sbergman@redhat.com >
2013-11-07 10:43:34 -06:00
0e6a2601b3
Convert code that calls OUString::getStr()[] to use the [] operator
...
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-11-04 08:06:10 +02:00
a2f9c446b7
Some clean-up
...
Change-Id: I8ef80b7ae952428a62cc1cea8b03219b77a83e99
2013-10-28 13:48:14 +01:00
176ac1e616
Remove unnecessary SyntaxHighlighter::Tokenizer statefulness
...
...which reveals that SyntaxHighlighter::notifyChange does nothing, so remove it.
Change-Id: I49834af29081ee703d9e62e182e3c1f8ce7e212e
2013-10-28 13:48:14 +01:00
c99267b326
Fold SyntaxHighlighter::initialize into ctor
...
...which reveals that m_pKeyWords, m_nKeyWordCount members are unused.
Change-Id: I55020e892d463f2e40d5bcf71efba92778b317c1
2013-10-28 13:48:14 +01:00
6aa24e7565
Move implementation details to syntaxhighlight.cxx
...
(and clean up a little)
Change-Id: I6e660708d8ca1509b89b306cd428dc38c8b03f2c
2013-10-28 13:48:14 +01:00
f5e8be8bb1
Remove unused SimpleTokenizer_Impl::nLine/nCol
...
...which are never read; remove thereby unused parameters from functions.
Change-Id: I644d2dc1b2d13ae2f932d04243521eef97e67e3e
2013-10-28 13:48:13 +01:00
0827aba84e
Correctly fix "Terminating NUL" fix
...
1cbe2313edda8a04f0fe233b4a29ef4e2485f557 "Terminating NUL at end of its buffer
is not considered part of OUString" was a thinko that cut the last character off
the last reported HighlightPortion on a line.
Change-Id: Idbe74676e85749cd93854293c6f49c7581414562
2013-10-28 10:47:19 +01:00