[Libreoffice-commits] .: svtools/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Oct 8 08:24:25 PDT 2012


 svtools/source/inc/sgvmain.hxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit cf955c621269011eaa71ee7e51647203f6120110
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Mon Oct 8 18:19:26 2012 +0300

    Don't repeat my mistake in the future
    
    Change-Id: I5b5e4464c9a7345aa9ca230100aae0d7fcee91ee

diff --git a/svtools/source/inc/sgvmain.hxx b/svtools/source/inc/sgvmain.hxx
index 9d023d5..fcf7473 100644
--- a/svtools/source/inc/sgvmain.hxx
+++ b/svtools/source/inc/sgvmain.hxx
@@ -99,6 +99,12 @@ struct ObjAreaType {
     sal_uInt8   FFarbe;   //  [Index]
     sal_uInt8   FBFarbe;  //  [Index]
     sal_uInt8   FIntens;  //  [%]
+    // Despite the "Dummy" in the name, and not being used anywhere in
+    // the code, these two fields are *essential*. These structs are
+    // 1:1 mappings of actual on-disk/wire file format structures...
+    // So don't clean the "unused dummy" fields away. (Actually it
+    // might well be that many other fields around here are never used
+    // in our code either.)
     sal_uInt8   FDummy1;  //
     sal_Int16  FDummy2;  //
     sal_uInt16 FMuster;  //  [Index] inkl. Invers, Transparenz


More information about the Libreoffice-commits mailing list