vcl/osx/printaccessoryview.mm |    7 -------
 1 file changed, 7 deletions(-)

New commits:
commit e97a9211c08fe28d2b46d0a1371f0b391b5343b2
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Thu Jun 10 14:58:23 2021 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Thu Jun 10 16:44:43 2021 +0200

    -Werror,-Wunused-but-set-variable (Clang 13 trunk)
    
    ...ever since the code's introduction in
    adf0066a17538a394550237a54f6fc0027f6ed29 "#i91478# aqua implementation
    (continued)"
    
    Change-Id: I2dd7bbaba9e8068929f4792b7f953cbf01e03a7d
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116989
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm
index 7656c1b9df06..92c09f7dd47f 100644
--- a/vcl/osx/printaccessoryview.mm
+++ b/vcl/osx/printaccessoryview.mm
@@ -1063,7 +1063,6 @@ static void addEdit( NSView* pCurParent, CGFloat rCurX, 
CGFloat& rCurY, CGFloat
         OUString aPropertyName;
         OUString aGroupHint;
         Sequence< OUString > aChoices;
-        bool bEnabled = true;
         sal_Int64 nMinValue = 0, nMaxValue = 0;
         CGFloat nAttachOffset = 0;
         bool bIgnore = false;
@@ -1089,12 +1088,6 @@ static void addEdit( NSView* pCurParent, CGFloat rCurX, 
CGFloat& rCurY, CGFloat
                 rEntry.Value >>= aVal;
                 aPropertyName = aVal.Name;
             }
-            else if( rEntry.Name == "Enabled" )
-            {
-                bool bValue = true;
-                rEntry.Value >>= bValue;
-                bEnabled = bValue;
-            }
             else if( rEntry.Name == "MinValue" )
             {
                 rEntry.Value >>= nMinValue;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to