[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    [PATCH] : Bug82198: all date variables should allow to specify the
From:       p.stirnweiss_koffice () bluewin ! ch
Date:       2004-07-23 9:16:16
Message-ID: 40F7A9ED0002C69F () mssbzhb-int ! msg ! bluewin ! ch
[Download RAW message or body]

Hello,

I am new to the list as well as new to programming.

The attached patch corrects the junior bug 82198. It applies to 
lib/kotext/kovariable.cc.

I have compiled succesfully with the patch. Creating all the variables in

Kword work as expected. Saving and loading in Kword 1.3+1.1 works. Saving

Kword Oasis does not load the variables (none of them so I do not think it
is 
linked to the patch).

Please let me know if this is correct as it is my first attempt at 
programming.

Pierre


["bug82198.diff" (text/x-diff)]

Index: kovariable.cc
===================================================================
RCS file: /home/kdecvs/kde/koffice/lib/kotext/kovariable.cc,v
retrieving revision 1.141
diff -u -3 -p -u -p -r1.141 kovariable.cc
--- kovariable.cc	13 Apr 2004 14:43:07 -0000	1.141
+++ kovariable.cc	22 Jul 2004 13:42:07 -0000
@@ -605,7 +605,7 @@ KoVariable * KoVariableCollection::creat
         case VT_DATE:
         case VT_DATE_VAR_KWORD10:  // compatibility with kword 1.0
         {
-            if ( _forceDefaultFormat || subtype == \
KoDateVariable::VST_DATE_LAST_PRINTING || subtype \
==KoDateVariable::VST_DATE_CREATE_FILE || subtype \
==KoDateVariable::VST_DATE_MODIFY_FILE) +            if ( _forceDefaultFormat )
                 varFormat = coll->format( KoDateVariable::defaultFormat() );
             else
             {



_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic