Anonymous avatar Anonymous committed 2f11742

Fixed importing of phonetic data on rich-text cells.

Comments (0)

Files changed (1)

sc/source/filter/xml/xmlcelli.cxx

                             ScDocument* pDoc = rXMLImport.GetDocument();
                             ScUnoConversion::FillScAddress( aScAddress, aCurrentPos );
                             ScBaseCell *pBaseCell = pDoc->GetCell( aScAddress );
-                            ScPhonetic::PortionVec xPortions;
                             sal_uInt16 aKanaType = lcl_GetKanaType ( pOUPhoneticText );
-                            ScPhonetic aPhonetic ( 0, 0x30 | aKanaType , 0, *pOUPhoneticText, xPortions );
+                            ScPhonetic aPhonetic ( 0, 0x30 | aKanaType , 0, *pOUPhoneticText, aPhoneticPortions );
                             ScBaseCell *pNewCell = new ScAsianEditCell( (const ScEditCell&) *pBaseCell, *pDoc, aPhonetic );
                             pDoc->PutCell( aScAddress, pNewCell );
                         }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.