30ae83c268
fdo#82577: Handle KeyCode
...
Put the VCL KeyCode class in the vcl namespace. Avoids clash with the X11
KeyCode typedef.
Change-Id: I624c9d937f7c5f5986d313b6c5f060bd8bb7e028
2014-08-23 22:33:30 +03:00
a8669b56b1
fdo#82580: Win32 GetObject() simplification
...
We call the Win32 GetObject() in just one source file and there it is
the A version we mean. (As such, as we call it to get BITMAP objects,
which do not have different A and W variants, we could as well call
GetObjectW().)
Note that we have several own member functions called GetObject(), so
until those are renamed we still need to #undef the GetObject
definition (from <windows.h>).
(No, I am not working on the EasyHack fdo#82580 as a whole. It is
intended for some less mature LO contributor. I just did a few small
things because I couldn't resist.)
Change-Id: Idab79503b3d899ef19f0608677752a62b20302ff
2014-08-16 18:45:57 +03:00
32a92502fd
GetTextBreak takes a DeviceCoordinate as width
...
Change-Id: Ie03732a0966eedf6c0226beed83356ae4886a016
2014-08-14 22:42:16 +02:00
6ca2d0d664
vcl use DeviceCoordinate got GetNextGlyphs
...
Change-Id: I0b03973b2d09a0ce51a6ee7dcca5a310a544c3a9
2014-07-20 22:11:00 +02:00
cd3d26b7ed
vcl consitent use of long for corrdinate
...
most of length in vcl are calculated in 'long'
but array of X position tend to be in sal_Int32.
As a prep work to be able to support 'double'
as the base type of Device Coordinate, harmonize
the use of 'long' for non-float coordinate.
Change-Id: I7cb33301ff6a5e2c62247b36a4e07e168a58a323
2014-07-20 22:10:59 +02:00
2b8528a274
Use DeviceCorrdinate for DXArray in FillDXArray and ImplLayoutArgs
...
Change-Id: Ifba7104a13cf737200c81d1a1bd5ece9a29da60e
2014-07-20 22:10:58 +02:00
0ca0202a09
Resolves: #i125111# limit mem footprint for GraphicObjects...
...
in 32Bit environments
Conflicts:
svtools/inc/svtools/grfmgr.hxx
svtools/source/graphic/grfmgr.cxx
svtools/source/graphic/grfmgr2.cxx
sw/source/core/doc/notxtfrm.cxx
sw/source/core/graphic/ndgrf.cxx
"commit 62b0eaf37c08dd27244e77b8bc90c691b000ebd6
Related: fdo#50697 reset the cache timeout on GetGraphic
so the graphic gets swapped out Xms after the last use and not Xms after
initial creation regardless of if it got used a moment earlier."
corrected place for stl sort function for linux
(cherry picked from commit a48414a396f7de4e00510e82e3744c097ce3d5d6)
Conflicts:
svtools/source/graphic/grfmgr2.cxx
Change-Id: I79158b7d42629f8dec2bc5565540701bcd3ef6f4
6f21c7fd4d2681446fc1a6d9607366a1e69165a1
2014-07-15 16:15:17 +01:00
eee44c951c
Fix some OUString construction error with VS2013
...
A bit unclear to me whether the code really did what was intended with
earlier VS versions either.
VS2013 said: error C2664: 'rtl::OUString::OUString(const sal_uInt32
*,sal_Int32)' : cannot convert argument 1 from 'const char *' to
'const rtl::OUString &'
Reason: cannot convert from 'const char *' to 'const rtl::OUString'
No constructor could take the source type, or constructor overload
resolution was ambiguous
Change-Id: Ie23d8382515064062a3ed46418d9d4a977b35d28
2014-07-08 11:38:53 +03:00
adb1bb21f8
Resolves: #i125000# check last status of newly created...
...
<Gdiplus::Bitmap> instance before using it.
(cherry picked from commit b127235917610b9c68e19df29bb39af496906569)
Change-Id: I97364cf963424b0e8d0b52b3c995bd4defdca067
2014-06-06 16:40:17 +01:00
dacab84536
Avoid accessing freed memory and freeing already freed resources
...
Seen in smoketest in a 4.2-based branch, but might perhaps happen in master
too. Should not hurt in any case to be more careful. ImplFreeSalGDI() is
called both from SalAbort() and from DestroySalInstance().
Change-Id: Ifac37e8ecfb432848bd3451dbda8634c59a06fba
2014-06-04 07:05:23 +03:00
3b24dcc8a8
Remove unnecessary semicolons
...
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/ )
// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p
@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>
Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2014-05-27 01:19:00 -05:00
3c84ee9cce
cppcheck: unusedFunction
...
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
2014-05-25 21:55:34 +02:00
c327acab9e
remove globally disabled warnings from source files
...
Change-Id: Ic7b092a24b4d1e48ca11e53b507da5c2bfdeabe8
2014-05-10 13:03:20 +02:00
261b1ad80a
'!= false' is redundant, and confusing - kill it.
...
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
2014-05-09 22:28:44 +02:00
4f9b21248f
simplify ternary conditions "xxx ? yyy : false"
...
Look for code like:
xxx ? yyy : false;
Which can be simplified to:
xxx && yyy
Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-05-05 12:47:48 +02:00
dd9c9a69da
Add the "quoteright" key to the list of available keyboard shortcuts.
...
Change-Id: I24800c28b1513b883c42d9ce1c787eaf07815b92
2014-05-02 15:43:46 -04:00
820a29950b
Many spelling fixes: directories r* - z*.
...
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done before.
(cherry picked from commit 28206a7cb43aff5adb10f8235ad1680c3941ee3e)
Conflicts:
include/osl/file.hxx
include/osl/pipe_decl.hxx
include/osl/socket.h
include/osl/socket_decl.hxx
include/sal/main.h
include/svx/dbaexchange.hxx
include/svx/dlgctrl.hxx
include/svx/msdffdef.hxx
include/svx/sdr/contact/objectcontactofpageview.hxx
include/svx/svdpntv.hxx
include/ucbhelper/content.hxx
include/ucbhelper/interceptedinteraction.hxx
include/ucbhelper/resultsethelper.hxx
include/unotools/sharedunocomponent.hxx
include/unotools/viewoptions.hxx
include/vcl/pdfwriter.hxx
include/xmloff/txtparae.hxx
include/xmloff/uniref.hxx
rhino/rhino1_7R3.patch
rsc/inc/rscrsc.hxx
sal/inc/osl/conditn.h
sal/inc/osl/security.h
sal/inc/osl/semaphor.h
sal/inc/osl/semaphor.hxx
sal/inc/rtl/string.hxx
sal/inc/rtl/tres.h
sal/inc/systools/win32/StrConvert.h
sal/osl/os2/file_path_helper.h
sal/osl/os2/file_path_helper.hxx
sal/osl/os2/file_url.cxx
sal/osl/os2/file_url.h
sal/osl/os2/makefile.mk
sal/osl/os2/pipe.cxx
sal/osl/os2/process.c
sal/osl/os2/profile.c
sal/osl/os2/socket.c
sal/osl/os2/system.h
sal/osl/unx/asm/interlck_sparc.s
sal/osl/unx/file_url.cxx
sal/osl/unx/signal.c
sal/osl/unx/system.h
sal/osl/w32/MAKEFILE.MK
sal/osl/w32/interlck.c
sal/osl/w32/module.cxx
sal/osl/w32/security.c
sal/qa/buildall.pl
sal/qa/osl/file/osl_File.cxx
sal/qa/osl/module/osl_Module_Const.h
sal/qa/osl/mutex/osl_Mutex.cxx
sal/qa/osl/pipe/osl_Pipe.cxx
sal/qa/osl/process/osl_Thread.cxx
sal/qa/osl/socket/osl_StreamSocket.cxx
sal/qa/osl/socket/sockethelper.cxx
sal/qa/rtl_strings/rtl_OUString.cxx
sal/rtl/source/unload.cxx
sal/systools/win32/kill/kill.cxx
sal/systools/win32/uwinapi/MoveFileExA.cpp
sal/test/bootstrap.pl
sal/typesconfig/typesconfig.c
sal/workben/tgetpwnam.cxx
sax/inc/sax/parser/saxparser.hxx
sc/addin/datefunc/dfa.cl
sc/addin/datefunc/dfa.src
sc/addin/rot13/rot13.cl
sc/addin/rot13/rot13.src
sc/inc/attarray.hxx
sc/inc/chgtrack.hxx
sc/inc/column.hxx
sc/inc/compressedarray.hxx
sc/inc/document.hxx
sc/inc/table.hxx
sc/source/core/data/column.cxx
sc/source/core/data/dptablecache.cxx
sc/source/core/data/dptabres.cxx
sc/source/core/data/dptabsrc.cxx
sc/source/core/data/global.cxx
sc/source/core/tool/chgtrack.cxx
sc/source/core/tool/compiler.cxx
sc/source/filter/excel/xestyle.cxx
sc/source/filter/excel/xichart.cxx
sc/source/filter/inc/fapihelper.hxx
sc/source/filter/inc/xistyle.hxx
sc/source/filter/xml/xmlsubti.cxx
sc/source/ui/Accessibility/AccessibleCell.cxx
sc/source/ui/Accessibility/AccessibleContextBase.cxx
sc/source/ui/Accessibility/AccessibleDataPilotControl.cxx
sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
sc/source/ui/Accessibility/AccessibleEditObject.cxx
sc/source/ui/Accessibility/AccessiblePreviewCell.cxx
sc/source/ui/app/inputwin.cxx
sc/source/ui/docshell/docfunc.cxx
sc/source/ui/drawfunc/fupoor.cxx
sc/source/ui/miscdlgs/linkarea.cxx
sc/source/ui/unoobj/chart2uno.cxx
sc/source/ui/unoobj/nameuno.cxx
sc/source/ui/vba/vbacharacters.hxx
sc/source/ui/vba/vbarange.cxx
sc/source/ui/vba/vbawindow.cxx
scaddins/source/analysis/analysishelper.cxx
scaddins/source/analysis/analysishelper.hxx
scaddins/source/datefunc/datefunc.cxx
scripting/examples/python/Capitalise.py
scripting/source/pyprov/officehelper.py
sd/source/filter/eppt/eppt.cxx
sd/source/filter/eppt/epptso.cxx
sd/source/ui/dlg/prltempl.cxx
sd/source/ui/dlg/tpoption.cxx
sd/source/ui/func/fuediglu.cxx
sd/source/ui/func/fupoor.cxx
sd/source/ui/func/fusel.cxx
sd/source/ui/func/smarttag.cxx
sd/source/ui/inc/OutlinerIteratorImpl.hxx
sd/source/ui/inc/SlideViewShell.hxx
sd/source/ui/inc/fuediglu.hxx
sd/source/ui/inc/fusel.hxx
sd/source/ui/slideshow/slideshowimpl.cxx
sd/source/ui/slidesorter/cache/SlsQueueProcessorThread.hxx
sd/source/ui/slidesorter/controller/SlsHideSlideFunction.cxx
sd/source/ui/slidesorter/controller/SlsSelectionCommand.hxx
sd/source/ui/slidesorter/inc/controller/SlsAnimationFunction.hxx
sd/source/ui/slidesorter/view/SlsButtonBar.cxx
sd/source/ui/view/Outliner.cxx
sd/source/ui/view/drviewsh.cxx
sd/source/ui/view/frmview.cxx
sdext/source/presenter/PresenterFrameworkObserver.hxx
sdext/source/presenter/PresenterSlideShowView.cxx
setup_native/scripts/deregister_extensions
setup_native/scripts/register_extensions
setup_native/source/opensolaris/bundledextensions/README
setup_native/source/opensolaris/bundledextensions/svc-ooo_bundled_extensions
setup_native/source/win32/customactions/patch/swappatchfiles.cxx
setup_native/source/win32/customactions/reg4msdoc/registrar.cxx
setup_native/source/win32/customactions/reg4msdoc/userregistrar.cxx
sfx2/inc/sfx2/sfxbasemodel.hxx
sfx2/qa/complex/sfx2/DocumentProperties.java
sfx2/source/appl/appopen.cxx
sfx2/source/appl/appquit.cxx
sfx2/source/appl/appserv.cxx
sfx2/source/bastyp/sfxhtml.cxx
sfx2/source/dialog/dockwin.cxx
sfx2/source/doc/docfile.cxx
sfx2/source/doc/docvor.cxx
sfx2/source/doc/graphhelp.cxx
sfx2/source/doc/objcont.cxx
sfx2/source/doc/objserv.cxx
sfx2/source/doc/objstor.cxx
sfx2/source/doc/objuno.cxx
sfx2/source/doc/objxtor.cxx
sfx2/source/doc/printhelper.cxx
sfx2/source/doc/sfxbasemodel.cxx
sfx2/source/notify/eventsupplier.cxx
sfx2/source/view/frmload.cxx
sfx2/source/view/sfxbasecontroller.cxx
shell/qa/zip/ziptest.cxx
shell/source/backends/wininetbe/wininetbackend.cxx
shell/source/win32/shlxthandler/util/utilities.cxx
solenv/bin/build.pl
solenv/bin/build_release.pl
solenv/bin/cws.pl
solenv/bin/download_external_dependencies.pl
solenv/bin/make_download.pl
solenv/bin/make_installer.pl
solenv/bin/modules/Cws.pm
solenv/bin/modules/ExtensionsLst.pm
solenv/bin/modules/installer/control.pm
solenv/bin/modules/installer/downloadsigner.pm
solenv/bin/modules/installer/javainstaller.pm
solenv/bin/modules/installer/packagepool.pm
solenv/bin/modules/installer/patch/InstallationSet.pm
solenv/bin/modules/installer/scriptitems.pm
solenv/bin/modules/installer/windows/feature.pm
solenv/bin/modules/installer/windows/msiglobal.pm
solenv/bin/modules/installer/windows/sign.pm
solenv/bin/modules/installer/worker.pm
solenv/bin/modules/installer/xpdinstaller.pm
solenv/bin/modules/osarch.pm
solenv/bin/modules/packager/work.pm
solenv/bin/modules/pre2par/parameter.pm
solenv/bin/patch_tool.pl
solenv/bin/transform_description.pl
solenv/doc/gbuild/doxygen.cfg
solenv/gbuild/LinkTarget.mk
solenv/gbuild/gbuild.mk
solenv/inc/os2gcci.mk
solenv/inc/settings.mk
solenv/inc/startup/Readme
solenv/inc/target.mk
solenv/inc/tg_compv.mk
solenv/inc/tg_javav.mk
solenv/inc/unitools.mk
solenv/inc/unxbsdi.mk
solenv/inc/unxbsdi2.mk
solenv/inc/unxbsds.mk
solenv/inc/unxfbsd.mk
solenv/inc/unxlng.mk
sot/source/sdstor/stg.cxx
sot/source/sdstor/stgelem.cxx
sot/source/sdstor/ucbstorage.cxx
starmath/inc/toolbox.hxx
starmath/source/mathmlexport.cxx
starmath/source/node.cxx
starmath/source/toolbox.cxx
starmath/source/view.cxx
stoc/source/bootstrap/bootstrap.xml
stoc/source/corereflection/criface.cxx
stoc/source/invocation/invocation.cxx
stoc/source/security/access_controller.cxx
stoc/source/servicemanager/servicemanager.cxx
stoc/source/tdmanager/tdmgr.cxx
stoc/test/javavm/testjavavm.cxx
stoc/test/testconv.cxx
stoc/test/testcorefl.cxx
stoc/test/testintrosp.cxx
svl/inc/svl/inettype.hxx
svl/inc/svl/urihelper.hxx
svl/qa/complex/ConfigItems/helper/HistoryOptTest.cxx
svl/qa/complex/ConfigItems/helper/HistoryOptTest.hxx
svl/source/config/itemholder2.hxx
svl/source/items/itemset.cxx
svl/source/numbers/zforlist.cxx
svl/source/numbers/zformat.cxx
svl/source/numbers/zforscan.cxx
svtools/bmpmaker/bmp.cxx
svtools/inc/svtools/helpagentwindow.hxx
svtools/inc/svtools/menuoptions.hxx
svtools/inc/svtools/miscopt.hxx
svtools/inc/svtools/optionsdrawinglayer.hxx
svtools/inc/svtools/stringtransfer.hxx
svtools/inc/svtools/svlbitm.hxx
svtools/inc/svtools/svtdata.hxx
svtools/inc/svtools/valueset.hxx
svtools/source/brwbox/editbrowsebox.cxx
svtools/source/config/itemholder2.hxx
svtools/source/contnr/contentenumeration.hxx
svx/inc/svx/fmsrcimp.hxx
svx/inc/svx/svdobj.hxx
svx/inc/svx/xtable.hxx
svx/source/accessibility/DGColorNameLookUp.cxx
svx/source/accessibility/svxrectctaccessiblecontext.cxx
svx/source/dialog/pfiledlg.cxx
svx/source/fmcomp/fmgridcl.cxx
svx/source/fmcomp/fmgridif.cxx
svx/source/fmcomp/gridctrl.cxx
svx/source/form/filtnav.cxx
svx/source/form/fmPropBrw.cxx
svx/source/form/fmshimp.cxx
svx/source/form/fmsrcimp.cxx
svx/source/gallery2/galtheme.cxx
svx/source/inc/docrecovery.hxx
svx/source/sdr/event/eventhandler.cxx
svx/source/svdraw/svdedtv2.cxx
svx/source/svdraw/svdedxv.cxx
svx/source/svdraw/svdhdl.cxx
svx/source/svdraw/svdobj.cxx
svx/source/svdraw/svdograf.cxx
svx/source/svdraw/svdoole2.cxx
svx/source/svdraw/svdotxtr.cxx
svx/source/svdraw/svdundo.cxx
svx/source/svdraw/svdxcgv.cxx
svx/source/unodialogs/textconversiondlgs/chinese_translationdialog.cxx
sw/inc/SwNumberTree.hxx
sw/inc/ndnotxt.hxx
sw/source/core/access/acccell.cxx
sw/source/core/access/acccell.hxx
sw/source/core/access/accframebase.cxx
sw/source/core/access/accframebase.hxx
sw/source/core/access/accmap.cxx
sw/source/core/access/accpage.cxx
sw/source/core/access/accpage.hxx
sw/source/core/access/accpara.cxx
sw/source/core/access/accpara.hxx
sw/source/core/bastyp/swrect.cxx
sw/source/core/crsr/findtxt.cxx
sw/source/core/doc/docdde.cxx
sw/source/core/doc/notxtfrm.cxx
sw/source/core/docnode/section.cxx
sw/source/core/draw/dcontact.cxx
sw/source/core/edit/edlingu.cxx
sw/source/core/inc/anchoredobjectposition.hxx
sw/source/core/layout/paintfrm.cxx
sw/source/core/layout/tabfrm.cxx
sw/source/core/layout/trvlfrm.cxx
sw/source/core/ole/ndole.cxx
sw/source/core/text/atrstck.cxx
sw/source/core/text/inftxt.cxx
sw/source/core/text/itratr.cxx
sw/source/core/text/itrform2.cxx
sw/source/core/text/itrform2.hxx
sw/source/core/text/porfld.cxx
sw/source/core/text/txtfly.cxx
sw/source/core/txtnode/thints.cxx
sw/source/core/txtnode/txtedt.cxx
sw/source/core/uibase/dochdl/swdtflvr.cxx
sw/source/core/uibase/docvw/PostItMgr.cxx
sw/source/core/uibase/docvw/SidebarWin.cxx
sw/source/core/uibase/docvw/edtwin.cxx
sw/source/core/uibase/envelp/labimg.cxx
sw/source/core/uibase/uiview/pview.cxx
sw/source/core/uibase/uno/unomailmerge.cxx
sw/source/core/undo/unattr.cxx
sw/source/core/undo/untbl.cxx
sw/source/core/unocore/unochart.cxx
sw/source/core/view/vdraw.cxx
sw/source/core/view/vnew.cxx
sw/source/filter/basflt/fltini.cxx
sw/source/filter/html/wrthtml.cxx
sw/source/filter/inc/wwstyles.hxx
sw/source/filter/rtf/rtffly.cxx
sw/source/filter/rtf/swparrtf.cxx
sw/source/filter/ww8/docxattributeoutput.cxx
sw/source/filter/ww8/dump/msvbasic.cxx
sw/source/filter/ww8/dump/ww8scan.cxx
sw/source/filter/ww8/dump/ww8scan.hxx
sw/source/filter/ww8/dump/ww8struc.hxx
sw/source/filter/ww8/wrtww8.cxx
sw/source/filter/ww8/ww8graf.cxx
sw/source/filter/ww8/ww8par.cxx
sw/source/filter/ww8/ww8par2.cxx
sw/source/filter/ww8/ww8par2.hxx
sw/source/filter/ww8/ww8par3.cxx
sw/source/filter/ww8/ww8par6.cxx
sw/source/filter/ww8/ww8scan.cxx
sw/source/filter/ww8/ww8scan.hxx
sw/source/ui/dbui/dbinsdlg.cxx
sw/source/ui/inc/tablemgr.hxx
sw/source/ui/inc/uitool.hxx
sw/source/ui/lingu/olmenu.cxx
sw/source/ui/uiview/viewport.cxx
sysui/desktop/productversion.mk
sysui/desktop/slackware/makefile.mk
testgraphical/source/CallExternals.pm
testgraphical/source/fill_documents_loop.pl
testgraphical/ui/java/ConvwatchGUIProject/src/IniFile.java
toolkit/doc/layout/notes.txt
toolkit/doc/layout/oldnotes.txt
toolkit/source/awt/vclxtabcontrol.cxx
toolkit/src2xml/source/srcparser.py
toolkit/workben/layout/editor.cxx
tools/inc/tools/simplerm.hxx
tools/inc/tools/solar.h
tools/source/communi/geninfo.cxx
tools/source/fsys/dirent.cxx
tools/source/fsys/filecopy.cxx
tools/source/fsys/os2.cxx
tools/source/inet/inetmime.cxx
tools/source/rc/resmgr.cxx
ucb/source/core/ucbcmds.cxx
ucb/source/ucp/file/filglob.cxx
ucb/source/ucp/odma/odma_content.cxx
ucb/source/ucp/tdoc/ucptdoc.xml
ucb/source/ucp/webdav/makefile.mk
ucbhelper/inc/ucbhelper/simplecertificatevalidationrequest.hxx
ucbhelper/source/client/content.cxx
ucbhelper/source/client/interceptedinteraction.cxx
udkapi/com/sun/star/beans/XPropertiesChangeListener.idl
udkapi/com/sun/star/io/ObjectOutputStream.idl
udkapi/com/sun/star/io/XMarkableStream.idl
udkapi/com/sun/star/io/XTextOutputStream.idl
udkapi/com/sun/star/reflection/CoreReflection.idl
udkapi/com/sun/star/reflection/XTypeDescriptionEnumerationAccess.idl
udkapi/com/sun/star/test/XSimpleTest.idl
unodevtools/source/skeletonmaker/skeletoncommon.cxx
unodevtools/source/skeletonmaker/skeletoncommon.hxx
unotools/inc/unotools/cacheoptions.hxx
unotools/inc/unotools/cmdoptions.hxx
unotools/inc/unotools/dynamicmenuoptions.hxx
unotools/inc/unotools/extendedsecurityoptions.hxx
unotools/inc/unotools/fontoptions.hxx
unotools/inc/unotools/historyoptions.hxx
unotools/inc/unotools/idhelper.hxx
unotools/inc/unotools/internaloptions.hxx
unotools/inc/unotools/localisationoptions.hxx
unotools/inc/unotools/moduleoptions.hxx
unotools/inc/unotools/printwarningoptions.hxx
unotools/inc/unotools/securityoptions.hxx
unotools/inc/unotools/startoptions.hxx
unotools/inc/unotools/workingsetoptions.hxx
unotools/source/config/cmdoptions.cxx
unotools/source/config/compatibility.cxx
unotools/source/config/configitem.cxx
unotools/source/config/configmgr.cxx
unotools/source/config/dynamicmenuoptions.cxx
unotools/source/config/fontcfg.cxx
unotools/source/config/itemholder1.hxx
unotools/source/config/moduleoptions.cxx
unotools/source/config/pathoptions.cxx
unotools/source/config/viewoptions.cxx
unotools/source/misc/sharedunocomponent.cxx
uui/source/fltdlg.cxx
uui/source/iahndl-filter.cxx
vbahelper/inc/vbahelper/collectionbase.hxx
vbahelper/source/msforms/vbacontrol.cxx
vbahelper/source/vbahelper/collectionbase.cxx
vcl/aqua/source/gdi/atsfonts.cxx
vcl/inc/aqua/salmathutils.hxx
vcl/inc/graphite_cache.hxx
vcl/inc/jobset.h
vcl/inc/os2/salgdi.h
vcl/inc/osx/saldata.hxx
vcl/inc/salgdi.hxx
vcl/inc/salwtype.hxx
vcl/inc/unx/wmadaptor.hxx
vcl/inc/vcl/print.hxx
vcl/inc/vcl/strhelper.hxx
vcl/os2/source/app/salinst.cxx
vcl/os2/source/app/saltimer.cxx
vcl/os2/source/gdi/salgdi2.cxx
vcl/osx/salframeview.mm
vcl/osx/salprn.cxx
vcl/qa/cppunit/dndtest.cxx
vcl/source/app/dbggui.cxx
vcl/source/control/ilstbox.cxx
vcl/source/gdi/cvtsvm.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/outdev4.cxx
vcl/source/gdi/outdev6.cxx
vcl/source/gdi/pdfwriter_impl.cxx
vcl/source/gdi/pdfwriter_impl2.cxx
vcl/source/gdi/print.cxx
vcl/source/gdi/print2.cxx
vcl/source/glyphs/gcach_layout.cxx
vcl/source/glyphs/glyphcache.cxx
vcl/source/glyphs/graphite_layout.cxx
vcl/source/window/printdlg.cxx
vcl/source/window/tabdlg.cxx
vcl/source/window/window.cxx
vcl/source/window/winproc.cxx
vcl/unx/generic/app/saldisp.cxx
vcl/unx/generic/dtrans/X11_selection.hxx
vcl/unx/gtk/app/gtkdata.cxx
vcl/win/source/gdi/salgdi2.cxx
vcl/win/source/gdi/salgdi3.cxx
vcl/win/source/window/salframe.cxx
vos/inc/vos/pipe.hxx
vos/inc/vos/process.hxx
vos/inc/vos/signal.hxx
vos/inc/vos/socket.hxx
vos/inc/vos/thread.hxx
vos/source/pipe.cxx
vos/source/socket.cxx
wizards/com/sun/star/wizards/agenda/AgendaTemplate.java
wizards/com/sun/star/wizards/agenda/AgendaWizardDialogImpl.java
wizards/com/sun/star/wizards/agenda/TopicsControl.java
wizards/com/sun/star/wizards/web/FTPDialog.java
wizards/com/sun/star/wizards/web/ImageListDialog.java
wizards/com/sun/star/wizards/web/Process.java
wizards/com/sun/star/wizards/web/ProcessStatusRenderer.java
wizards/com/sun/star/wizards/web/TOCPreview.java
wizards/com/sun/star/wizards/web/WWD_Startup.java
wizards/com/sun/star/wizards/web/data/TypeDetection.java
wizards/com/sun/star/wizards/web/export/ImpressHTMLExporter.java
writerfilter/inc/doctok/WW8Document.hxx
writerfilter/source/dmapper/DomainMapper.cxx
writerfilter/source/dmapper/NumberingManager.cxx
writerfilter/source/dmapper/PropertyMap.cxx
writerfilter/source/dmapper/StyleSheetTable.cxx
writerfilter/source/doctok/WW8StructBase.hxx
writerfilter/source/doctok/resources.xmi
writerfilter/source/ooxml/README.efforts
xmerge/source/activesync/XMergeFilter.cpp
xmerge/source/minicalc/java/org/openoffice/xmerge/converter/xml/sxc/minicalc/SxcDocumentDeserializerImpl.java
xmerge/source/palmtests/qa/comparator/pdbcomparison.java
xmerge/source/palmtests/qa/test_spec/convertor_test_spec.html
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/DefinedName.java
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Workbook.java
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/Worksheet.java
xmerge/source/pexcel/java/org/openoffice/xmerge/converter/xml/sxc/pexcel/records/formula/SymbolLookup.java
xmerge/source/pocketword/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/DocumentDescriptor.java
xmerge/workben/jstyle.pl
xmlhelp/source/cxxhelp/provider/databases.hxx
xmlhelp/source/cxxhelp/provider/provider.cxx
xmlhelp/source/treeview/tvread.cxx
xmloff/inc/txtfldi.hxx
xmloff/inc/xmloff/xmlmultiimagehelper.hxx
xmloff/inc/xmloff/xmluconv.hxx
xmloff/source/core/xmlexp.cxx
xmloff/source/draw/shapeexport2.cxx
xmloff/source/draw/shapeexport3.cxx
xmloff/source/meta/xmlversion.cxx
xmloff/source/style/impastp4.cxx
xmloff/source/style/xmlaustp.cxx
xmloff/source/text/XMLSectionExport.cxx
xmloff/source/text/txtflde.cxx
xmloff/source/text/txtimp.cxx
xmloff/source/text/txtparae.cxx
xmloff/source/text/txtparai.cxx
xmloff/source/text/txtvfldi.cxx
xmlscript/source/xmldlg_imexp/xmldlg_impmodels.cxx
Change-Id: Ie072e7c3a60c5dae16a67ac36d1f372c5065c99c
2014-05-01 08:59:14 +01:00
f420a49a76
Fix typo: s/potentioal/potential
...
Change-Id: I13eecb1d4f79ec022228a95f9ce18ed667e4ef3f
2014-04-23 08:22:02 +03:00
97a5ba4a71
remove comments why a file gets included
...
also remove some commented out code
Change-Id: Ia80c5c57d8d2a74418032de50eee95642cc0969d
2014-04-21 18:08:28 +02:00
2ada2b3375
typo: dependend -> dependent
2014-04-14 12:31:58 +02:00
6835d9f307
It's "its", not "it's"
...
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10 20:22:50 +03:00
6c1744613e
Translated German comments
...
Change-Id: Id642d6719c406fe6b55fb1d8f06175d204878d70
Reviewed-on: https://gerrit.libreoffice.org/8867
Tested-by: David Tardon <dtardon@redhat.com >
Reviewed-by: David Tardon <dtardon@redhat.com >
2014-04-05 05:52:23 -05:00
50bf123ddb
Kill superfluous vertical whitespace
...
Change-Id: I81ce8fd7022bf283db668705efdfb0666f87bde9
2014-04-02 16:54:18 +03:00
42877b3478
fdo#68546 Make menubar's text color of persona the same as Firefox
...
Change-Id: Ib9370f4b369f2baf29d118a1bbcd565bca005c30
Reviewed-on: https://gerrit.libreoffice.org/8712
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-03-28 11:38:55 +00:00
67688d3118
Related: #i124516# handle bad surrogate pairs gracefully on Windows
...
When running into invalid Unicode surrogate pairs the text layout code on
Windows ran into massive problems like crashes. This change detects the
situation of an invalid surrogate pair and falls back to treat it as
a simple character instead of requesting a complex glyph fallback.
(cherry picked from commit 913f1fc4b1362f6e91595af5ae10c4cba79fd355)
Change-Id: I2988f4b64061d0a5df211f6f0f04b1f235fcd6a5
2014-03-28 11:12:58 +00:00
d852df0d6d
Bin DestroyVirtualDevice(): Just use delete directly at call sites
...
Change-Id: I47c67d3d89ab22b07b3ec6fe7ea6e035d21e85b6
2014-03-26 09:08:38 +02:00
7260bcd687
cosmetic: split PhysicalFontFamily/Collection out of outdev3.cxx
...
Change-Id: Iae8eb15413c0c069c14edd92c94ecb0113d9d371
2014-03-20 16:11:58 -05:00
7154b092a7
cosmetic: split PhysicalFontFace class it its own source/header
...
oudev,2,3,4,5,6 are a dumping ground for a lot of things
chipping at it one class at the time...
organize the #include of the impacted source while at it.
Change-Id: I57bbb1f9e3c6b2ac6b3ca127e5976bf16f3e3cf8
2014-03-20 16:11:57 -05:00
5971a040f9
rename ImplDevFontList to PhysicalFontCollection
...
again, convergence of teh naming with what is normally
used in the underlying native API,
where FontFace ) FontFamily ) FontCollection
Change-Id: Ieb098b782ea828a3365f00d07914b9566278caba
2014-03-20 16:11:57 -05:00
cabee397b9
rename ImplDevFontListData to PhysicalFontFamily
...
following the naming of PhysicalFontFace
in an effort to give more explicit and meaning full
names to the many-many ImplFontforbar classes
Change-Id: I6dcf44e8f9ba312d8293298198b92f283dac0362
2014-03-20 16:11:55 -05:00
ad28ffaa37
Remove unnecessary vcl::SolarMutexObject
...
Change-Id: I6dfdd7d5d211b66019dfbe364101140e28a3584d
2014-03-20 18:10:51 +01:00
d12324d136
Rename GetGraphics to AcquireGraphics
...
Currently there are a number of classes that have a function called
GetGraphics(). It returns a SalGraphics instance if one is available
for the sole use of the caller. Some variants keep a pool of available
SalGraphics and return one not currently in use by anyone, creating
extra ones on demand, sometimes up to a set limit and returning NULL
on reaching that limit of simultaneously in use SalGraphics.
This is confusing. What is really happening from the perspective of the calling
is that is that we are attempting to *acquire* ownership of a SalGraphics
instance.
Therefore, rename GetGraphics to AcquireGraphics() which returns a handle to a
SalGraphics if we can acquire a free graphics instance, and NULL if we cannot,
which makes it cleared that ReleaseGraphics should be called on the result
of AcquireGraphics.
The classes that were changed to include the new acquire function are:
* SalFrame
* SalVirtualDevice
* SalInfoPrinter
* PspSalInfoPrinter
* X11SalFrame
* X11SalVirtualDevice
* GtkSalFrame
* KDESalFrame
* TDESalFrame
* WinSalFrame
* WinSalInfoPrinter
* WinSalVirtualDevice
* SvpSalFrame
* SvpSalVirtualDevice
* AquaSalFrame
* AquaSalInfoPrinter
* AquaSalVirtualDevice
Change-Id: Ic39c08a4bcaf665ae08ba2808cd03b0e80790c46
Reviewed-on: https://gerrit.libreoffice.org/8070
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-28 10:59:19 -06:00
381f8a5673
sal_Bool -> bool in mostly vcl module
...
Conflicts:
include/vcl/settings.hxx
svtools/source/table/tablecontrol_impl.cxx
sw/source/core/frmedt/fecopy.cxx
vcl/inc/canvasbitmap.hxx
vcl/inc/headless/svpframe.hxx
vcl/inc/unx/salframe.h
vcl/inc/win/salframe.h
vcl/inc/win/salprn.h
vcl/inc/win/salvd.h
vcl/osx/DragSource.cxx
vcl/osx/DragSource.hxx
vcl/osx/DropTarget.cxx
vcl/osx/DropTarget.hxx
vcl/osx/OSXTransferable.cxx
vcl/osx/OSXTransferable.hxx
vcl/osx/clipboard.cxx
vcl/osx/clipboard.hxx
vcl/osx/salprn.cxx
vcl/qa/cppunit/canvasbitmaptest.cxx
vcl/source/components/fontident.cxx
vcl/source/control/edit.cxx
vcl/source/control/spinfld.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/gdi/virdev.cxx
vcl/source/helper/canvasbitmap.cxx
vcl/source/window/dockwin.cxx
vcl/unx/generic/dtrans/X11_selection.hxx
vcl/unx/kde/UnxFilePicker.cxx
vcl/unx/kde/UnxFilePicker.hxx
vcl/unx/kde4/KDE4FilePicker.cxx
vcl/unx/kde4/KDE4FilePicker.hxx
vcl/unx/kde4/KDESalFrame.hxx
Change-Id: I9866d985da86dea2a56feff23f91c1467a1636b0
Reviewed-on: https://gerrit.libreoffice.org/8219
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-28 03:19:47 -06:00
cb40b7d2f9
callcatcher: update unused code
...
Change-Id: I560471a3c2ac9d8ccf759fca1d8c30ae00d73484
2014-02-27 12:57:24 +00:00
d9f0af83b7
Remove visual noise from vcl
...
Conflicts:
vcl/source/app/settings.cxx
vcl/source/window/dockmgr.cxx
vcl/source/window/dockwin.cxx
vcl/source/window/floatwin.cxx
vcl/source/window/toolbox2.cxx
Change-Id: Ie67681549a76e77064b09d4b5bf80fe4c6010341
Reviewed-on: https://gerrit.libreoffice.org/8339
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-26 04:56:16 -06:00
13afdc0b14
warning C4805: '==' : unsafe mix of type 'sal_Bool' and type 'bool'
...
Change-Id: I3719401a0eb68ba9204be19c2dd4f93617bf097c
2014-02-24 13:32:44 +01:00
0ce0c369aa
Remove unneccessary comments
...
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2014-02-23 03:38:49 +00:00
53ae62d576
'SetSymbolsStyle' : is not a member of 'StyleSettings'. Remove the call.
...
Something similar was done in vcl/source/window/window.cxx in commit
076a7eacca48f203f0a8b9aa537e88fea9a88409 so hopefully this fix is enough.
Change-Id: I11eb3c2d315a918056ffdee16c98c1430e174ed9
2014-02-22 18:22:00 +01:00
fe7a4bccfd
Adapt vcl to various loplugin warnings on Mac OS X
...
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
2014-02-21 23:47:23 +01:00
0f82480261
Windows vcl: sal_Bool -> bool fixup
...
Change-Id: I60cba53ec0a5aaedf20b6c0c295a91be226b4354
2014-02-21 15:19:55 +01:00
a9053502af
vcl: fix windows build
...
Change-Id: Ic55c02f7f17b4d4b2c36e194749bb48bb8fe493d
2014-02-20 19:32:29 +01:00
7a403215ec
vcl: convert some WNT only SvStream::operator>>
...
Change-Id: I1752bbc6f079feb6dc3ac3b94d2e434a4201824e
2014-02-12 23:26:19 +01:00
b2878af322
more SvStream:operator>> conversion
...
Convert the template based read_lenPrefixed methods to regular
methods.
Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019
Reviewed-on: https://gerrit.libreoffice.org/7895
Reviewed-by: Michael Stahl <mstahl@redhat.com >
Tested-by: Michael Stahl <mstahl@redhat.com >
2014-02-12 15:32:11 +00:00
b6e68923e2
fix some color mismatch in high contract mode on Windows
...
Change-Id: Ifadcddf0c6c0a0e33c80ac47dd64af6b56387d30
2014-02-04 12:37:42 -08:00
015f1eff67
cppcheck: redundantAssignment
...
Change-Id: I9fa611a2f47d2a7f54835419adf0b6c2610ebb66
2014-02-01 21:51:38 +01:00
9b677819a7
Resolves: #i12355# Corrected case that...
...
in WinSalGraphics::setClipRegion an empty Polygon is handed over
(cherry picked from commit 9957d5854dcc65db37f0631c19e3421df1311089)
Change-Id: Id19a708d228d205bb1e14664c04af6eef179a5d4
2014-01-31 21:25:16 +00:00
16a2e90335
remove SvStream::operator<< methods
...
.. and convert the last few places still using those methods.
Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd
Reviewed-on: https://gerrit.libreoffice.org/7495
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2014-01-22 22:00:47 +00:00
bbd9668d5f
bool improvements (related to mixing bool/sal_Bool in &=, |=, ^=)
...
Change-Id: I9869d9709f28b68ef7b518527175589d80644668
2014-01-22 15:00:54 +01:00
3709fe0e2e
mnDeltaStart is unused
...
Change-Id: I4f970a150b8ecf6e5631c89ae78ae97134c78d7c
2014-01-12 10:18:03 +00:00
bcfd016c88
some notes about COM threading in LO generally and winaccessibility
...
- document general COM threading architecture in vcl README
- document winaccessiblitiy locking in README
- define _ATL_APARTMENT_THREADED for UAccCOM
Change-Id: I7c3fd952f2cdee7d245a818bf33c477e7ea20fc2
2014-01-09 13:44:24 +01:00