sc/source/ui/view/gridwin.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit f3eeda3b6d6fb6438e9ed85335a8e12a8d1c8d71
Author: Miklos Vajna <vmik...@collabora.co.uk>
Date:   Mon Mar 9 11:17:20 2015 +0100

    sc: fix -Werror=unused-variable in product builds
    
    Change-Id: Id71236acb322e57f3e5af406874de4924c7524b9

diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index d980dfc..47a4825 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2421,6 +2421,7 @@ void ScGridWindow::LogicMouseButtonDown(const MouseEvent& 
rMouseEvent)
     // When we're not doing tiled rendering, then positions must be passed as 
pixels.
     ScDocShell* pDocSh = pViewData->GetDocShell();
     ScDocument& rDoc = pDocSh->GetDocument();
+    (void)rDoc;
     assert(rDoc.GetDrawLayer()->isTiledRendering());
 
     MouseButtonDown(rMouseEvent);
@@ -2431,6 +2432,7 @@ void ScGridWindow::LogicMouseButtonUp(const MouseEvent& 
rMouseEvent)
     // When we're not doing tiled rendering, then positions must be passed as 
pixels.
     ScDocShell* pDocSh = pViewData->GetDocShell();
     ScDocument& rDoc = pDocSh->GetDocument();
+    (void)rDoc;
     assert(rDoc.GetDrawLayer()->isTiledRendering());
 
     MouseButtonUp(rMouseEvent);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to