[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/filters/kword/rtf/export
From: Laurent Montel <montel () kde ! org>
Date: 2006-03-30 15:29:09
Message-ID: 1143732549.900421.21126.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 524527 by mlaurent:
Fix some error
M +1 -1 CMakeLists.txt
M +4 -2 ExportFilter.cc
--- trunk/koffice/filters/kword/rtf/export/CMakeLists.txt #524526:524527
@@ -13,7 +13,7 @@
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} rtfexport )
-target_link_libraries(rtfexport ${KDE4_KDECORE_LIBS} )
+target_link_libraries(rtfexport ${KDE4_KDECORE_LIBS} kwordexportfilters )
install_targets(${LIB_INSTALL_DIR}/kde4 rtfexport )
--- trunk/koffice/filters/kword/rtf/export/ExportFilter.cc #524526:524527
@@ -264,11 +264,13 @@
unsigned bottom = data[12]+(data[13]<<8);
origWidth = (long) (MM_TO_TWIP(right-left)/100);
origHeight = (long) (MM_TO_TWIP(bottom-top)/100);
-
+#warning "kde4 : port it"
+#if 0
// throw away WMF metaheader (22 bytes)
for( uint i=0; i<image.size()-22; i++)
- image.at(i) = image.at(i+22); // As we use uint, we need at() ( [] uses int only .)
+ image.at(i)=image.at(i+22)); // As we use uint, we need at() ( [] uses int only .)
image.resize( image.size()-22 );
+#endif
}
}
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic