[Libreoffice-commits] core.git: 2 commits - sd/source sw/source

Luboš Luňák l.lunak at suse.cz
Fri Feb 22 04:49:49 PST 2013


 sd/source/ui/docshell/docshel2.cxx |    2 +-
 sw/source/core/txtnode/ndtxt.cxx   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 30fee57e6c8d5d71e744ad61aec8b240a81909b8
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Fri Feb 22 13:49:13 2013 +0100

    fix build in debug code
    
    Change-Id: I829699340525b6a1c5840e1162028bd593d2b96e

diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index a0bc301..9c271c2 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -4307,7 +4307,7 @@ namespace {
             {
                 const SfxStringItem& pListIdItem =
                                         dynamic_cast<const SfxStringItem&>(pItem);
-                OSL_ENSURE( pListIdItem.GetValue().Len() > 0,
+                OSL_ENSURE( pListIdItem.GetValue().getLength() > 0,
                         "<HandleSetAttrAtTxtNode(..)> - empty list id attribute not excepted. Serious defect -> please inform OD." );
                 const String sListIdOfTxtNode = rTxtNode.GetListId();
                 if ( pListIdItem.GetValue() != sListIdOfTxtNode )
commit 55b00473eb09796ff66dcab2d33c67782dcb5230
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Fri Feb 22 13:48:54 2013 +0100

    fix incorrect code alignment
    
    Change-Id: I80f181966f0e47ec0030eeab7762a6b7fb0095cb

diff --git a/sd/source/ui/docshell/docshel2.cxx b/sd/source/ui/docshell/docshel2.cxx
index 72b0ef6..f56c4a4 100644
--- a/sd/source/ui/docshell/docshel2.cxx
+++ b/sd/source/ui/docshell/docshel2.cxx
@@ -283,7 +283,7 @@ Bitmap DrawDocShell::GetPagePreviewBitmap(SdPage* pPage, sal_uInt16 nMaxEdgePixe
             if ( pPageView->GetLockedLayers() != pFrameView->GetLockedLayers() )
                 pPageView->SetLockedLayers( pFrameView->GetLockedLayers() );
 
-                pPageView->SetHelpLines( pFrameView->GetStandardHelpLines() );
+            pPageView->SetHelpLines( pFrameView->GetStandardHelpLines() );
         }
 
         if ( pView->GetActiveLayer() != pFrameView->GetActiveLayer() )


More information about the Libreoffice-commits mailing list