diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:36:33 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-05 11:33:58 +0900 |
| commit | 9abcf51de91242d1ab70230ba46abd2108416edf (patch) | |
| tree | b06138af56a2addecdb37e556deb89f4972d59b8 /kspread/kspread_sheet.cpp | |
| parent | 5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff) | |
| download | koffice-9abcf51de91242d1ab70230ba46abd2108416edf.tar.gz koffice-9abcf51de91242d1ab70230ba46abd2108416edf.zip | |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit fb6b4d204d1155fa3a1bc7a128873340db1524f7)
Diffstat (limited to 'kspread/kspread_sheet.cpp')
| -rw-r--r-- | kspread/kspread_sheet.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kspread/kspread_sheet.cpp b/kspread/kspread_sheet.cpp index 8e20757e0..8a4cf50a4 100644 --- a/kspread/kspread_sheet.cpp +++ b/kspread/kspread_sheet.cpp @@ -7359,7 +7359,7 @@ TQString Sheet::saveOasisSheetStyleName( KoGenStyles &mainStyles ) TQBuffer buffer; buffer.open( IO_WriteOnly ); - KoXmlWriter elementWriter( TQT_TQIODEVICE(&buffer) ); // TODO pass indentation level + KoXmlWriter elementWriter( &buffer ); // TODO pass indentation level saveOasisHeaderFooter(elementWriter); TQString elementContents = TQString::fromUtf8( buffer.buffer(), buffer.buffer().size() ); @@ -8220,14 +8220,14 @@ bool Sheet::insertPicture( const KoPoint& point, const TQPixmap& pixmap ) TQBuffer buffer(data); buffer.open( IO_ReadWrite ); - pixmap.save( TQT_TQIODEVICE(&buffer) , "PNG" ); + pixmap.save( &buffer , "PNG" ); //Reset the buffer so that KoPicture reads the whole file from the beginning //(at the moment the read/write position is at the end) buffer.reset(); KoPicture picture; - picture.load( TQT_TQIODEVICE(&buffer) , "PNG" ); + picture.load( &buffer , "PNG" ); doc()->pictureCollection()->insertPicture(picture); |
