1. mst
  2. ooo340

Commits

Bjoern Michaelsen  committed 4f9e2a5

new_itemsets: alway put item at the which-id of the item

  • Participants
  • Parent commits 1633adb
  • Branches default

Comments (0)

Files changed (1)

File sc/source/filter/excel/xistyle.cxx

View file
  • Ignore whitespace
 // sc_which = the Calc Which-ID of the item
 // ee_which = the edit engine Which-ID of the item
 #define PUTITEM( item, sc_which, ee_which ) \
-    ScfTools::PutItem( rItemSet, item, (bEE ? (ee_which) : (sc_which)), bSkipPoolDefs )
+    ScfTools::PutItem( rItemSet, item, item.Which(), bSkipPoolDefs )
 
 // Font item
     // #i36997# do not set default Tahoma font from notes