diff options
Diffstat (limited to 'filter/source/pdf/impdialog.cxx')
-rw-r--r-- | filter/source/pdf/impdialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx index 77f792f3d15b..e8d1e1eb91ab 100644 --- a/filter/source/pdf/impdialog.cxx +++ b/filter/source/pdf/impdialog.cxx @@ -1502,7 +1502,7 @@ ImplErrorDialog::ImplErrorDialog(const std::set< vcl::PDFWriter::ErrorCode >& rE if( m_pErrors->GetEntryCount() > 0 ) { m_pErrors->SelectEntryPos( 0 ); - OUString* pStr = reinterpret_cast<OUString*>(m_pErrors->GetEntryData( 0 )); + OUString* pStr = static_cast<OUString*>(m_pErrors->GetEntryData( 0 )); m_pExplanation->SetText( pStr ? *pStr : OUString() ); } @@ -1518,7 +1518,7 @@ ImplErrorDialog::~ImplErrorDialog() IMPL_LINK_NOARG(ImplErrorDialog, SelectHdl) { - OUString* pStr = reinterpret_cast<OUString*>(m_pErrors->GetSelectEntryData()); + OUString* pStr = static_cast<OUString*>(m_pErrors->GetSelectEntryData()); m_pExplanation->SetText( pStr ? *pStr : OUString() ); return 0; } |