From 85118169a5dccc3cd6f8260515f98ba3c4c91596 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 30 Jul 2014 16:49:03 +0300 Subject: ASPECT_ALL is unused Also add comment about the three sets of names for the same constants that must match. Change-Id: Id626b6f1cdaa4c2a8c391ae4f020186997ccb4d9 --- include/sfx2/objsh.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx index aa767ffa5931..3456fd8625c8 100644 --- a/include/sfx2/objsh.hxx +++ b/include/sfx2/objsh.hxx @@ -74,11 +74,14 @@ class JobSetup; class Size; class Point; +// These values presumably must match exactly the corresponding +// css::embed::Aspects ones (in offapi/com/sun/star/embed/Aspects.idl) +// and the DVASPECT_* ones in the Win32 API. + #define ASPECT_CONTENT 1 #define ASPECT_THUMBNAIL 2 /* 120 * 120, 6 Colors DIB in MetaFile */ #define ASPECT_ICON 4 #define ASPECT_DOCPRINT 8 -#define ASPECT_ALL (ASPECT_CONTENT | ASPECT_THUMBNAIL | ASPECT_ICON | ASPECT_DOCPRINT) // must be the same as in OLE2 #define SVOBJ_MISCSTATUS_NOTRESIZEABLE 512 -- cgit