11329 Commits

Author SHA1 Message Date
Caolán McNamara
951a9aa2f0 remove explicit AdjustLayout calls post .ui-ification
Change-Id: Iab4e3b661d99d1a84b1d11853d1abdf28436d895
2014-01-29 10:57:21 +00:00
Caolán McNamara
744c6ac9ae convert database properties dialog .to ui
Change-Id: I63c046f1637248e274698dbe13130124669e0712
2014-01-29 10:57:21 +00:00
Caolán McNamara
a251d3593a missed a non-local STR_PAGETITLE_CONNECTION conversion
Change-Id: If711a458aa5c099621e4833117985d111a8f8d05
2014-01-29 10:57:20 +00:00
Caolán McNamara
0d2a2527a8 make these resources non-local, simplifies for ui conversion
Change-Id: I2654cf0522f2f04cd4a14d0e04f18f26e175e354
2014-01-29 09:26:18 +00:00
Stephan Bergmann
9cc60839f3 bool improvements
Change-Id: I294b930214ce82033402afecf2b3eb2d04299505
2014-01-28 20:26:29 +01:00
Matúš Kukan
ba8413d262 Introduce com.sun.star.frame.theUICommandDescription singleton.
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28 18:52:22 +01:00
Caolán McNamara
be3df1df76 coverity#707747 Uninitialized scalar field
Change-Id: I6bc4dbdd46a945d77b85ef8ec9c6333784cd0039
2014-01-28 17:06:24 +00:00
Caolán McNamara
f244845c89 coverity#705144 Missing break in switch
Change-Id: Ie3c28d7172ec17ed7de6033c6eada6fb66d1cdf2
2014-01-28 15:19:33 +00:00
Caolán McNamara
d786af6820 coverity#705141 Missing break in switch
Change-Id: I9b94f1056fa62b2c0c609f6d448e1750bb0e9ce5
2014-01-28 15:19:33 +00:00
Caolán McNamara
eab105e943 coverity#705140 Missing break in switch
Change-Id: I1b08e9afda2eeb3c4c79154376f34cad3e1f0a4c
2014-01-28 14:30:44 +00:00
Tor Lillqvist
87192f1a4a Workaround for MSVC error C2216: 'override' cannot be used with 'inline'
That error is as such apparently bogus, but using 'inline' is
pointless cargo cult there anyway, so drop it.

Change-Id: I37b826050006e853db724248bac4f22cceece792
2014-01-26 19:04:30 +02:00
Stephan Bergmann
3b4b4ed3b3 Edit::IsModified should return bool
Change-Id: I0aafdd37c73cd47b9dc68b60a32db35c8c11f455
2014-01-26 12:28:09 +01:00
Miklos Vajna
acdfb25935 dbaccess: disable hanging close() for now
I don't know why it hangs, but seems even without closing, the test
still fails after reverting fc9080a0c60f263d00eb71111fcda72b3c0a2ebb
(fdo#67685 open xSourceLibrariesStor only when needed, 2013-08-02).

Once the test no longer hangs, of course feel free to add this back.

Change-Id: If124b7f57a8fa2d522ebdb448366aec6f1ff4987
2014-01-24 22:47:59 +01:00
Matúš Kukan
ef597d80dc Introduce com.sun.star.task.theJobExecutor singleton.
To replace com.sun.star.task.JobExecutor single-instance service,
incorrectly converted in 748aa84e9808ad31c6ff6b71459525c82de10e58

[including changes by Stephan Bergmann <sbergman@redhat.com>]

Change-Id: I4cea2c63a20b5b22f6e1f822fb35fcc4d0397687
Reviewed-on: https://gerrit.libreoffice.org/7609
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-24 14:24:34 +00:00
Caolán McNamara
800857bcbb convert dbwizard final page to .ui
Change-Id: Ib31810170574e46b84a9847b25585fee791d630d
2014-01-24 11:05:46 +00:00
Stephan Bergmann
fffacd58d8 bool improvements
Change-Id: I20fbe8d5b25460959d4192f18431a585dbfb260f
2014-01-24 08:36:34 +01:00
Caolán McNamara
ebf5e613a5 SfxNoLayoutSingleTabDialog not needed anymore
all single tab dialogs are .ui enabled now.

So now we can remove SfxNoLayoutSingleTabDialog and merge SfxSingleTabDialog
and ~SfxNoLayoutSingleTabDialogBase together

Change-Id: If0acc792d85b7d399572257d7e9b0e12993ba3fe
2014-01-23 16:02:10 +00:00
Noel Grandin
16a2e90335 remove SvStream::operator<< methods
.. and convert the last few places still using those methods.

Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd
Reviewed-on: https://gerrit.libreoffice.org/7495
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-22 22:00:47 +00:00
Noel Grandin
d803483f6a convert more SvStream::operator<< calls
.. to more explicit SvStream::Write* calls
This was done using another run of the clang rewriter, and then
a lot of hand tweaking to fix all the places where the rewriter
did not play nice with various macros.

Change-Id: I7bcab93851c8dfb59cde6bc76290c6484d88fb18
Reviewed-on: https://gerrit.libreoffice.org/7494
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-22 22:00:39 +00:00
Stephan Bergmann
bbd9668d5f bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-22 15:00:54 +01:00
Arnaud Versini
5b2ba8ed5d DBACCESS : Remove usage of DBG_CTOR and DBG_DTOR.
Valgrind is capable of detecting such bugs. No need for extra macros.

Conflicts:
	dbaccess/source/ui/dlg/tablespage.cxx

Change-Id: I25ea9174a042050efdb371246417ee7f2edae997
Reviewed-on: https://gerrit.libreoffice.org/7532
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-21 16:20:10 +00:00
Caolán McNamara
656babddbc wrap long text in tables filter dialog
Change-Id: I64f513969ff8eae48da4b55449439ea61b828645
2014-01-21 15:08:43 +00:00
Caolán McNamara
5c72a213c7 convert table filter page to .ui
Change-Id: I7bfb7698e2a5303b492766fba564c7b9033bcc52
2014-01-21 14:55:46 +00:00
Caolán McNamara
d2c2ab1cb6 tidy up OTableTreeListBox to make it easier to .ui-ify
Change-Id: I2463d665c857425bc4cf9df89338a0aab89f0a90
2014-01-21 12:17:38 +00:00
Caolán McNamara
9eebbbcbf7 convert OTableSubscriptionDialog to SfxSingleTabDialog
Change-Id: I8335012139ccaf58bc18d0779e63a5bc388c9fb4
2014-01-21 12:04:29 +00:00
Caolán McNamara
85f1c4a2cb convert advanced db settings dialog to .ui format
Change-Id: Ia3152b7cc5edd89f37c78841e10bb5feacc6fc12
2014-01-20 16:38:42 +00:00
Stephan Bergmann
602c87b425 Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
Stephan Bergmann
3e5ff1f8d4 Be explicit when using bool as integral value (as Link return value)
Change-Id: I3b345be909ed2cb93cd0d478af4b26c9909d2726
2014-01-17 18:45:14 +01:00
Stephan Bergmann
04683f1488 Window::Notify should return bool
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17 16:42:29 +01:00
Caolán McNamara
3a806d027c convert field dialog to .ui
Change-Id: Ic268c17941038319240bb70d59d04c9b9a7a2412
2014-01-17 15:00:01 +00:00
Stephan Bergmann
62951cdd17 Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.

Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +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
Caolán McNamara
48ed1d39a0 make dbaccess xub_StrLen free
Change-Id: I2c91c23f3dabacdb4ee65c18dc73f096041b74a9
2014-01-15 15:36:23 +00:00
Stephan Bergmann
854da46a4b This shall probably use the value of getMaxColumnsInIndex()
Change-Id: I1ae85e416440768ab40c817506d5b106289c4d72
2014-01-14 21:28:06 +01:00
Stephan Bergmann
67afa78a4b bool improvements
Change-Id: Ie957ab2b63facc15a990f22347ce2393f6bb6a44
2014-01-14 21:28:06 +01:00
Caolán McNamara
1b7a5c634a disentangle CalcSize
Change-Id: I42248ff611dbe7c109076da5d548717898341be3
2014-01-13 09:50:11 +00:00
Caolán McNamara
3a81e90a45 longparas: lift 16bit max edit length
Change-Id: Ide74f0a48f06cbe9539f16ef6c6d04bba043dcf9
2014-01-11 20:18:19 +00:00
Michael Stahl
f60b61b2cf dbaccess: ODF export: set "Version" property on target Storage
... like SfxObjectShell::SetupStorage() does, and not on the property
set that is passed to the XML export filters where it probably does
nothing.

Change-Id: I21da1b92fc921eb47e492169e69ef15ac2f0e19d
2014-01-10 18:07:14 +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
Caolán McNamara
e976829658 convert sort options dialog to .ui
Change-Id: Ic110c6d2fb1f1fc28344c119eaa1b61d0ba81e6b
2014-01-09 09:29:35 +00:00
Stephan Bergmann
6e12fb3be3 Consolidate XServiceInfo for classes derived from SvXMLImport
Change-Id: I5a269d8b7e95049c67ae14b06a79b417bc91a474
2014-01-09 10:12:19 +01:00
Stephan Bergmann
31911b3cdc Consolidate XServiceInfo for classes derived from SvXMLExport
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
2014-01-08 14:11:58 +01:00
Stephan Bergmann
1f44df47a5 Fix build
Change-Id: I7a5a647d0c0c5d86f0c7add7977c00f741d0ee40
2014-01-07 18:11:48 +01:00
Lionel Elie Mamane
7b7e3e48b8 typo: type attribute of xlink:href is also in xlinkk namespace
Change-Id: I229358f80a47d5644b068a9813faf60a3a7bd419
2014-01-07 17:30:00 +01:00
Lionel Elie Mamane
67db0c190e to set version property, it should exist...
Change-Id: I1ca20da284f61c54ea04a27e5a27a84041c505e5
2014-01-07 17:18:09 +01:00
Lionel Elie Mamane
4933d0578e ODB ODF standard conformance: xlink:href needs xlink:type
Change-Id: Ide0fc9331a62c1ddb1f7fe9aaee8a27ed35af8e7
2014-01-07 17:13:28 +01:00
Julien Nabet
d53e4cca09 Typos (comand -> command)
Change-Id: I968b23bc681f3121f4ed9f7e4a1e4f47bedcccb2
2014-01-01 15:49:56 +01: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
Caolán McNamara
297f5b525f convert col width and row height dialogs to .ui
Change-Id: Ic64d2e0e296b8d2ed06162e1f778194486fb6fed
2013-12-26 09:59:39 +00:00