summaryrefslogtreecommitdiff
path: root/hwpfilter/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-24 10:41:00 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-24 14:47:38 +0000
commit6314da47612e84a2f9c790749f83e8b06f084e9f (patch)
tree3db2a38df0f95b186a49e40490f7330c0c10a2d0 /hwpfilter/source
parent145e5cd450606c38a1a792d9d5535ee5269784be (diff)
WaE: gcc 4.6.0 various warnings
Diffstat (limited to 'hwpfilter/source')
-rw-r--r--hwpfilter/source/drawing.h3
-rw-r--r--hwpfilter/source/list.hxx1
2 files changed, 2 insertions, 2 deletions
diff --git a/hwpfilter/source/drawing.h b/hwpfilter/source/drawing.h
index 4607959b6edf..8e734edd7a69 100644
--- a/hwpfilter/source/drawing.h
+++ b/hwpfilter/source/drawing.h
@@ -187,7 +187,7 @@ static bool SkipUnusedField(void)
static bool LoadCommonHeader(HWPDrawingObject * hdo, WORD * link_info)
{
- uint size, property_size, common_size;
+ uint size, common_size;
if( !hmem )
return FALSE;
@@ -202,7 +202,6 @@ static bool LoadCommonHeader(HWPDrawingObject * hdo, WORD * link_info)
}
common_size = HDOFILE_COMMON_SIZE;
- property_size = 44;
hdo->type = hmem->read2b();
*link_info = sal::static_int_cast<WORD>(hmem->read2b());
hdo->offset.x = hmem->read4b();
diff --git a/hwpfilter/source/list.hxx b/hwpfilter/source/list.hxx
index 44d91e18439f..cbc8d56b0ff2 100644
--- a/hwpfilter/source/list.hxx
+++ b/hwpfilter/source/list.hxx
@@ -41,6 +41,7 @@
* re-implements the same functionality, based on the STL.
*/
+#include <cstddef>
#include <vector>
template<class T>