[Libreoffice-commits] .: 2 commits - accessibility/source canvas/source
Tor Lillqvist
tml at kemper.freedesktop.org
Thu Oct 6 02:03:16 PDT 2011
accessibility/source/extended/AccessibleToolPanelDeck.cxx | 2 +-
canvas/source/cairo/cairo_canvashelper.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 5cb1597064e81e0ea90d6a000854f9305a45c87a
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Thu Oct 6 12:00:07 2011 +0300
WaE: class has virtual functions, but destructor is not virtual
diff --git a/accessibility/source/extended/AccessibleToolPanelDeck.cxx b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
index be22454..79088d5 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeck.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
@@ -98,7 +98,7 @@ namespace accessibility
bool isDisposed() const { return m_pPanelDeck == NULL; }
void dispose();
- ~AccessibleToolPanelDeck_Impl();
+ virtual ~AccessibleToolPanelDeck_Impl();
Reference< XAccessible > getOwnAccessible() const;
Reference< XAccessible > getActivePanelAccessible();
commit 6db1788c08b82b0a459d4c480133fa8341ef256f
Author: Tor Lillqvist <tlillqvist at suse.com>
Date: Thu Oct 6 11:44:44 2011 +0300
WaE: '=' : truncation of constant value
diff --git a/canvas/source/cairo/cairo_canvashelper.cxx b/canvas/source/cairo/cairo_canvashelper.cxx
index 0d94db3..7150c46 100644
--- a/canvas/source/cairo/cairo_canvashelper.cxx
+++ b/canvas/source/cairo/cairo_canvashelper.cxx
@@ -1870,7 +1870,7 @@ namespace cairocanvas
*pColors++ = vcl::unotools::toByteColor(pIn->Blue);
*pColors++ = vcl::unotools::toByteColor(pIn->Green);
*pColors++ = vcl::unotools::toByteColor(pIn->Red);
- *pColors++ = 255;
+ *pColors++ = -1;
++pIn;
}
return aRes;
More information about the Libreoffice-commits
mailing list