summaryrefslogtreecommitdiff
path: root/include/rtl/ref.hxx
AgeCommit message (Collapse)AuthorFilesLines
2015-11-06Best avoid SAL_CALL cargo-cult for new inline functionsStephan Bergmann1-1/+1
Change-Id: Ifeaddeac673366b4eacc55ce6f2a74a2553ac927
2015-11-06rtl::Reference Add move construction/assignmentDaniel Robertson1-0/+27
Add move constructor and appropriately overloaded assignment operator to rtl::Reference, and add basic unit tests for the reference counting of rtl::Reference. Change-Id: Ia7ff5d786bdf3b17709cec06608c91e22379746c Reviewed-on: https://gerrit.libreoffice.org/19762 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-04-10vclptr: create Instance helpers, and set initial ref-count to 1.Michael Meeks1-1/+7
Document that in README.lifecycle; the problem is that our constructors currently take and release references left/right on the object being created, which ... means we need an initial reference. Change-Id: I5de952b73ac67888c3fbb150d4a7cde2a7bc9abf
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl1-1/+0
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-07-14remove IReferenceNoel Grandin1-22/+1
now that it is unused Change-Id: I95d9f4cc50114dd9f9c9f5d095372766f44b3094
2014-07-03Catch invalid null pointer operations earlyStephan Bergmann1-3/+6
Change-Id: I324d5a6e84e0d2121d8e4612e074b44ed5127b11
2014-01-27Let C++ inline functions return bool instead of sal_BoolStephan Bergmann1-6/+6
...to improve diagnosing misuses of boolean expressions in client code (cf. compilerplugins/clang/implicitboolconversion.cxx). This change should be transparent to client code. Change-Id: Ibf43c5ded609b489952e1cc666cac1e72ffa2386
2013-10-23fixincludeguards.sh: include - the restThomas Arnhold1-3/+3
Change-Id: If1ee11da444a7f96f2d8668b277540da0bb4dbe9
2013-04-24move URE headers to include/David Tardon1-0/+243
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>