From 6ae1794736666b2a483120977479fc6f12406021 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 19 Sep 2023 13:16:41 +0200 Subject: 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 --- sd/source/ui/docshell/docshel4.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source') 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; -- cgit