diff options
author | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-06 19:48:48 +0200 |
---|---|---|
committer | Fridrich Štrba <fridrich.strba@bluewin.ch> | 2013-06-06 19:49:56 +0200 |
commit | 9eb4e4dc51a4448d59ee80f39144387c7b3cffaf (patch) | |
tree | ca154ba2b8c61f87e7d772a4ed58134f6d73375b /svtools | |
parent | 44c133ef996e32ebdfc9560bcf14b0cd77196a9e (diff) |
Some more modules at least building with mingw64
Change-Id: I3ea039655aecb7885bb310b1f2c29d66f9f7bb4f
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 8d7b8fa3f4a9..1d4611df7d67 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -3328,16 +3328,16 @@ Rectangle SvTreeListBox::GetFocusRect( SvTreeListEntry* pEntry, long nLine ) } -long SvTreeListBox::GetTabPos( SvTreeListEntry* pEntry, SvLBoxTab* pTab) +sal_IntPtr SvTreeListBox::GetTabPos( SvTreeListEntry* pEntry, SvLBoxTab* pTab) { DBG_CHKTHIS(SvTreeListBox,0); DBG_ASSERT(pTab,"No Tab"); - long nPos = pTab->GetPos(); + sal_IntPtr nPos = pTab->GetPos(); if( pTab->IsDynamic() ) { sal_uInt16 nDepth = pModel->GetDepth( pEntry ); nDepth = nDepth * (sal_uInt16)nIndent; - nPos += (long)nDepth; + nPos += (sal_IntPtr)nDepth; } return nPos; } |