[Libreoffice-commits] .: cui/source sd/source svx/inc

Michael Meeks michael at kemper.freedesktop.org
Mon Sep 26 01:11:31 PDT 2011


 cui/source/tabpages/border.cxx |    2 +-
 sd/source/ui/dlg/copydlg.cxx   |    2 +-
 svx/inc/svx/ofaitem.hxx        |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 3d22598a193130c5bfb0b5f459359a0b66b4424e
Author: Michael Meeks <michael.meeks at novell.com>
Date:   Mon Sep 26 09:12:02 2011 +0100

    more post colortable cleanup

diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index d663ffc..98d62e9 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -288,7 +288,7 @@ SvxBorderTabPage::SvxBorderTabPage( Window* pParent,
             pColorTable = ( (SvxColorListItem*)pItem )->GetColorList();
     }
 
-    DBG_ASSERT( pColorTable, "ColorTable not found!" );
+    DBG_ASSERT( pColorTable.is(), "ColorTable not found!" );
 
     if ( pColorTable.is() )
     {
diff --git a/sd/source/ui/dlg/copydlg.cxx b/sd/source/ui/dlg/copydlg.cxx
index 83144e7..c86d9c4 100644
--- a/sd/source/ui/dlg/copydlg.cxx
+++ b/sd/source/ui/dlg/copydlg.cxx
@@ -105,7 +105,7 @@ CopyDlg::CopyDlg(
     maBtnSetViewData.SetAccessibleName (maBtnSetViewData.GetQuickHelpText());
 
     // Farbtabellen
-    DBG_ASSERT( mpColorList, "Keine gueltige ColorTable uebergeben!" );
+    DBG_ASSERT( mpColorList.is(), "No colortable available !" );
     maLbStartColor.Fill( mpColorList );
     maLbEndColor.CopyEntries( maLbStartColor );
 
diff --git a/svx/inc/svx/ofaitem.hxx b/svx/inc/svx/ofaitem.hxx
index cc5d813..d4fd9c7 100644
--- a/svx/inc/svx/ofaitem.hxx
+++ b/svx/inc/svx/ofaitem.hxx
@@ -74,11 +74,11 @@ public:
     {
         return new OfaRefItem( *this );
     }
-    rtl::Reference<reference_type> GetValue() const
+    inline rtl::Reference<reference_type> GetValue() const
     {
         return mxRef;
     }
-    void SetValue( const rtl::Reference<reference_type> &xRef )
+    inline void SetValue( const rtl::Reference<reference_type> &xRef )
     {
         mxRef = xRef;
     }


More information about the Libreoffice-commits mailing list