[Libreoffice-commits] core.git: Branch 'aoo/trunk' - 2 commits - svx/source
Pavel JanÃk
paveljanik at apache.org
Sun May 5 18:08:21 PDT 2013
svx/source/sidebar/insert/InsertPropertyPanel.cxx | 2 --
svx/source/sidebar/insert/SimpleToolBoxController.cxx | 2 +-
2 files changed, 1 insertion(+), 3 deletions(-)
New commits:
commit 4fba97b33858a6fc610b5540ab0277370e4147bf
Author: Pavel JanÃk <paveljanik at apache.org>
Date: Sun May 5 18:51:49 2013 +0000
Initialize variable to prevent compiler warning.
diff --git a/svx/source/sidebar/insert/SimpleToolBoxController.cxx b/svx/source/sidebar/insert/SimpleToolBoxController.cxx
index 6b4e5c2..dda97d9 100755
--- a/svx/source/sidebar/insert/SimpleToolBoxController.cxx
+++ b/svx/source/sidebar/insert/SimpleToolBoxController.cxx
@@ -68,7 +68,7 @@ void SAL_CALL SimpleToolBoxController::statusChanged (const css::frame::FeatureS
nItemBits &= ~TIB_CHECKABLE;
TriState eState = STATE_NOCHECK;
- sal_Bool bValue;
+ sal_Bool bValue = sal_False;
if (rEvent.State >>= bValue)
{
// Boolean, treat it as checked/unchecked
commit ceba7a4b3c50eb62544bfa9626f88013a4b9917b
Author: Pavel JanÃk <paveljanik at apache.org>
Date: Sun May 5 18:49:42 2013 +0000
Remove duplicated macro definition.
diff --git a/svx/source/sidebar/insert/InsertPropertyPanel.cxx b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
index d2baaa3..4f4c3bb 100755
--- a/svx/source/sidebar/insert/InsertPropertyPanel.cxx
+++ b/svx/source/sidebar/insert/InsertPropertyPanel.cxx
@@ -46,8 +46,6 @@ using namespace css;
using namespace cssu;
using ::rtl::OUString;
-#define A2S(pString) (::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(pString)))
-
namespace svx { namespace sidebar {
More information about the Libreoffice-commits
mailing list