Commit Graph

10141 Commits

Author SHA1 Message Date
Kohei Yoshida
ba4324917a More fine-tuned stroke patterns.
Only the pixel map mode is visually inspected.

Change-Id: Ia8ac978a0d3049d7e7162f1157822b85d475dfdf
2014-01-17 11:33:13 -05:00
Kohei Yoshida
5cdb7a5934 Remove STYLE_* and use css::table::BorderLineStyle instead.
Change-Id: I187511dbf85ecdfe0c5d05c6f77cf4ac93363051
2014-01-17 11:33:11 -05:00
Stephan Bergmann
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
Petr Vorel
db27efd297 removed some unused code (svx, svtools, unotest)
Change-Id: I1250581d69423030bd0a93a1529458b8d424ce3e
Reviewed-on: https://gerrit.libreoffice.org/7329
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17 13:50:26 +00:00
Matúš Kukan
9f6534100c Pass initialize arguments directly into ODocumentCloser' ctor.
Change-Id: I1bcfe6d59230a4137b0f78d072c895e596ff6f15
2014-01-17 12:25:09 +01:00
Bjoern Michaelsen
7f7a0275be fdo#71511: reload ColorConfig after tweaking relevant a11y settings
note that the autodetect HC option is somewhat broken anyway:
it resets the icon theme hard, so there are not simple roundtrips
enableing/disabling it for that, but those havent been there before
either.

Change-Id: Ia35a41717224dfb7437054bb885c61d7e0b189d7
2014-01-16 23:38:30 +01:00
Bjoern Michaelsen
7b0e8b9c85 fdo#71511: in autodetected a11y HC mode, pull background color from theme
- dark theme default to high contrast
- as per fdo#35365, having a dark document background is inconvenient
  for non-a11y endusers
  - a11y standard require the (rather ugly) background for a11y
  - thus, when "automatically detect high contract mode of operating
    system"
      in Tools->Options->a11y is enabled, use the dark document
      background
        by default, otherwise use a white default

Change-Id: Id8ad1eb3d57b3708ac5a241092208e3a8d98ade0
2014-01-16 21:45:17 +01:00
Noel Grandin
c648d08720 convert SvStream::operator<< overloads to more explicit methods
This is in preparation for more conversion of SvStream::operator<< calls
to use more explicit method names.
This converts the subclasses that have their own convenience overloads
of operator<< to use normal methods.

Change-Id: I5efd5d9a24c264cb86d2471303dd5849bf91ba80
2014-01-16 16:08:34 +01:00
Marcos Paulo de Souza
cf51afb026 fdo#54938: Convert svtools to cppu::supportsService...
...final part

Conflicts:
	svtools/source/filter/SvFilterOptionsDialog.cxx

Change-Id: Ie4a0a7ea8ec65b3e632d06627bba40a26c9a7a91
2014-01-16 10:24:56 +01:00
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 58ea27124a.
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
Zolnai Tamás
d1c74734c8 Transex3: NO_LOCALIZE_EXPORT
In the past, NO_LOCALIZE_EXPORT macro must be used to
skip uneeded parsing of src files which has no localizable content.
It is unsued by now and it is more effective to handle
this files on gmake level:
gb_SrsTarget_add_nonlocalizable_files
gb_SrsTarget_add_nonlocalizable_templates

Plus remove some empty src file.

Change-Id: I8fc9b2db0b5fd7a3379d3c5be970c4fc691f4c53
2013-12-27 07:14:57 +01: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