b731d71c67
sfx2: Move InitInterface_Impl() method out of SFX_IMPL_INTERFACE.
...
SFX_IMPL_INTERFACE previously looked like a function; where in fact it is
several methods defined at once, and only the last one has a body.
This is extremely confusing and hard to read; let's kill that nonsense.
Change-Id: Ia4ae22eb58b1260c9c827c894f5345693bad49e7
2014-04-18 22:51:06 +02:00
f4d61eca61
sfx2: Kill SFX_CHILDWINDOW_REGISTRATION macro.
...
Change-Id: Icd56e0cee1ce0283e8a1cbaafc81ecca25469185
2014-04-18 22:51:04 +02:00
8fbbd1bd98
fix hacked bool in SfxDispatcher::SetSlotFilter
...
The bEnable flag was being passed an extra value.
Make this explicit now using an enum.
Change-Id: I292aca44e8592c9f3c1497c24c41140c8c3b5452
2014-04-15 09:02:32 +02:00
1531b523bf
Clean up function declarations and some unused functions
...
Change-Id: I7a2b5970fd0ab2059b5f5b0100a049e04ba54ee3
2014-04-14 17:55:32 +02:00
b1de52241c
svtools: sal_Bool->bool
...
Change-Id: Iaa489318f25107e91fc8133523fbd9d724493314
2014-03-24 08:12:08 +02:00
c3e3f46657
sfx2: sal_Bool->bool
...
Change-Id: I375a72c34e46778385a9fdc24c9ebd0f0a3f3c9b
2014-03-18 11:27:39 +02:00
ac01de882d
sfx2: sal_Bool->bool
...
Change-Id: I87c5a180566e9da185c2992844e6522e82c17747
2014-03-18 11:27:38 +02:00
0e5c02da6e
Fix indentation
...
Change-Id: I768699854c4e657e2d1b67d1a9b5ca5a925a05bd
2014-03-16 09:39:13 +01:00
684baef506
sal_Bool to bool
...
Change-Id: Ib19ecab287396dc6d6cf4a77dcf7072c5c4c84f8
2014-03-16 09:39:12 +01:00
c2324940d3
sfx2: sal_Bool->bool
...
Change-Id: If960d94f867a1988ace83975cf16441c6f8866b0
2014-03-14 07:50:33 +02:00
6c97bc4717
svx: sal_Bool->bool
...
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
2014-03-11 08:18:24 +02:00
12f1faf7bf
svl: sal_Bool -> bool
...
Change-Id: Ic31455a1f5ffffa35d4fdde901dd70734207b6f4
2014-02-20 08:17:00 +01:00
608953c425
bool improvements
...
Change-Id: Icac34936bdb551ad517170fd497212513719d2aa
2014-01-28 20:26:23 +01:00
3e5ff1f8d4
Be explicit when using bool as integral value (as Link return value)
...
Change-Id: I3b345be909ed2cb93cd0d478af4b26c9909d2726
2014-01-17 18:45:14 +01:00
fb84710151
simplify - use OUString::startsWith where possible
...
Convert code like
if( !aStr.isEmpty() && aStr[0] == 'x' )
to
if( aStr.startsWith("x") )
Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf
2013-12-12 13:15:24 +02:00
c5138cad87
fdo#68724: sw: fix crash on Insert->File with Hybrid PDF
...
This is an unfortunate combination of 2 special cases:
- the Hybrid PDF has its own XFilter implementation to extract the
embedded ODF document
- Writer needs to create a SwReader with SwPaM for Insert
Since the PDF XFilter uses a special service in sfx2 to implement
the import, handling this requires a new method in SfxObjectShell
that calls back into Writer to create the properly setup SwReader.
Change-Id: Ie85f3bfa322bfe883c479e1cb198a8bf0cbbac23
2013-12-05 13:00:27 +01:00
3b2f956ba6
Drop duplicate #include
...
Change-Id: Ife8ebbb5e46704c5d2ff46cc345b4ed926e7dc12
2013-12-02 01:02:06 +09:00
cc5518ca61
Integrate branch of IAccessible2
...
Change-Id: Ibf3be46e8619c2dce9636e8a90a6703f3e28ba33
2013-11-28 13:32:30 +00:00
2c35fff7ec
remove most use of RTL_CONSTASCII_USTRINGPARAM macro
...
This is largely unnecessary when working with OUString
Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-19 10:29:30 +02:00
5084e2b313
fix some further include guard foo
...
Change-Id: I949533327ec101a2baef6e6f66e79677a62c3d9f
2013-11-05 09:28:55 +01:00
1d3661cf91
Unwind FunctionReference typedef
...
Change-Id: Iaf1b041adf2220d6b0220a86d8ac0db38b3b8ebc
2013-10-25 15:42:11 +02:00
9de3cff361
String to OUString
...
Change-Id: I5ff57ede2217f1464571fb2beaa62a34425064ae
Reviewed-on: https://gerrit.libreoffice.org/5826
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-09-08 03:06:32 +00:00
bcbb20b0ef
Print images in grayscale when printing using the "Black & White".
...
Black and white color option found in Impress at
File-->Print-->Libreoffice Impress tab
Before change, images are printed in pure white, and hence
missing from the printouts.
Should resolve bug 62838, and is contributed under the LGPLv3+ / MPL.
Change-Id: I29e291c2f2baf95b5725b862625f6a206e4cb8ba
Reviewed-on: https://gerrit.libreoffice.org/5798
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2013-09-04 09:22:08 +00:00
4c8fd5abdf
convert DrawDocShell to OUString
...
Change-Id: I09e6f284024d00dbbc8a1c7b33684f4c23a650a8
2013-08-24 22:23:19 +04:00
3906f30371
cppcheck: fix reassigned value + fix indentation
...
Change-Id: I92ce0ce983b87528860fd56714e29338483b62ca
2013-08-23 07:32:02 +02:00
1edb495a45
convert GetName/Title/Description methods to OUString
...
Change-Id: Id16a2b29b1d6cf02b94cc6c423e2475a9cbeb8a3
2013-08-15 16:56:46 +04:00
197010643e
remove some more SfxObjectShell methods that only call each other
...
Change-Id: I71807adff43ce2cfb748764edcc5880cdbba746f
2013-07-27 00:45:20 +02:00
c0eb5e7772
Resolves: #i121448# Aligned default fill color/line style for all apps
...
(cherry picked from commit 81664c037c8d6094b66c1660b6eee9693eadf401)
Conflicts:
sc/inc/document.hxx
sc/source/core/data/documen2.cxx
sc/source/core/data/documen3.cxx
sc/source/core/data/documen9.cxx
svx/inc/svx/svdmodel.hxx
svx/source/svdraw/svdmodel.cxx
sw/inc/doc.hxx
sw/source/core/doc/docdraw.cxx
sw/source/core/doc/docnew.cxx
sw/source/ui/app/docshini.cxx
Change-Id: Id0f62f0cd5b83794e2dbaee4e8b6afa704a0c23a
2013-06-06 21:04:07 +01:00
4da833308a
Resolves: #i119902# Rename all master pages in a template...
...
not only the first one.
Patch by: Ma Bingbing
Review by: Andre Fischer
(cherry picked from commit 7daa651fbc74a6fc08d713282b9e25cda14e39e9)
Change-Id: Ibd8bf8c6f04785c93b7dae70b57fd9eb14623aaf
2013-05-12 16:28:12 +01:00
8546c324ff
Remove pass-through header file sot/inc/sot/clsids.hxx
...
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23
Reviewed-on: https://gerrit.libreoffice.org/3490
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-20 14:55:56 +00:00
3af6366dee
Remove pass-through header files sd/inc/eetext.hxx and sd/inc/app.hxx
...
Change-Id: Iaccc7c9d81b55ef3a039cb90c4e089ebfc7fe337
Reviewed-on: https://gerrit.libreoffice.org/3487
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-20 12:45:37 +00:00
0f200cc30e
fdo#63154: Change Min/Max/Abs for std::min/max/abs
...
Now all these usages were removed from LO.
Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-20 11:09:54 +00:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
38d3e115c1
vcl: make Region ctors explicit to prevent overloading desasters
...
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13 22:29:46 +01:00
f16d3484a7
Translation and cleanup of comments in sd/source/ui/docshell/
...
Change-Id: I714b2d1ccdd5392a3ebc32788b203a8484c6cf0b
2013-03-12 20:28:30 +01:00
0af31660ea
sd: translate debug messages
...
Change-Id: I8a50173babdd441c8247867fce0fdfbedaf0bc02
2013-03-11 22:51:53 +01:00
10bb5b8e24
fdo#38838, replacement of String with OUString
...
Replaced String with OUString in mediawindow.cxx, basdoc.cxx,
basdoc.hxx and bastype3.cxx. In other files I only replaced,
what was necessary for the changes in basdoc to work.
Change-Id: I1ad0e7e262f8becdf57f182853aaa914a88895a4
Reviewed-on: https://gerrit.libreoffice.org/2554
Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com >
Tested-by: Muthu Subramanian K <muthusuba@gmail.com >
2013-03-05 12:48:36 +00:00
55b00473eb
fix incorrect code alignment
...
Change-Id: I80f181966f0e47ec0030eeab7762a6b7fb0095cb
2013-02-22 13:48:54 +01:00
64cdf8072a
added EmbedFonts property, added File/Properties/Font tab
...
Change-Id: Id2a812c4b5347e2851149a1bd46eaec4b40d0f12
2013-02-22 12:05:30 +01:00
1443a9f7ab
[Uu]sefull -> [Uu]seful
...
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01:00
0c22f3eadd
Make LO buildable again after the GraphicFilter move.
...
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04 22:02:51 +01:00
837e2808f7
re-base on ALv2 code. Includes:
...
Patches contributed by Armin Le-Grand
#118898# Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles...
http://svn.apache.org/viewvc?view=revision&revision=1293316
#118485# - Styles for OLEs are not saved.
http://svn.apache.org/viewvc?view=revision&revision=1182166
Patches contributed by Andre Fischer
http://svn.apache.org/viewvc?view=revision&revision=1172128
http://svn.apache.org/viewvc?view=revision&revision=1172133
Patch contributed by Ariel Constenla-Haile
i#118505# - Remove MN_OLE_OBJECT menu item from Draw/Impress
contextmenu - CWS contextmenu1
http://svn.apache.org/viewvc?view=revision&revision=1182915
Patch contributed by Zhang Jian Fang
#118876#, Add check if the OutlinerParaObject is created successfully
http://svn.apache.org/viewvc?view=revision&revision=1243381
restore a re-based rdbedit.
2012-11-28 12:48:36 +00:00
2b6bdcc3da
- fdo#47707 - PRINTING: Printing windows wrong color indication
...
Change-Id: I77cd68b96452896d4eec9f4bbd5200bd65d77f2a
2012-07-31 11:06:51 +01:00
8089502118
fdo#51179: SearchAscii() is equal to indexOf(), not match()
...
regression from 8adec08d56a9ad46d3550e43b115e916c4cf783f
Change-Id: Ic1c3160be1c61162f6a62a7e14c4efb7bedccdcc
2012-07-10 14:42:16 +02:00
bccf34c19a
ditch String::CreateFromAscii
...
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03 21:24:35 +01:00
8adec08d56
More RTL_CONSTASCII conversions
2012-04-18 16:12:19 -03:00
4326d0bd27
More RTL_CONSTASCII_USTRINGPARAM removals
2012-04-13 20:47:56 -03:00
193581a7cc
removed duplicate includes in sd
2012-03-25 07:15:03 +09:00
db08c1ac5e
Fix for fdo43460 Part XXXI getLength() to isEmpty()
...
Part XXXI
Modules
sd
2012-01-10 23:08:01 -02:00
b97726f4b6
impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
...
# HG changeset patch
# User Christian Lippka ORACLE <christian.lippka@oracle.com >
# Date 1299763312 -3600
# Node ID 6b1140cdac81a77836e5be80033f328a0956c94a
# Parent 8edc33ef50a3b6ebbc4e88d574b6b1ba57b1dbaa
impress210: #i117133# put new drawing layer fill and stroke styles in pool only for newly created documents
2011-12-06 09:39:12 +01:00