diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-01-21 13:56:38 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2010-01-21 13:56:38 +0100 |
commit | 1d859143c51805f074e8dfd211795a365eb2e52d (patch) | |
tree | f3655a4034f70e5e9dc07303f64b546f90185314 | |
parent | 7ae11455739f372d7ebf53a39f29d1a0897989cb (diff) |
fix some compile problems
-rw-r--r-- | vcl/aqua/inc/salbmp.h | 1 | ||||
-rw-r--r-- | vcl/unx/headless/svpframe.cxx | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/vcl/aqua/inc/salbmp.h b/vcl/aqua/inc/salbmp.h index bc940b571d26..9d0da7246e8c 100644 --- a/vcl/aqua/inc/salbmp.h +++ b/vcl/aqua/inc/salbmp.h @@ -39,7 +39,6 @@ #include "salconst.h" #include "vcl/salvd.hxx" #include "salcolorutils.hxx" -#include "salpixmaputils.hxx" #include "vcl/salbmp.hxx" #include "salgdi.h" #include "basebmp/bitmapdevice.hxx" diff --git a/vcl/unx/headless/svpframe.cxx b/vcl/unx/headless/svpframe.cxx index 68c9d99e0627..bbc21529470d 100644 --- a/vcl/unx/headless/svpframe.cxx +++ b/vcl/unx/headless/svpframe.cxx @@ -98,7 +98,7 @@ SvpSalFrame::~SvpSalFrame() const std::list< SalFrame* >& rFrames( m_pInstance->getFrames() ); for( std::list< SalFrame* >::const_iterator it = rFrames.begin(); it != rFrames.end(); ++it ) { - SvpSalFrame* pFrame = static_cast<const SvpSalFrame*>(*it); + SvpSalFrame* pFrame = const_cast<SvpSalFrame*>(static_cast<const SvpSalFrame*>(*it)); if( pFrame->m_bVisible && pFrame->m_pParent == NULL && (pFrame->m_nStyle & (SAL_FRAME_STYLE_MOVEABLE | |