[Libreoffice-commits] core.git: include/sfx2
Tor Lillqvist
tml at collabora.com
Wed Jul 30 10:41:03 PDT 2014
include/sfx2/objsh.hxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 85118169a5dccc3cd6f8260515f98ba3c4c91596
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Jul 30 16:49:03 2014 +0300
ASPECT_ALL is unused
Also add comment about the three sets of names for the same constants that
must match.
Change-Id: Id626b6f1cdaa4c2a8c391ae4f020186997ccb4d9
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index aa767ff..3456fd8 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
More information about the Libreoffice-commits
mailing list