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

Tor Lillqvist tml at collabora.com
Fri Nov 29 04:12:29 PST 2013


 sc/source/ui/docshell/datastream.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 1e1302b89deba2ef61bde35c80efd7ff8a9bda29
Author: Tor Lillqvist <tml at collabora.com>
Date:   Fri Nov 29 12:43:43 2013 +0200

    WaE: Silence bogus MSVC 2012 warning
    
    Change-Id: I166e40e7b6d91fa406f9f3649001c12f054bbf2a

diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx
index 44c8b39..0df48b6 100644
--- a/sc/source/ui/docshell/datastream.cxx
+++ b/sc/source/ui/docshell/datastream.cxx
@@ -112,6 +112,7 @@ private:
 
 void DataStream::MakeToolbarVisible(ScDocShell *pShell)
 {
+    (void) pShell; // Mysterious MSVC 2012 claim pShell is unreferenced...
     css::uno::Reference< css::frame::XFrame > xFrame =
         pShell->GetViewData()->GetViewShell()->GetViewFrame()->GetFrame().GetFrameInterface();
     if (!xFrame.is())


More information about the Libreoffice-commits mailing list