summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells/drawsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/shells/drawsh.cxx')
-rw-r--r--sw/source/uibase/shells/drawsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/drawsh.cxx b/sw/source/uibase/shells/drawsh.cxx
index 350181edf917..8a9b33502201 100644
--- a/sw/source/uibase/shells/drawsh.cxx
+++ b/sw/source/uibase/shells/drawsh.cxx
@@ -129,7 +129,7 @@ void SwDrawShell::InsertPictureFromFile(SdrObject& rObject)
if(ERRCODE_NONE == aDlg.Execute())
{
Graphic aGraphic;
- int nError(aDlg.GetGraphic(aGraphic));
+ ErrCode nError = aDlg.GetGraphic(aGraphic);
if(ERRCODE_NONE == nError)
{