summaryrefslogtreecommitdiff
path: root/svl
AgeCommit message (Collapse)Author
2014-04-21remove comments why a file gets includedThomas Arnhold
also remove some commented out code Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-11Introduce twip/mm100 conversion functions instead of duplicated macrosTor Lillqvist
Change-Id: Ib689e35b417e0e9016cd6a239c986e0603a99d62 Reviewed-on: https://gerrit.libreoffice.org/8837 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-11Use valid UNOIDL identifiers in TransliterationModulesExtraStephan Bergmann
ignoreDiacritics_CTL was introduced in LO 4.2, but is unpublished and appears to be rarely used, so changing it is hopefully OK. ignoreKashida_CTL is new in LO 4.3. Change-Id: I52c6d1e8c6b30eec4af22e3bbc72dd5874ef7151
2014-04-09Remove unused functionStephan Bergmann
Change-Id: I0d6f0d8a7ef851ef7ba1653d87db6a5bdbfb6d94
2014-04-08coverity#708261 Uninitialized scalar fieldCaolán McNamara
Change-Id: I997dad13c3b8931d1fd4eae09218b51cb4621263
2014-04-08fdo#77123: Add option ignore kashida to the searchFaisal M. Al-Otaibi
This patch will add new checkbox to ignore kashida in the search and replace dialog. Change-Id: I9e7179242751103b8418d922ade5b9145170ad15
2014-04-07Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: Id7ecd49ea03f225fc350a31437c32b4a738d7199
2014-04-06coverity#708246: Unitialized scalar fieldNorbert Thiebaud
Change-Id: I3136db825bea07b4b5977b6067db91375720ebed
2014-04-06coverity#708257: Unitialized scalar fieldNorbert Thiebaud
Change-Id: Ib46e6f5cb52cd47c4c9914b2f15633f5e6af1fe6
2014-04-06coverity#708260: Unitialized scalar fieldNorbert Thiebaud
Change-Id: Iffad31bc60748fe58fe3524776dd56e907586342
2014-04-04coverity#738855 Uninitialized pointer fieldCaolán McNamara
Change-Id: I3c1528f2dd8e3bde2672ebc153c9cb5c5c0a13fd
2014-04-04svl/eitem.hxx: sal_Bool->boolNoel Grandin
Change-Id: I45dfd2429a490af3cc80f51340e0c05a91425668
2014-04-04svl/visitem: sal_Bool->boolNoel Grandin
Change-Id: I3d6ceb4dc8cea901a5b1cdcf00efa9074c75cca0
2014-04-04svl/style.hxx: sal_Bool->boolNoel Grandin
looks like I missed a couple of methods in my earlier conversion Change-Id: I07871a451bb5954feab57de0af4f7d0678f9a7b3
2014-04-04coverity#708244 Uninitialized scalar fieldCaolán McNamara
Change-Id: I99b68fd7efe69cc7ab7daa244cad4c1ac04c312d
2014-04-04cp#1000054: Avoid crashing.Muthu Subramanian
Change-Id: Iedafa35cfedce1d56468774fcb6bbfa8e42612df
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03svl: sal_Bool->boolNoel Grandin
Change-Id: I6938314a08d061d2b07d9129742d74a989bd1385
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01Remove unused inline functionStephan Bergmann
Change-Id: Ib1e05194fd51b914da45cbdfb75e142be5d852fe
2014-04-01Remove unused inline constructorStephan Bergmann
Change-Id: I1fbf53c19c55a37d4802be0828cc13bd6bba8f67
2014-04-01adapted the ifdef'ed portion as wellEike Rathke
Change-Id: I95ef44f12ad478677e761edb19528829d33363c9
2014-03-31coverity#735502 Logically dead codeCaolán McNamara
Change-Id: I386944df28c7e7464e596144a5612a205f5cb967 Reviewed-on: https://gerrit.libreoffice.org/8789 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-03-30MSVC helpfully provides warning C4310: cast truncates constant valueMichael Stahl
Change-Id: I985216d7bade6cbb3a037b07fe44438543d63ba0
2014-03-30deploy some asserts to detect truncated STREAM_SEEK_TO_ENDMichael Stahl
Since STREAM_SEEK_TO_END is now 64 bits it could happen that some existing code uses it in some indirect manner and it gets truncated to 32 bits somewhere (on 32 bit platforms); try to detect that with asserts. Of course the checked value is now a valid stream position, so perhaps the checks should eventually be removed. Change-Id: I4248c00d758220bdc3ee94c7aa7a7bd4c86c57f0
2014-03-29coverity#704312 Logically dead codeCaolán McNamara
Change-Id: Iba394b382ad072593e2b646f1243169bced82ddf
2014-03-29tools: remove unused SvStream::IsA() and associated ID_*STREAM macrosMichael Stahl
Change-Id: I6ed0991fb5bd1d5085ee1b93323b57b1afc69860
2014-03-29tools: support 64-bit file positions in SvStreamMichael Stahl
Bump stream positions to 64 bits on: SvLockBytes::SetSize() SvStream::SeekPos() SvStream::SetSize() SvStream::SetStreamSize() SvStream::Seek() SvStream::SeekRel() SvStream::Tell() SvStream::remainingSize() SvStream::nActPos SvStream::nBufFilePos Change-Id: I0521fd60d31d1a33e5634cbf51dd42edc46ad919 TODO: adapt callers of Seek()/SeekRel()/Tell()/remainingSize()
2014-03-29tools: allow 64-bit positions on SvLockBytesMichael Stahl
Bump stream positions to 64 bits on: SvLockBytes::ReadAt() SvLockBytes::WriteAt() SvAsyncLockBytes::m_nSize SvOpenLockBytes::Seek() SvOpenLockBytes::Tell() SvOutputStreamOpenLockBytes::m_nPosition OInputStreamHelper::m_nActPos Change-Id: Ica3b674e0ab23a756260a51475e97a5396ecdddb
2014-03-28handle Narrow No-Break Space the same as No-Break Space, just in caseEike Rathke
Change-Id: I08683ea7dc48f5ac91d56ee4de6c4e52d1c6f058
2014-03-28name things what they areEike Rathke
Change-Id: I13d0cb525f3ca22b1b9158b2ac20b8b59d645463
2014-03-28we have a constant, use itEike Rathke
Change-Id: I402f64fdab57508df20d4dffa7bdfdf9473d8b45
2014-03-28Remove remaining DBG_NAME* usesStephan Bergmann
...that had been used for DBG_CTOR, DBG_PROF, etc. Change-Id: I8eac38e24b7110511feb7813aaf5a20ab82bdbe0
2014-03-28Remove remaining DBG_CTOR etc. remnants from svlStephan Bergmann
Change-Id: Ib0a4bd4f3d056c39156bfcfb0bd28c62f2f530b2
2014-03-28Merge back branch alg_writerframes to trunkArmin Le Grand
(cherry picked from commit b635b4fa4e42053d30ab639643d2236a20243f62) Conflicts: comphelper/inc/comphelper/TypeGeneration.hxx comphelper/source/property/TypeGeneration.cxx cui/source/factory/dlgfact.hxx cui/source/inc/cuitabarea.hxx cui/source/tabpages/tabarea.cxx cui/source/tabpages/tabarea.hrc cui/source/tabpages/tabarea.src cui/source/tabpages/tparea.cxx drawinglayer/source/primitive2d/polypolygonprimitive2d.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/texture/texture.cxx editeng/inc/editeng/unotext.hxx editeng/source/items/frmitems.cxx include/drawinglayer/texture/texture.hxx include/editeng/brushitem.hxx include/svx/sdr/primitive2d/sdrdecompositiontools.hxx include/svx/svxids.hrc include/xmloff/xmltypes.hxx reportdesign/source/ui/misc/UITools.cxx sc/source/ui/drawfunc/drawsh.cxx sfx2/source/dialog/tabdlg.cxx svl/source/undo/undo.cxx svx/inc/svx/unoshprp.hxx sw/Library_sw.mk sw/inc/doc.hxx sw/inc/format.hxx sw/inc/frmfmt.hxx sw/inc/swatrset.hxx sw/inc/unomap.hxx sw/inc/unoprnms.hxx sw/source/core/access/accpara.cxx sw/source/core/attr/format.cxx sw/source/core/attr/swatrset.cxx sw/source/core/doc/docdraw.cxx sw/source/core/doc/docfly.cxx sw/source/core/doc/notxtfrm.cxx sw/source/core/inc/frame.hxx sw/source/core/inc/frmtool.hxx sw/source/core/layout/atrfrm.cxx sw/source/core/layout/paintfrm.cxx sw/source/core/text/inftxt.cxx sw/source/core/text/porfld.cxx sw/source/core/text/txtfly.cxx sw/source/core/txtnode/fntcache.cxx sw/source/core/uibase/app/docst.cxx sw/source/core/uibase/app/docstyle.cxx sw/source/core/uibase/shells/drawdlg.cxx sw/source/core/uibase/shells/frmsh.cxx sw/source/core/unocore/unoframe.cxx sw/source/core/unocore/unomap.cxx sw/source/core/unocore/unoprnms.cxx sw/source/core/unocore/unostyle.cxx sw/source/ui/fmtui/tmpdlg.cxx sw/source/ui/fmtui/tmpdlg.src sw/source/ui/frmdlg/frmdlg.cxx sw/source/ui/frmdlg/frmpage.src sw/source/ui/inc/frmsh.hxx xmloff/source/text/txtprhdl.cxx xmloff/source/text/txtprmap.cxx Change-Id: Id3ffaa83bb5594d287f1ac8f2c1c9cf55c70946d
2014-03-27Introduce INetContentType::scanStephan Bergmann
...for use in <https://gerrit.libreoffice.org/#/c/8737/> "new methodINetURLObject::getData() for data urls." Change-Id: Id381d7c328153fbea44c0efb80532b2961c6c2b7
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-25coverity#738856 Uninitialized pointer fieldCaolán McNamara
Change-Id: I3dec3b5bed90b63f8869e0f28c970cec93d040c8
2014-03-25Adapt to sal/log.hxxStephan Bergmann
Change-Id: Ife7840ec39de743a7dfaacb20c0871fbcd8195e7
2014-03-25coverity#982311 Dead default in switchCaolán McNamara
Change-Id: I59ab0c6883e7fc02bed2f4e286a83b6054d8ef3b
2014-03-21Avoid possible resource leaks by boost::scoped_arrayTakeshi Abe
Change-Id: I4287fa05e35c132fb6e11d95dd17c3d3bf29defc
2014-03-15fdo#71491: Adjust reference during undo of drag-n-drop of cell range.Kohei Yoshida
Also with this commit, the signature of SvtListener::Notify() changes, by dropping the first argument which nobody uses. This change was necessary in order to call it directly without needing to pass any broadcaster instance. Change-Id: I6a1e97f0fb1e070d1d8f7db614690b04c9e8024e
2014-03-14708253 Uninitialized pointer fieldCaolán McNamara
Change-Id: I9d00dd3020d7bc75b6047cf20da3926f10b3632a
2014-03-14coverity#708255 Uninitialized pointer fieldCaolán McNamara
Change-Id: Ic7fad54a0e39d007668e3fd3e2a857f9f9956d7d
2014-03-14coverity#708265 Uninitialized pointer fieldCaolán McNamara
Change-Id: I48afa08c5e1bb8a615901177e5baed20ea86d28e
2014-03-14coverity#708269 Uninitialized pointer fieldCaolán McNamara
Change-Id: If92b091d06e6de6f137d38a9fa28d4c8604b368c
2014-03-14coverity#708271 Uninitialized pointer fieldCaolán McNamara
Change-Id: If6acc11a32b5be1092f0de7c747159ee447edf7c
2014-03-13coverity#708824 Unused pointer valueCaolán McNamara
Change-Id: I2993b61d5556abd039f30c39938b6726fd2b1197
2014-03-13Related: fdo#30770 fix rtf cut/paste crashCaolán McNamara
regression since 0c17ccc493d0c7a80f37600dae76a09a119bef78 Change-Id: I15396ad4d0906c7c3b27c318d73455ac494ae754
2014-03-13sfx2,svl: prefer passing OUString and OString by referenceNoel Grandin
Change-Id: I9833265f6e635a057cea2c4a945cc73809b1e2ef