summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/dbdocfun.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/dbdocfun.cxx')
-rw-r--r--sc/source/ui/docshell/dbdocfun.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/dbdocfun.cxx b/sc/source/ui/docshell/dbdocfun.cxx
index 5f1eb7acde8a..72dbe61b9e57 100644
--- a/sc/source/ui/docshell/dbdocfun.cxx
+++ b/sc/source/ui/docshell/dbdocfun.cxx
@@ -1587,8 +1587,8 @@ void ScDBDocFunc::RefreshPivotTables(ScDPObject* pDPObj, bool bApi)
return;
std::set<ScDPObject*> aRefs;
- sal_uLong nErrId = pDPs->ReloadCache(pDPObj, aRefs);
- if (nErrId)
+ const char* pErrId = pDPs->ReloadCache(pDPObj, aRefs);
+ if (pErrId)
return;
std::set<ScDPObject*>::iterator it = aRefs.begin(), itEnd = aRefs.end();