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

Jochen Nitschke j.nitschke+logerrit at ok.de
Tue Sep 6 12:32:23 UTC 2016


 svl/source/items/poolitem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 77bb65881a7dff2f3935df6dae7f3b1e0b756e12
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Mon Sep 5 23:26:42 2016 +0200

    remove outdated comment, getter not needed
    
    DBG_CHKTHIS call was removed from Which() in commit
    d205ff49be10159d1766c2d06182c02255497def
    
    Change-Id: I4d5b806f0b0733ae3dc84c672ad9d6915d211f68
    Reviewed-on: https://gerrit.libreoffice.org/28682
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
    Tested-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx
index 89ac952..81264d9 100644
--- a/svl/source/items/poolitem.cxx
+++ b/svl/source/items/poolitem.cxx
@@ -74,7 +74,7 @@ SfxPoolItem::SfxPoolItem(sal_uInt16 const nWhich)
 
 SfxPoolItem::SfxPoolItem( const SfxPoolItem& rCpy )
     : m_nRefCount(0) // don't copy that
-    , m_nWhich(rCpy.Which()) // call function because of ChkThis() (WTF does that mean?)
+    , m_nWhich(rCpy.m_nWhich)
     , m_nKind( SFX_ITEMS_NONE )
 {
 #if OSL_DEBUG_LEVEL > 0


More information about the Libreoffice-commits mailing list