summaryrefslogtreecommitdiff
path: root/sd/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2023-09-19 13:16:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-09-19 17:56:37 +0200
commit6ae1794736666b2a483120977479fc6f12406021 (patch)
tree2677c2684044e23572516887aeb72f624abd96d6 /sd/source/ui
parent9e92a17cb6e03beedeeca40bfc8524c2623d31eb (diff)
rename SfxObjectShell::GetError -> GetErrorIgnoreWarning
to distinguish it from the very similar GetErrorCode() Change-Id: Ic863742a7546e2835826d12181bf073ccbbbfb83 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157046 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui')
-rw-r--r--sd/source/ui/docshell/docshel4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/docshell/docshel4.cxx b/sd/source/ui/docshell/docshel4.cxx
index c240399053b9..6b9d8993ada9 100644
--- a/sd/source/ui/docshell/docshel4.cxx
+++ b/sd/source/ui/docshell/docshel4.cxx
@@ -583,7 +583,7 @@ bool DrawDocShell::SaveAs( SfxMedium& rMedium )
if( bRet )
bRet = SdXMLFilter( rMedium, *this, SdXMLFilterMode::Normal, SotStorage::GetVersion( rMedium.GetStorage() ) ).Export();
- if( GetError() == ERRCODE_NONE )
+ if( GetErrorIgnoreWarning() == ERRCODE_NONE )
SetError(ERRCODE_NONE);
return bRet;