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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 5 16:12:27 UTC 2019


 extensions/source/propctrlr/browserlistbox.cxx |    4 ----
 1 file changed, 4 deletions(-)

New commits:
commit 2b3f9652987707dfb5b8e8e9bb894098de0639fd
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Tue Nov 5 14:17:13 2019 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Nov 5 17:11:19 2019 +0100

    aControlPos is unused
    
    Change-Id: I55ecd0a820f4c620e516679d27c5cca461aa77bd
    Reviewed-on: https://gerrit.libreoffice.org/82071
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/extensions/source/propctrlr/browserlistbox.cxx b/extensions/source/propctrlr/browserlistbox.cxx
index 63e5fbf8a680..d64c86774f11 100644
--- a/extensions/source/propctrlr/browserlistbox.cxx
+++ b/extensions/source/propctrlr/browserlistbox.cxx
@@ -1059,10 +1059,6 @@ namespace pcr
 
             // the old control and some data about it
             Reference< XPropertyControl > xControl = rLine.pLine->getControl();
-            vcl::Window* pControlWindow = rLine.pLine->getControlWindow();
-            Point aControlPos;
-            if ( pControlWindow )
-                aControlPos = pControlWindow->GetPosPixel();
 
             // clean up the old control
             lcl_implDisposeControl_nothrow( xControl );


More information about the Libreoffice-commits mailing list