599 Commits

Author SHA1 Message Date
Stephan Bergmann
98fba37bb1 Consistently let SetDesingMode functions take bool argument
...to avoid "warning C4805: '!=' : unsafe mix of type 'bool' and type 'sal_Bool'
in opertaion" style errors.  Additionally, mark those functions that are virtual
overrides as such.

Change-Id: I64f919f7e2d8f6224303f9bac67f6270d58de014
2014-01-21 10:39:12 +01:00
Stephan Bergmann
106cc77e3c warning C4805: != unsafe mix of type 'bool' and type 'sal_Bool' in operation
Change-Id: I212ea47cabb5c556b7d822e4f45aacb6c96cb6e8
2014-01-21 08:56:14 +01:00
Stephan Bergmann
602c87b425 Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
Stephan Bergmann
03725013b6 bool improvements
Change-Id: Ic46fa46c200b94e2e6c5a073ba89b9aae5c14542
2014-01-17 18:45:15 +01:00
Kohei Yoshida
ce8010b482 Remove warning and build error with MSVC.
Change-Id: I8eac2f5ff08968a885a8e413bf4db38092036957
2014-01-17 11:33:17 -05:00
Kohei Yoshida
9d2424a67c This is a struct.
Change-Id: Ieee10f9acb67453ac6c3d893d29330e19d96bdef
2014-01-17 11:33:17 -05:00
Kohei Yoshida
f2ff3b1054 Pass scaling to borderline primitive objects.
This will be used when generating line patterns.

Change-Id: I2fa0298bd3e34df1cb304d9be41e471835484d83
2014-01-17 11:33:14 -05:00
Kohei Yoshida
c04cff6e12 Make thse constructors non-inline.
Change-Id: Iaf23a9962c9dd748247cb986ffabb1a5ba173c09
2014-01-17 11:33:14 -05:00
Kohei Yoshida
5a0258868c Hide the implementation of svx::frame::Array.
Change-Id: Iad2d494bf7dd9f1f69e4e863aeaa514bf76c7c76
2014-01-17 11:33:10 -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
Caolán McNamara
36e590ee00 make use that these VclBuilders have an XFrame to expose its dispatch
the sidebar widget-layout enabled panels could use frame::XDispatch::dispatch
to send their commands directly rather than mapping back to SIDS and Executing
those, which would allow removing piles of weird-ass stuff

Change-Id: Ibbff56d4fb96820d3bdbf4b1cb582d25337fe48b
2014-01-16 20:37:54 +00: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
Sven Wehner
a0dff5e2e2 Translate German comments to English 2014-01-15 11:24:52 +01:00
Stephan Bergmann
b32b45c50c nFlags parameter to Window::Hide appears effectively unused
...there was a handful of Hide(true) calls, which would happen to actually mean

  Show(false, SHOW_NOPARENTUPDATE)

but I assume those were typos rather than genuine requests for
SHOW_NOPARENTUPDATE.

Change-Id: I20310d58437bb556f95965885f82784f855b517d
2014-01-14 14:56:42 +01:00
Stephan Bergmann
7c1415e06f Remove unused bForBrowsing parameter
Change-Id: I32b458390130e9ed83af0831069329ac8f672d67
2014-01-14 11:21:10 +01:00
Stephan Bergmann
0d0fd7b4fb PrepareClose should probably return bool
Change-Id: Ie62a6c1197594102bc68e246ae6059a9442ce314
2014-01-14 09:31:58 +01:00
Kohei Yoshida
10840ad753 fdo#72005: Insert the border rectangle to the bottom of the stack.
This will make the border and fill shape to be drawn first, then everything
else drawn on top.

This commit may look large, but it's actually a very trivial change. The
important part is in SvxShapeGroup where new methods have been added to allow
different insertion positions for the new shapes being inserted, and have
the chart2 code make use of it to insert the fill rectangle to the bottom
rather than to the top.

Change-Id: I999160daf6fc9ce3d7e641f57b1998543df1cc4e
2014-01-10 11:42:11 -05:00
Stephan Bergmann
d1043892df SfxPoolItem::operator ==, != should return bool
...and SfxEnumItemInterface::HasBoolValue, too.

Change-Id: Ia032e3d35a4c3b4c1efdc515ca36e466be03fc0a
2014-01-10 17:11:51 +01:00
Matúš Kukan
0196a81910 SvxShapeCollection is not used directly anymore; hide it.
Change-Id: I81c62c0a3ed880c0523e6ae54a27da56ff5acdca
2014-01-08 14:30:53 +01:00
Matúš Kukan
f7936b021f Do not use SvxShapeCollection directly.
Change-Id: I1dd51df0e78a3cc89cdfcaec91ffd9a753393e2e
2014-01-08 14:30:53 +01:00
Caolán McNamara
094869634d can drop SfxNoLayoutSingleTabDialog use here now
Change-Id: I668b4f0b767d3a93a1407ae4ba7922235815a28b
2014-01-08 10:13:50 +00:00
Caolán McNamara
be4035d00f convert callout tabdialog to .ui
Change-Id: If16ddb848eb0a46d0d5d91cb6366a6e268cd1b7a
2014-01-05 23:14:48 +00:00
Matúš Kukan
2978ddf60d svx: Use constructor feature for SvxShapeCollection.
Change-Id: If717b1d526e5d3e67adae4a224018b6da4bf09aa
2013-12-31 13:25:52 +01:00
Matúš Kukan
32b64a0ff6 svx: Use constructor feature for PrimitiveFactory2D.
Change-Id: I331602561b865a6ceb6971d0990565e5a84bb0d5
2013-12-31 13:25:47 +01:00
Matúš Kukan
6d564bac02 svx: Use constructor feature for SvXMLGraphicImportExportHelper.
Change-Id: Icc281ece80b81cdd95b6660c6a82077d283f5a62
2013-12-31 13:25:47 +01:00
Caolán McNamara
0139ec9dac convert add condition dialog to .ui
Change-Id: I0cc014909cf49d7cbfadcb5d5d8730395d558eda
2013-12-28 10:51:56 +00:00
Caolán McNamara
cc866c0297 convert additem dialog to .ui
Change-Id: Id85ad8dc81089b62a82eafbcea1b04ddccdbc50d
2013-12-28 09:51:28 +00:00
Caolán McNamara
2e359fbb18 drop converted RID_SVXDLG_ADD_SUBMISSION
Change-Id: Ice586c1dbe9adf52cdf8aa2b1a3fda8308f9da1e
2013-12-27 22:02:22 +00:00
Caolán McNamara
0c577b7e2a remove nasty _IMAPDLG_PRIVATE foo
and untangle orthogonal Update method names

Change-Id: I3f9edb406c3e330a62f58eccf6fc23c210f3994e
2013-12-27 22:02:22 +00:00
Caolán McNamara
accbda12df convert add submission dialog to .ui
and drop the rather lunatic over engineering hackery to make 6 local strings
non local

Change-Id: I619e3d6b5a2205a10407eed98eb3ca83945267e3
2013-12-27 14:58:02 +00:00
Caolán McNamara
8f6a574d4f convert add instance dialog to .ui
Change-Id: I92a82fb25b8b9d9cbedefb6fcebc7a4d167649bf
2013-12-27 11:52:23 +00:00
Caolán McNamara
fdc1b1fc17 convert search format dialog to .ui
Change-Id: I29db27f8adf2afda7e47b69c43b032758c1e7b24
2013-12-26 09:59:39 +00:00
Caolán McNamara
d80a79b018 convert text control character dialog to .ui
Change-Id: I4f8301578e01d3c7bf0ea912a5a9fc0beac70b4f
2013-12-24 23:06:53 +00:00
Caolán McNamara
2a1d60f76d convert text control paragraph dialog to .ui
Change-Id: Iedaa5db0add3e6f65d4e207f1514b8eb8344b6da
2013-12-24 22:24:45 +00:00
Julien Nabet
249107f62c Typos
Change-Id: I27ada8b5154968e521d9e67f21473aa85776e70e
2013-12-23 07:59:24 +01:00
Julien Nabet
151887a955 Fix other typos
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
2013-12-22 18:51:41 +01:00
Matúš Kukan
09af884e7b Revert "svx: split into direct implementation getFactories"
Also reverts "These services are in fact implemented in svxcore library."
This reverts commit 090674dcb085cd41f4628e4f07c9a2268a18e862
and commit 4a969ac35174520f1ffeb4f919f5d7bb6d99a628.

This is embarrassing; needs more work.
2013-12-20 22:58:29 +01:00
Matúš Kukan
4a969ac351 svx: split into direct implementation getFactories
Change-Id: I888f10a923dc2b97247b2a66cc6bd116eee280a7
2013-12-20 16:26:35 +01:00
Andras Timar
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Caolán McNamara
7715f7e6b9 CID#703891 RubyDialog::GetText orthogonal to Dialog::GetText
Change-Id: I131daae13b11b5242e9a32a94532463f6e0d925b
2013-12-19 12:06:22 +00:00
Caolán McNamara
fc946896ba convert fontwork spacing dialog to .ui
Change-Id: I0cf7fb84974741a162addb6c1fc393d3328f21cb
2013-12-16 15:54:26 +00: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
Stephan Bergmann
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
Stephan Bergmann
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
Muthu Subramanian
aa822c44b7 n#753460: Copying slides having same master page name.
Has part feature of getting hashes of SdPages.
(Misses hashing text, images, etc).
2013-12-10 17:29:20 +05:30
Olivier Hallot
56e1133f72 Convert chart 3D scene illumination to .ui
Change-Id: I55e56196818e181d16e74ae93376ff4ff1c4c395
Reviewed-on: https://gerrit.libreoffice.org/6998
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-09 20:32:52 +00:00
Caolán McNamara
8a8981c603 GetBasic and m_pBasic are unused
which is probably a good thing because it is zeroed in the copy ctor which
looks rather dubious

Change-Id: Ia082601982aaea5df92cf7aa9724cbe187716e0c
2013-12-09 13:43:01 +00:00
Stephan Bergmann
b0926378ac Clean up includes of comphelper/stl_types.hxx
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06 17:56:11 +01:00