Commit Graph

1094 Commits

Author SHA1 Message Date
fbffa4e79a convert include/editeng/editstate.hxx from String to OUString
Change-Id: Idd67b977dcf9de4b4d6f0e89e56413c8646d72d0
2013-09-11 09:45:33 +02:00
40abee2080 convert include/editeng/editview.hxx from String to OUString
Change-Id: I1d21fd48dfaa8cfe4a2807cd6e50e05db4c24e28
2013-09-11 09:45:33 +02:00
f1d4534b15 convert include/editeng/edtdlg.hxx from String to OUString
Change-Id: Ie42861b0f53e8493d7cff11593c1fa3ae5669843
2013-09-11 09:45:32 +02:00
e7c7f96b41 convert include/editeng/numitem.hxx from String to OUString
Change-Id: If353e9ee792d58cb7ae3a20072c7208e8f2e6ef6
2013-09-11 09:45:32 +02:00
c049ec8589 convert include/editeng/outliner.hxx from String to OUString
Change-Id: I53a9f334845e163625ed245859bdeb030ae61baa
2013-09-11 09:45:32 +02:00
b0f07a9648 convert include/editeng/paperinf.hxx from String to OUString
Change-Id: I6b358d82c30bdb079c5adb26d8fbcc20684ad5b5
2013-09-11 09:45:31 +02:00
15c9ed6bd3 convert include/editeng/pmdlitem.hxx from String to OUString
Change-Id: Ieb1dc1b3ad2002ef564f885e13a172f03d191a94
2013-09-11 09:45:31 +02:00
0f9976f9ce convert include/editeng/splwrap.hxx from String to OUString
Change-Id: I52e6e34776fe494da431f8387f5f330b9aca36fe
2013-09-11 09:45:31 +02:00
76fa859ac1 convert SvxAutoCorrectLanguageLists from String to OUString
Change-Id: Ib10ec6b9ab8d3a6538a5e6cafa349774d123531c
2013-09-11 09:45:31 +02:00
7b3f9c7375 convert SvxAutocorrWord from String to OUString
Change-Id: If06144ebd511653bc7bcf51b2a408e5e1732cb83
2013-09-11 09:45:30 +02:00
11986b61b2 convert SvxAutocorrWord from String to OUString
Change-Id: I4f70ebb03d5028db77ab3d86eb884462c92ec9dc
2013-09-11 09:45:30 +02:00
ac85b6cff1 convert SvxAutoCorrDoc from String to OUString
Also:
- simplify the return type of the GetPrevPara method, there is no
  need return an OUString by pointer
- simply the ppPara parameter of the ChgAutoCorrWord method,
  passing a pointer to a pointer to a value type is unnecessary.

Change-Id: I4a8c44fdab1cf68af88c34003827d1c20704f839
2013-09-11 09:45:30 +02:00
bde5457dd6 convert SvStringsISortDtor from OUString* to OUString
There is no point in storing pointers to a reference counted value
type.
It complicates memory management without gaining us anything.

Change-Id: I756dfad740de3203d88ba48d0ebdfb8671b41cfb
2013-09-11 09:45:29 +02:00
19c8de15df convert SvStringsISortDtor class from String to OUString
Change-Id: Iad22ba07dd3dfbd5162fa4e16ebb5f44c5eb7811
2013-09-11 09:45:29 +02:00
987356e22f convert include/editeng/svxfont.hxx from String to OUString
Change-Id: Ibee55393373d4b8bc9e17effc2f2bdf862c17cc9
2013-09-11 09:45:29 +02:00
af40ffdcef convert include/editeng/svxrtf.hxx from String to OUString
Change-Id: I4251db20727a987a36bbdb48e423aed95d3b9011
2013-09-11 09:45:28 +02:00
74bea5b0ab convert include/editeng/swafopt.hxx from String to OUString
Change-Id: Ic3686fb44cd1e448b9998f2ddc73f9bfd1b3aaa8
2013-09-11 09:45:28 +02:00
9fbb07cbf2 remove dead forward declaration
Change-Id: I8396304ab2b02002ff422a3ce07995dceaafe7a4
2013-09-11 09:45:28 +02:00
520deb6d25 convert include/editeng/unolingu.hxx from String to OUString
Change-Id: I9981e36a19d066df8fbc6827dca8d440b063cbed
2013-09-11 09:45:28 +02:00
ab0998c77c oox: Smart-Art DOMs stored in the InteropGrabBag
The XDocuments representing the DOM documents of a
DrawingML diagram (Smart-Art) are now stored as
the PropertyValues "OOXData", "OOXLayout",
"OOXStyle",  "OOXColor" and "OOXDrawing" into the
"InteropGraBag" property of the parent
SvxGroupShape created from such diagram.

Modified the oox::drawingml::dgm::Diagram class to
be able to hold the map storing the XDocuments and
its names. Added the getDomMap() method to obtain
the map directly and the getDomsAsPropertyValues
method to get the map as a sequence of Property
Values.

Modified the methods for importing and loading the
Smart-Art into the Diagram so they add
automatically the DOM documents to it.

Modified the oox::drawingml::Shape class to be
able to hold the sequence of PropertyValues
storing the XDocuments and its names coming from
the oox::drawingml::dgm::Diagram class. Added the
getDiagramDoms() and setDiagramDoms() methods.

Enhanced the
oox::shape::ShapeContextHandler::getShape() method
to add the extended drawing document to the
oox::drawingml::Shape class.

Modified the
oox::drawingml::Shape::createAndInsert() method to
store the sequence of XDocuments in the
"InteropGrabBag" property of the GroupShape
service SvxGroupShape implementation representing
a Smart-Art.

Change-Id: I7d0b9dfbfc9d5299ddd25fab394e5e9a422d1dd1
Reviewed-on: https://gerrit.libreoffice.org/5849
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-11 07:35:59 +00:00
c9489f68e8 added overrides for fallbacks of legacy codes
Change-Id: I62be84904b3f0f4beeda35e78906604090eefa86
2013-09-10 23:04:36 +02:00
20235b5910 CID#738542 uninitialized member
Change-Id: I77a08ab89aa4cdc5895fdd5152154ede8de10ba2
2013-09-10 20:43:59 +01:00
020e29fb95 convert singletons to preferred rtl::Static pattern
Change-Id: I44c4f742027124c517a37fd8b6a62fc69f62d55f
2013-09-10 20:18:52 +01:00
7a0ac3d38f CID#1038283 Resource leak
Change-Id: I7f8433a76079dc76d888fd250b3033d772887e4d
2013-09-10 18:51:44 +01:00
7d0f3695a2 Correctly handle empty cells for string arrays too.
Because we need to make a distinction between an empty cell and a string
cell containing zero-length string, I decided to switch to using
rtl_uString* array and use NULL values as empty cells.

Change-Id: I5bedb593507f34782e41a8a900602d445e5b1f6f
2013-09-10 11:47:45 -04:00
d50bd55c5d Parsing master presentation objects from 'objectlist.xml'
Parsing the property values of master presentation objects.
Also new functions added to comphelper module for expanding
filepaths macro to appropriate system file paths(for
configuration files present at 'Impress.xcs')

Change-Id: If0381a12155673e85103ddb5d51c34ae53fe2ecb
2013-09-10 13:14:30 +02:00
4bd3496425 CID#1079151 make it impossible to have an init m_eType
Change-Id: I04cc7fdc07e89b0a056f0012cdd00b43d29184e7
2013-09-09 20:22:46 +01:00
7560f765b3 unify strip previews optimal size in one place
Change-Id: I6ae1073d013c9d9bbca39c505955436cd4950d1b
2013-09-09 11:58:54 +01:00
a8dd49b9fc Convert dimension lines tab page to widget UI
Change-Id: I1d5176609e2acd0d70991a541196e2b9857576f8
Reviewed-on: https://gerrit.libreoffice.org/5879
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09 10:36:32 +00:00
888f71cc8d Seems an explicit destructor is needed
Otherwise it is unresolved in an optimising Clang build when linking libsc.

Change-Id: I5f4d3facfe79793607396b83722ebd65ad8bb2ba
2013-09-09 01:18:42 +03:00
5bb0c9d790 Use SAL_INFO instead of framework's own "event logging"
That "event logging" consisted of two macros, both used in a single place.

Change-Id: I8faffd9756399f1902e52aa41968b71a964a4324
2013-09-08 23:51:41 +03:00
04c3f9d185 Use SAL_INFO instead of framework's own WRITE_LOGFILE
Change-Id: Ieb1a45ca75c7a475d02535cd176396a0aeb68510
2013-09-08 23:51:41 +03:00
02740cbe0a Related: fdo#38838 drop String::EmptyString now as well
Change-Id: I849dbf3a40189e700036249b15dd8bde493083b6
2013-09-08 20:44:26 +01:00
7fd6d43c1d Related: fdo#38838 String::GetBufferAccess is now no more
Change-Id: I9fdd600fd0a530c0763875109eee6600e4a77879
2013-09-08 20:44:25 +01:00
ce9c390e1a Related: fdo#38838 String::ReleaseBufferAccess is now no more
Change-Id: Ib5390183e3d98a23f9243debfe3624561ca92535
2013-09-08 14:52:59 +01:00
a9ad0c3d4a convert already exists dialog to .ui
Change-Id: I6cb2a11b6ee2f94f611aa852c79dd1a6534381da
2013-09-08 12:07:48 +01:00
b9a1679f28 Remove duplicate defines in rtfkeywd.hxx
Change-Id: Iacb53db9df20d172a9d85fd52a4a41262ea9733c
2013-09-08 11:23:47 +02:00
b4f8efc3bc typo fix: absoulte -> absolute
Change-Id: Ib728cb9bac3f42e17649685b4413b9335f2dc2c4
2013-09-07 15:59:10 +02:00
e74fc88740 typo fix + unwanted link fix
Change-Id: I65d1817e5b48f14bb8035b2f2d6daeb75100add4
2013-09-07 15:25:45 +02:00
6ea6a422fb s/wiki.services.openoffice.org/wiki.openoffice.org/g
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-07 14:21:22 +02:00
801a657ea6 iString to OUString in some calc core code
Change-Id: I25fc70cfd01f5ad25f7362157796d3ddf06139e1
2013-09-07 12:55:45 +02:00
4cbc41bc4e bnc#779642 VML import: handle drawinglayer rectangle char spacing
Change-Id: I79fa72c9235682030d23a03fdb0c7c40370c4a8a
2013-09-06 18:39:00 +02:00
c77ec4fe42 Resolves: #i122985# Various speedups for graphic object swapping
(cherry picked from commit f18ad6132d79540431bf04f090a7472e21a23e49)

Conflicts:
	svtools/source/filter/jpeg/jpeg.cxx
	svx/inc/svx/svdundo.hxx
	svx/source/svdraw/svdograf.cxx
	vcl/source/gdi/pngread.cxx

Change-Id: I733551fa9447eb8f45e9163a9c0189f013b03e82
2013-09-06 11:20:47 +01:00
e462eb1183 Allow storage of string arrays in vector ref tokens.
Change-Id: Id2bc5a0343afeae387d896a9c369586a13081cd5
2013-09-06 01:38:31 -04:00
f506b89926 ColorControl.hxx: header guards still necessary in 21st century
Change-Id: I27e773327cdcdc80d7cee0591741a7e1f439afbf
2013-09-05 22:35:56 +02:00
f9e830d714 vcl: MSVC tinderbox can't tell Window from sd::Window
Change-Id: I2afc5e2b69a2ffc649dea5e5343fee63c96a594b
2013-09-05 19:06:25 +02:00
e13fd39593 getFallbackStrings() with bIncludeFullBcp47 parameter
so the various places that check the full tag first do not have to get
it just to delete it again.

Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-05 16:51:28 +02:00
8430357c7f CID#1079343 mContext.cipher is not initialized...
use protected to indicate that this is not callable directly, but only by
another ctor which will do the initialization. Not sure if coverity will grok
that, but if it doesn't then it can be submitted as a false positive

Change-Id: I8e97c0b441dc407a005913e2b10f0fb48f45672b
2013-09-05 12:52:09 +01:00
43b84bbba2 svx: new InteropGrabBag UNO prop in Shape service
Added the new InteropGrabBag property to the Shape
service and modified the JUnit UNO unit tests for
it.

Added specific implementation in the svx module
for the SvxShape class.

This new property is intended by now for its usage
on preserving OOX's Smart-Art but it could also be
used for preserving other attributes for
interoperability among document formats.

Change-Id: Idc7a8e91592399ff05effd4da6eaa2935f8f4d42
Reviewed-on: https://gerrit.libreoffice.org/5769
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-05 08:40:13 +00:00
8664e88bc2 XubString to OUString
And simplify:
SdrMarkView::ImpTakeDescriptionStr
SdrUndoObj::GetDescriptionStringForObject

ImpTakeDescriptionStr checks for %1 occurence first, this seems to me like an
optimization. So I left it in.

Change-Id: I2d0ecfdf2b83a9a535bd893578837e549dd691c1
2013-09-05 09:38:39 +02:00