[Libreoffice-commits] core.git: vcl/qt5

Stephan Bergmann sbergman at redhat.com
Mon Apr 16 12:42:45 UTC 2018


 vcl/qt5/Qt5Bitmap.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9a94b744e9d61a3ff56c0b1830a56145607758f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Apr 16 14:39:52 2018 +0200

    Fix --enable-qt5
    
    ...after b36ea44dcbdb862b0ac6e6cdaf27225b43dc0c7e "push logic from
    ImpBitmap::ImplReleaseBuffer down"
    
    Change-Id: I781a79146880686b2396e783da6ed2d1304c7e38

diff --git a/vcl/qt5/Qt5Bitmap.cxx b/vcl/qt5/Qt5Bitmap.cxx
index f5c943d80877..7ec43af5179b 100644
--- a/vcl/qt5/Qt5Bitmap.cxx
+++ b/vcl/qt5/Qt5Bitmap.cxx
@@ -215,7 +215,7 @@ BitmapBuffer* Qt5Bitmap::AcquireBuffer(BitmapAccessMode /*nMode*/)
     return pBuffer;
 }
 
-void Qt5Bitmap::ReleaseBuffer(BitmapBuffer* pBuffer, BitmapAccessMode /*nMode*/)
+void Qt5Bitmap::ReleaseBuffer(BitmapBuffer* pBuffer, BitmapAccessMode nMode)
 {
     m_aPalette = pBuffer->maPalette;
     auto count = m_aPalette.GetEntryCount();


More information about the Libreoffice-commits mailing list