[Libreoffice-commits] core.git: include/vcl

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Nov 27 06:27:33 UTC 2018


 include/vcl/GraphicObject.hxx |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit 1f5fa39b45c0a62fb1ba266e6823ebdaa8d419eb
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Mon Nov 26 09:41:47 2018 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Tue Nov 27 07:27:08 2018 +0100

    remove unused GRFMGR_AUTOSWAPSTREAM defines
    
    Change-Id: I01321f82958bbf22838554010abf706a3e9b9391
    Reviewed-on: https://gerrit.libreoffice.org/64061
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/include/vcl/GraphicObject.hxx b/include/vcl/GraphicObject.hxx
index bad14526f1d4..88038fb71afe 100644
--- a/include/vcl/GraphicObject.hxx
+++ b/include/vcl/GraphicObject.hxx
@@ -41,13 +41,6 @@ namespace o3tl
     template<> struct typed_flags<GraphicManagerDrawFlags> : is_typed_flags<GraphicManagerDrawFlags, 0x07> {};
 }
 
-// AutoSwap defines
-
-#define GRFMGR_AUTOSWAPSTREAM_LINK nullptr
-#define GRFMGR_AUTOSWAPSTREAM_LOADED reinterpret_cast<SvStream*>(sal_IntPtr(-3))
-#define GRFMGR_AUTOSWAPSTREAM_TEMP   reinterpret_cast<SvStream*>(sal_IntPtr(-2))
-#define GRFMGR_AUTOSWAPSTREAM_NONE   reinterpret_cast<SvStream*>(sal_IntPtr(-1))
-
 // Adjustment defines
 enum class GraphicAdjustmentFlags
 {


More information about the Libreoffice-commits mailing list