summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-07-30 16:49:03 +0300
committerTor Lillqvist <tml@collabora.com>2014-07-30 19:18:40 +0300
commit85118169a5dccc3cd6f8260515f98ba3c4c91596 (patch)
treec75ccc39308bfccf997c2d698dd5836e8d9fd3d0
parentb2ee0235e88dc4da715b5766295ed88f27974fbd (diff)
ASPECT_ALL is unused
Also add comment about the three sets of names for the same constants that must match. Change-Id: Id626b6f1cdaa4c2a8c391ae4f020186997ccb4d9
-rw-r--r--include/sfx2/objsh.hxx5
1 files changed, 4 insertions, 1 deletions
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