diff --git a/src/Mod/Spreadsheet/App/Sheet.cpp b/src/Mod/Spreadsheet/App/Sheet.cpp index 3a0c0129cb..71da191938 100644 --- a/src/Mod/Spreadsheet/App/Sheet.cpp +++ b/src/Mod/Spreadsheet/App/Sheet.cpp @@ -118,7 +118,7 @@ Sheet::~Sheet() // Don't let an exception propagate out of a destructor (calls terminate()) Base::Console().Error( "clearAll() resulted in an exception when deleting the spreadsheet : %s\n", - *pcNameInDocument); + getNameInDocument()); } }