[Libreoffice-commits] core.git: fpicker/source

Stephan Bergmann sbergman at redhat.com
Fri Jan 19 12:46:06 UTC 2018


 fpicker/source/aqua/SalAquaPicker.mm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a34a251ca4e4feeb31a96a88e3ac0add3cc22866
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Jan 19 13:45:35 2018 +0100

    loplugin:redundantcast (after loplugin:cstylecast, macOS)
    
    Change-Id: I349eb6c3c2408729799d35316ab75bb05920021f

diff --git a/fpicker/source/aqua/SalAquaPicker.mm b/fpicker/source/aqua/SalAquaPicker.mm
index 0809842cb23e..cb83b21f6b89 100644
--- a/fpicker/source/aqua/SalAquaPicker.mm
+++ b/fpicker/source/aqua/SalAquaPicker.mm
@@ -83,7 +83,7 @@ void SalAquaPicker::implInitialize()
 
         case NAVIGATIONSERVICES_SAVE:
             m_pDialog = [NSSavePanel savePanel];
-            [(NSSavePanel*)m_pDialog setCanSelectHiddenExtension:NO]; //changed for issue #102102
+            [m_pDialog setCanSelectHiddenExtension:NO]; //changed for issue #102102
             /* I would have loved to use
              * [(NSSavePanel*)m_pDialog setExtensionHidden:YES];
              * here but unfortunately this


More information about the Libreoffice-commits mailing list