Matúš Kukan
881c3dfaef
svt: Use constructor feature for OAddressBookSourceDialogUno.
...
Change-Id: Ie046b43f40bd704090bbca4d14ea5321ff7639d9
2014-01-16 10:24:53 +01:00
Matúš Kukan
67bb39e380
svt: Use constructor feature for GObjectImpl.
...
Change-Id: I324dd00205319fe4e8f7b0b352ed2ab6422fcbbd
2014-01-16 10:24:52 +01:00
Matúš Kukan
d5524ff99c
svt: Use constructor feature for Wizard.
...
Change-Id: I25e31c57c58e26e4de9d0ccc63ae1f6f0c86505b
2014-01-16 10:24:51 +01:00
Matúš Kukan
22c91244d4
svt: Use constructor feature for SvFilterOptionsDialog.
...
Also fix the implementation name.
Change-Id: Ic7c8c77b819c0368cfbc95f16f6cce09a6a3de16
2014-01-16 10:24:50 +01:00
Matúš Kukan
4337a0664f
Use const& arguments parameter for ctor functions.
...
Change-Id: I19ce8bd1a23123ac9a62a7fc95cd54fea5315221
2014-01-15 08:51:27 +01:00
Matúš Kukan
bdeb57c239
Initialize constructor based implementations in one place.
...
Change-Id: I324f25bb5ec7d792c3e015815f2a11b08f519764
2014-01-15 08:51:25 +01:00
Lionel Elie Mamane
6036ae611e
fdo#51180 reset (Multi)Selection on Clear()
...
Change-Id: I06dde63093eab4e5e1c692f6363aca70b89de96a
2014-01-14 18:54:09 +01:00
Caolán McNamara
e576b083c8
longparas: drop STRING_MAXLEN use now
...
Change-Id: Iaaca13e732c234e9051be0ab66a7625f9c106eea
2014-01-14 10:53:29 +00:00
Caolán McNamara
d18a5aa4da
longparas: STRING_LEN is intended here to expand to string len
...
so just expand it on entry instead
Change-Id: Ieb9c7501dccf9da91c7b8377ad75739cbe1c3609
2014-01-13 20:35:20 +00:00
Caolán McNamara
04d711e757
remove _STRING_HXX gibberesh
...
Change-Id: I618aa9a2752014d392516a578e454bf6443fc6ba
2014-01-13 20:35:20 +00:00
Stephan Bergmann
01f3186c4b
SvTreeListBox::ExpandingHdl should return bool
...
Change-Id: I39a854910299ab2e7c64beabda381bb9f0bd2891
2014-01-13 18:08:07 +01:00
Caolán McNamara
1b7a5c634a
disentangle CalcSize
...
Change-Id: I42248ff611dbe7c109076da5d548717898341be3
2014-01-13 09:50:11 +00:00
Julien Nabet
df1005452c
cppcheck: Add missing right parenthesis
...
Change-Id: I960ac0348bda310652edf36c0acc08f26c328946
2014-01-12 22:08:46 +01:00
Caolán McNamara
f8f18871b0
longparas: convert GetMaxVisChars from xub_StrLen to sal_Int32
...
Change-Id: I25fcfc3ae5a599bbd7ebef3071895ec9dbf2949e
2014-01-11 20:18:18 +00:00
Stephan Bergmann
e7a86f2d68
Use bool
...
Change-Id: I2f1c543b106e24ff49f876dbb3d8e94f4ebf03ba
2014-01-10 17:11:53 +01:00
Stephan Bergmann
680a5290a0
Use proper bool operations
...
Change-Id: I758a84205044e51f1af6b18f145e2033f32921e1
2014-01-10 17:11:52 +01:00
Stephan Bergmann
99ffbb9dc1
EndDialog takes long nResult, not bool
...
Change-Id: I04210f48f091a652b7867754484a9c5dd6b19471
2014-01-10 17:11:52 +01:00
Stephan Bergmann
d1043892df
SfxPoolItem::operator ==, != should return bool
...
...and SfxEnumItemInterface::HasBoolValue, too.
Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-10 17:11:51 +01:00
Noel Grandin
b69864f3f8
re-write SvStream operator<< to non-overloaded methods
...
This is the actual re-write.
Use a clang rewriter to rewrite SvStream::operator<< to methods
like WriteuInt32.
Note that the rewriter is not perfect, and I hand-tweaked the output.
In particular, I had to adjust places doing things like
(*this) << 1;
Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a
Reviewed-on: https://gerrit.libreoffice.org/7342
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-10 13:26:24 +00:00
Stephan Bergmann
dd8961ade2
Unused member
...
Change-Id: I17e34c4c906416f295d88484ad4e99840453226a
2014-01-10 10:56:25 +01:00
Luc Castermans
ee536e482b
Translated German comments
...
Reviewed on:
https://gerrit.libreoffice.org/7303
Change-Id: I6c5f4571ad691d19ca93c39550000114f263da8b
2014-01-09 19:11:03 +01:00
Luc Castermans
561775d5b5
translated German comments
...
Change-Id: Ie08b9e12f990b244806379ff29cf33cd0fab847a
Reviewed-on: https://gerrit.libreoffice.org/7300
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-01-09 18:03:30 +00:00
Luc Castermans
afcfe47703
translated German comments
...
Change-Id: I450e1e179edbc0332e2bcf4edee17664083c4786
Reviewed-on: https://gerrit.libreoffice.org/7296
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-01-09 17:31:57 +00:00
Matúš Kukan
eb89c6f7dc
Do not initialize FilePicker with empty argument.
...
This is tricky.
In constructor, we don't know if we were called by service manager's
createInstanceWithArgumentsAndContext or just createInstanceWithContext,
so we don't know if initialize should be called.
Let's assume that nobody would use createInstanceWithArgumentsAndContext
with empty argument. Then the behaviour should be the same as before.
FolderPicker does not seem to be called with arguments.
Change-Id: If33dc20fe1b2b10b092ff35fa0b258137c8e94b2
2014-01-08 22:14:11 +01:00
Matúš Kukan
df002e39f7
These implementations could inherit from XInitialization too.
...
Change-Id: I70493afcec837411b0f3c6d5165564d2cc0996db
2014-01-08 15:01:33 +01:00
Matúš Kukan
194bdbde25
Revert "make FilePicker::createWithMode not crash"
...
This reverts commit 58ea27124af27bfac21a796b0d13d72354bd0dd3.
It's probably better to fix it another way.
2014-01-08 14:59:30 +01:00
Matúš Kukan
ceffe83515
svt: Use constructor feature for ODocumentCloser.
...
Change-Id: Ia1a9593e3d1dbc41cf25f6a983cb340f48538226
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-08 14:35:00 +01:00
Noel Grandin
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
Luc Castermans
347af397ca
translated german comments
...
Reviewed on:
https://gerrit.libreoffice.org/7275
Change-Id: I86fef5ab012c7c464271afec3a0a5fa4d3c72f31
2014-01-07 08:42:55 +01:00
Luc Castermans
455b403aaf
translated German comments
...
Change-Id: I75c7611c36c15fb36e00de239f5b322adb182e73
Reviewed-on: https://gerrit.libreoffice.org/7273
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-01-05 19:06:44 +00:00
Efe Gürkan YALAMAN
d6f9ddb0aa
fdo#70465 SvTreeListBox::GetLevelChildCount refactored
...
Instead of iterating siblings returning count of parents child vector.
This slightly improves loading performance of "Expert Config" when accessibility enabled.
Change-Id: Ide1af3df19efaae9c0cc92086456bf3520ee5dd2
Reviewed-on: https://gerrit.libreoffice.org/7106
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2013-12-31 01:11:07 +00:00
Caolán McNamara
58ea27124a
make FilePicker::createWithMode not crash
...
i.e. calc->data->XML Source->"browse to set source" calls
com_sun_star_comp_svt_FilePicker_get_implementation with its
single argument in arguments as opposed to the empty argument
expected there.
So allow the single-argument case, and pass the argument through and apply it
automatically via XInitialization::initialize in Application::createFilePicker.
I'm far from sure that this is the right solution, but it has the advantage of
working vs crashing.
Change-Id: I07c1baae7f47781920eac56763e8fd003a7b99e1
2013-12-28 17:11:31 +00:00
Matúš Kukan
732c0f929f
svt: Use constructor feature for GraphicProvider.
...
Change-Id: I0cb66814c3dcbe38a92ada0dfcc0374313784a2b
2013-12-23 10:28:41 +01:00
Matúš Kukan
c04f3c0f79
svt: use constructor feature for HatchWindowFactory.
...
Change-Id: I0881c0994342816b8f0ac0281d884ce618d5e285
2013-12-23 10:28:40 +01:00
Matúš Kukan
a587899cb3
svt: Use constructor feature for GraphicRendererVCL.
...
Change-Id: Idb4cdfcdc8e06dca070bda5dd63e4291bb582e0f
2013-12-23 10:28:39 +01:00
Matúš Kukan
2fbb471567
svt: Use constructor feature for FilePicker and FolderPicker services.
...
Change-Id: Idb14acb8fdb737b592a358eaa221ca9b1e14e589
2013-12-23 10:28:39 +01:00
Matúš Kukan
3982ce50f9
svt: All files are compiled with enabled exception handling.
...
So, merge these files.
Change-Id: Icc8e221a40c70dc24a9fb048e06cf4fe7635fd02
2013-12-23 10:28:38 +01:00
Julien Nabet
151887a955
Fix other typos
...
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
2013-12-22 18:51:41 +01:00
Andras Timar
b55259eeb5
typo fixes
...
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Jürgen Schmidt
5f7d39a07e
Resolves: #i120065# apply patch for Enabled property in grid model
...
Patch By: hanya
Review By: jsc
(cherry picked from commit 0164d67071d06aa42213c4a66765b5d032ca84d3)
Change-Id: Iad363b75dd30722b10139b31c90b3d598deaaf30
2013-12-20 09:23:57 +00:00
Caolán McNamara
50d381109d
CID#736017 (unlikely) invalid iterator use
...
Change-Id: Ibc097bfbb5cbfa221aa20cea0eba4d168b17a95f
2013-12-19 11:31:10 +00:00
Caolán McNamara
1aef38545e
CID#736018 (unlikely) invalid iterator use
...
Change-Id: I56899cfa1010f547c2793b5248dc91a3ceb4cdb4
2013-12-19 11:31:10 +00:00
Eike Rathke
4256491ffe
the MS Serbian Latin Neutral mess
...
There are two LangID values mapping to Serbian Latin (without country)
which lead to the UI language selector displaying "sr-Latn" instead of
"Serbian Latin" because conversion picked the other one. Consistently
use LANGUAGE_SERBIAN_LATIN_LSO and don't trap into
LANGUAGE_SERBIAN_LATIN_NEUTRAL (whatever that might be).
Change-Id: I6ae6c2027048c99096b4d9d703a0dc73784b52f1
2013-12-18 18:53:08 +01:00
Norbert Thiebaud
4c539fac01
vcl get rid of xub_StrLen and STRING_LEN in outdev3
...
a new log section (sal.rtl.xub) is used to display alert in case of
suspicious len == 0xFFFF (aka STRING_LEN)
Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e
Reviewed-on: https://gerrit.libreoffice.org/7117
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-18 01:54:16 +00:00
Noel Grandin
909b27df48
remove unnecessary double calls to OUString constructor
...
Change-Id: Ib2690e3ec9987b97363687b61fe8ddae4ace9058
2013-12-17 11:49:04 +02:00
Noel Grandin
08fe82e59c
Remove unnecessary use of OUString constructor in + expressions
...
Convert code like
aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp");
to
aFilename = OUString::number(nFilePostfixCount) + ".bmp";
Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-12-17 11:49:03 +02:00
Michael Stahl
158b4df603
svtools: rename IAccessibleTableControl::dispose()
...
... to not confuse it with XComponent::dispose().
Change-Id: I056fdf77f9116d1c22f8ca9313a0ea313fb1c4aa
2013-12-16 16:21:09 +01:00
Jan Holesovsky
62ea355b26
fdo#72125: GetTextWidth() can get very expensive.
...
Let's just count an approximate width using a cached value when we have too
many entries.
Change-Id: I2113887c477bc774dd00df538ec1a01f102f4726
2013-12-12 09:57:42 +01:00
Stephan Bergmann
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
Caolán McNamara
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