summaryrefslogtreecommitdiff
path: root/vcl/workben
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/workben')
-rw-r--r--vcl/workben/icontest.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx
index a321d5392dc6..216ab9e4b890 100644
--- a/vcl/workben/icontest.cxx
+++ b/vcl/workben/icontest.cxx
@@ -94,7 +94,7 @@ void MyWorkWindow::LoadGraphic( const OUString& sImageFile )
{
SvFileStream aFileStream( sImageFile, StreamMode::READ );
GraphicFilter aGraphicFilter(false);
- if (aGraphicFilter.ImportGraphic(maGraphic, sImageFile, aFileStream) != 0)
+ if (aGraphicFilter.ImportGraphic(maGraphic, sImageFile, aFileStream) != ERRCODE_NONE)
{
SAL_WARN("vcl.icontest", "Could not import image '" << sImageFile << "'");
return;