[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - sfx2/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 20 04:35:27 UTC 2019


 sfx2/source/doc/objserv.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d971c1b68651174d0c75907abb0ebcbf2b67770f
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Mon Aug 19 22:02:26 2019 +0200
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Aug 20 06:34:45 2019 +0200

    Fix Windows build after commit 2a97d38fbf89ef6f17452fa9d93c2d6fb062f233
    
    > C:/lo/core/sfx2/source/doc/objserv.cxx(561): error C2429: attribute
      'fallthrough' requires compiler flag '/std:c++17'
    
    Change-Id: Id5924138ab75b87b82c205340d1e699426e04773
    Reviewed-on: https://gerrit.libreoffice.org/77770
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sfx2/source/doc/objserv.cxx b/sfx2/source/doc/objserv.cxx
index 1f01253d742d..77cd8458bfc1 100644
--- a/sfx2/source/doc/objserv.cxx
+++ b/sfx2/source/doc/objserv.cxx
@@ -558,7 +558,7 @@ void SfxObjectShell::ExecFile_Impl(SfxRequest &rReq)
             bIsAutoRedact = true;
             //aDlg.getTargets(aRedactionTargets);
 
-            [[fallthrough]];
+            SAL_FALLTHROUGH;
         }
 
         case SID_REDACTDOC:


More information about the Libreoffice-commits mailing list