Age | Commit message (Collapse) | Author |
|
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
|
|
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
|
|
Change-Id: I2f94c3d8d827ecabc6dd5e685bb40954fe2427c4
|
|
Change-Id: Ia3d1d8dbe100443410b80c3881f10ab51b2d0419
|
|
Change-Id: Ibb5b1c02a15fb1b6e4b45737b2afa9f065318071
|
|
This reverts mostly all of my hrc string cleanup commits. As Markus
stated in dc05a825e71316e6f602e5c8dfcd3d10ecb6252f those are erroneous
and mostly untested. And therefore absolutely unsave. I only did test
them by compiling and checking the main screens. Cleaning those files
seems to be much more complicated than I thought.
So to be absolutely save I do this huge revert. Sorry for this.
Revert "hrc cleanup: Further cleanup"
This reverts commit 60212988e1cd84169afb028a4255b6f935f1fd4b.
Revert "hrc cleanup: Remove unused strings"
This reverts commit 0e2d7550dd287843b70c03dee952c02f9bd8afb5.
Revert "hrc cleanup: Remove unused Strings in sfx2/source/doc/doc.hrc"
This reverts commit efb74b5dfdb773ba53b29080e1996a93d2c1cac2.
Revert "hrc cleanup: Remove unused Strings in cui"
This reverts commit 527e8f61868210c54bdad650f16390bda03c4353.
Revert "hrc cleanup: Remove unused Strings in desktop"
This reverts commit ac3800fbb9f3251276302b24fa0542441276a34f.
Revert "hrc cleanup: Remove unused cstitem.src"
This reverts commit ae95e31831916df760503bfc2496b7bc55bc638b.
Revert "hrc cleanup: Remove unused strings in wizards"
This reverts commit 20f9a1744319ecdf18c9ab6d0873bb586eb4d03f.
Revert "hrc cleanup: Remove unused Strings in sfx2"
This reverts commit c26d4d34467008418ebf138412e87886694c326c.
|
|
Change-Id: I96f76ed6b33f5c786d1e3ab3981a535037a9c1b5
|
|
Change-Id: I653cfce095ae55bc7644c02669757a17580917e3
|
|
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
|
|
To allow using SvxZoomItem in sfx2 zoomitem is moved from svx to sfx2.
This patch does base on Caolán McNamara's patch he sent to the mailing list.
Change-Id: I4d245f938d92ad3a20b692f5f76d8e0d00b1a648
|
|
Change-Id: I4fac64952abf208864281fda722d8b7242689395
|
|
Change-Id: I4e288a90f3b1662462ba06053343c8bab5fe46cf
|
|
I had to keep the pointer typedef because MacOS gcc gets
confused otherwise.
Change-Id: I0681585f7273dcac25b2cb835601b29353e2183a
|
|
Change-Id: Id738692aab2043755eb8f051dd8ab9e13051553a
|
|
More than two lines are removed for readability.
Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
|
|
Change-Id: Icd57ca7fd89e30c190c1b06dbe67c30bea8d1b59
|
|
Change-Id: If67f8e981e034890e4fde2280f537fdfff6af0ff
|
|
|
|
|
|
|
|
In this case, we also convert from storing pointers to storing
the items directly because SvxMacroTableDtor completely controls
the lifecycle of the SvxMacro objects it contains.
Also add an operator== to SvxMacroTableDtor and remove the out-of-line
implementations of equals from two other places.
|
|
|
|
|
|
* use consistent indenting with 4 spaces (instead of tabs (plus one space))
* use erase(it++) instead of erase(it); ++it to not access invalidated
iterator
* for First(); Remove(); Next() loops over entire Table use map::clear()
at the end if it isn't in a dtor
* use existing typedef SvNumberFormatTable in numfmtsh.hxx instead of
redefining, which means include zforlist.hxx now and some other forward
declarations can be removed
* removed inlined duplicated code of GetEntry(), implemented it in
zforlist.cxx instead and made const GetFormatEntry() just call GetEntry()
* removed the temporary sal_uIntPtr nFormat to be used as key, the sal_uIntPtr
was only used because Table effectively had pointer size as keys.
* made initial assignments of nDefaultFormat and nDefaultCurrencyFormat use
the ternary conditional operator
|
|
This patch converts one use of tools/table.hxx in
svl/inc/svl/zforlist.hxx, whose use in turn spans 3 modules.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
------
With the for loop below Insert(x,nPos) was previously applied but nPos
is initialised to the end of vector and is always incremented in every
loop iteration i.e. Insert(x,nPos) is effectively a push_back(x). Agree?
In "short SvxNumberFormatShell::FillEListWithUserCurrencys(....)"
Also get rid of SvxDelStrgs (variant of SvStrings)
|
|
Remove a function contained in unusedcode.easy that includes SvStrings.
|
|
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.
The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all
The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
|
|
This reverts commit d00fc0e293852cfc019ffaffa65bee327397677b.
|
|
The ones which use a definite 8-bit encoding read/write pascal-style
strings with a 16bit length prefix.
The ones which use a definite 16-bit encoding read/write pascal-style
UTF-16 strings with a 32bit length prefix, i.e. not ByteStrings at all
The "I dunno" ones might be UTF-16 strings or 8-bit strings, depending
on the charset. Rename to ReadUniOrByteString like the other
similar horrors to flag this misery
|
|
|
|
|
|
|
|
|
|
|
|
Bug 38831, replace SvULongs with std::vector in sfx2 and related svtools
|
|
Replace SvULongs with std::vector<sal_uIntPtr> and SvUShorts with std::vector<sal_uInt16>
|
|
This cleans up a lot of lifecycle nasties and cleans up some serious
cut/paste code duplication issues at the same time. Cleanup the
naming of ColorTable -> ColorList to match the impl. too
|
|
|
|
The class is now based on XPropertyList instead of XPropertyTable and all
of the other classed based on XPropertyList are named X..List.
|