/trunk/main/codemaker/source/idlmaker/ |
H A D | idltype.cxx | 316 sal_Int32 nPos = 0; in dumpNameSpace() local 325 if( nPos != -1 ) in dumpNameSpace() 327 } while( nPos != -1 ); in dumpNameSpace() 1699 if (nPos == -1) in scopedName() 1703 return type.copy(nPos+1); in scopedName() 1706 nPos = 0; in scopedName() 1711 } while( nPos != -1 ); in scopedName() 1722 if( nPos == -1 ) in scope() 1729 OString tmpScp2(type.copy(0, nPos)); in scope() 1738 nPos = 0; in scope() [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | tplnedef.cxx | 310 sal_uInt16 nPos = aLbLineStyles.GetSelectEntryPos(); in CheckChanges_Impl() local 311 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in CheckChanges_Impl() 313 *pPosDashLb = nPos; in CheckChanges_Impl() 675 sal_uInt16 nPos = aLbLineStyles.GetSelectEntryPos(); in IMPL_LINK() local 677 if( nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 713 delete maDashList->Replace( pEntry, nPos ); in IMPL_LINK() 714 aLbLineStyles.Modify( *pEntry, nPos, maDashList->GetUiBitmap( nPos ) ); in IMPL_LINK() 716 aLbLineStyles.SelectEntryPos( nPos ); in IMPL_LINK() 750 if ( nPos != LISTBOX_ENTRY_NOTFOUND ) in IMPL_LINK() 757 delete maDashList->Remove( nPos ); in IMPL_LINK() [all …]
|
H A D | page.cxx | 164 sal_uInt16 PosToPageUsage_Impl( sal_uInt16 nPos ) in PosToPageUsage_Impl() argument 168 if ( nPos >= nCount ) in PosToPageUsage_Impl() 170 return aArr[nPos]; in PosToPageUsage_Impl() 629 nActPos = nPos; in Reset() 631 nUserPos = nPos; in Reset() 832 nPos = aPaperSizeBox.GetSelectEntryPos(); in FillItemSet() 839 if ( nOld != nPos || in FillItemSet() 890 nPos = aNumberFormatBox.GetSelectEntryPos(); in FillItemSet() 894 aPage.SetNumType( (SvxNumType)nPos ); in FillItemSet() 984 if ( nPos == SVX_PAGE_MIRROR ) in IMPL_LINK() [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | impanmvw.cxx | 173 void ImplAnimView::ImplDrawToPos( sal_uLong nPos ) in ImplDrawToPos() argument 179 nPos = Min( nPos, (sal_uLong) mpParent->Count() - 1UL ); in ImplDrawToPos() 181 for( sal_uLong i = 0UL; i <= nPos; i++ ) in ImplDrawToPos() 198 void ImplAnimView::ImplDraw( sal_uLong nPos ) in ImplDraw() argument 200 ImplDraw( nPos, NULL ); in ImplDraw() 205 void ImplAnimView::ImplDraw( sal_uLong nPos, VirtualDevice* pVDev ) in ImplDraw() argument 220 const AnimationBitmap& rAnm = mpParent->Get( (sal_uInt16) ( mnActPos = Min( nPos, nLastPos ) ) ); in ImplDraw() 259 if( !nPos ) in ImplDraw()
|
/trunk/main/svl/source/numbers/ |
H A D | zforlist.cxx | 532 nKey = nPos+1; in PutEntry() 679 sal_uInt32 nPos; in Load() local 689 rStream >> nPos; in Load() 834 rStream >> nPos; in Load() 2653 nPos++; in ImpGenerateAdditionalFormats() 3294 if ( nPos == 0 ) in ImpLookupCurrencyEntryLoopBody() 3484 nPos = 0; in lcl_CheckCurrencySymbolPosition() 3487 nPos = 1; in lcl_CheckCurrencySymbolPosition() 3490 nPos = 0; in lcl_CheckCurrencySymbolPosition() 3493 nPos = 1; in lcl_CheckCurrencySymbolPosition() [all …]
|
/trunk/main/sc/source/ui/vba/ |
H A D | vbapagebreaks.cxx | 113 sal_Int32 nPos = aTablePageBreakData[i].Position; in getCount() local 114 if( nPos > nUsedEnd ) in getCount() 116 if( nPos >= nUsedStart ) in getCount() 129 sal_Int32 nPos = aTablePageBreakData.Position; in getByIndex() local 130 if( (nPos < xIndexAccess->getCount()) && (nPos > -1) ) in getByIndex() 132 …uno::Reference< beans::XPropertySet > xRowColPropertySet( xIndexAccess->getByIndex(nPos), uno::UNO… in getByIndex() 155 sal_Int32 nPos = aTablePageBreakData.Position; in getTablePageBreakData() local 156 if( nPos >= nUsedStart ) in getTablePageBreakData() 158 if( nPos > nUsedEnd ) in getTablePageBreakData()
|
/trunk/main/svl/source/notify/ |
H A D | brdcst.cxx | 97 for ( sal_uInt16 nPos = 0; nPos < aListeners.Count(); ++nPos ) in ~SfxBroadcaster() local 99 SfxListener *pListener = aListeners[nPos]; in ~SfxBroadcaster() 188 sal_uInt16 nPos = aListeners.GetPos(pListener); in RemoveListener() local 189 DBG_ASSERT( nPos != USHRT_MAX, "RemoveListener: Listener unknown" ); in RemoveListener() 190 aListeners.GetData()[nPos] = 0; in RemoveListener()
|
/trunk/main/ucb/source/ucp/hierarchy/ |
H A D | hierarchyuri.cxx | 77 sal_Int32 nPos = 0; in init() local 91 nPos = m_aUri.getLength() - 1; in init() 105 nPos = m_aUri.getLength() - 1; in init() 122 nPos in init() 170 nPos = nEnd; in init() 180 if ( ( nEnd > nPos ) && ( nEnd == ( m_aUri.getLength() - 1 ) ) ) in init() 184 m_aPath = m_aUri.copy( nPos ); in init()
|
/trunk/main/sc/source/filter/html/ |
H A D | htmlpars.cxx | 249 sal_uInt16 nPos; in SeekOffset() local 251 *pCol = static_cast<SCCOL>(nPos); in SeekOffset() 258 if ( nPos < nCount && (((*pOffset)[nPos] - nOffsetTol) <= nOffset) ) in SeekOffset() 261 else if ( nPos && (((*pOffset)[nPos-1] + nOffsetTol) >= nOffset) ) in SeekOffset() 274 SCCOL nPos; in MakeCol() local 293 SCCOL nPos; in MakeColNoRef() local 310 SCCOL nPos; in ModifyOffset() local 479 SCCOL nPos; in Adjust() local 481 pE->nColOverlap = (nPos > pE->nCol ? nPos - pE->nCol : 1); in Adjust() 1493 xub_StrLen nPos = 0; in FontOn() local [all …]
|
/trunk/main/sc/source/ui/inc/ |
H A D | csvgrid.hxx | 147 sal_Int32 GetNoScrollCol( sal_Int32 nPos ) const; 160 void InsertSplit( sal_Int32 nPos ); 162 void RemoveSplit( sal_Int32 nPos ); 164 void MoveSplit( sal_Int32 nPos, sal_Int32 nNewPos ); 172 SC_DLLPRIVATE bool ImplInsertSplit( sal_Int32 nPos ); 174 SC_DLLPRIVATE bool ImplRemoveSplit( sal_Int32 nPos ); 200 sal_uInt32 GetColumnFromPos( sal_Int32 nPos ) const; 339 SC_DLLPRIVATE void ImplInvertCursor( sal_Int32 nPos );
|
/trunk/main/framework/source/uielement/ |
H A D | toolbarmanager.cxx | 417 for ( sal_uInt16 nPos = 0; nPos < m_pToolBar->GetItemCount(); nPos++ ) in RefreshImages() local 419 sal_uInt16 nId( m_pToolBar->GetItemId( nPos ) ); in RefreshImages() 469 for ( sal_uInt16 nPos = 0; nPos < m_pToolBar->GetItemCount(); nPos++ ) in UpdateImageOrientation() local 471 sal_uInt16 nId = m_pToolBar->GetItemId( nPos ); in UpdateImageOrientation() 1482 aRefPoint.nPos, in FillToolbar() 1494 aRefPoint.nPos, in FillToolbar() 1788 sal_uInt16 nPos( 0 ); in GetToolBarCustomMenu() local 1824 for ( nPos = 0; nPos < m_pToolBar->GetItemCount(); ++nPos ) in GetToolBarCustomMenu() 1848 if ( nPos != MENU_ITEM_NOTFOUND ) in GetToolBarCustomMenu() 1849 aPopupMenu.RemoveItem( nPos ); in GetToolBarCustomMenu() [all …]
|
H A D | comboboxtoolbarcontroller.cxx | 334 sal_uInt16 nPos( COMBOBOX_APPEND ); in executeControlCommand() local 341 m_pComboBox->InsertEntry( aText, nPos ); in executeControlCommand() 348 sal_uInt16 nPos( COMBOBOX_APPEND ); in executeControlCommand() local 359 nPos = sal_uInt16( nTmpPos ); in executeControlCommand() 366 m_pComboBox->InsertEntry( aText, nPos ); in executeControlCommand() 374 sal_Int32 nPos( -1 ); in executeControlCommand() local 375 if ( rControlCommand.Arguments[i].Value >>= nPos ) in executeControlCommand() 377 if ( nPos < sal_Int32( m_pComboBox->GetEntryCount() )) in executeControlCommand() 378 m_pComboBox->RemoveEntry( sal_uInt16( nPos )); in executeControlCommand()
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_dialog2.cxx | 157 virtual void selectEntry( const long nPos ); 248 void ExtBoxWithBtns_Impl::selectEntry( const long nPos ) in selectEntry() argument 250 if ( HasActive() && ( nPos == getSelIndex() ) ) in selectEntry() 253 ExtensionBox_Impl::selectEntry( nPos ); in selectEntry() 367 if ( nPos >= (long) getItemCount() ) in ShowPopupMenu() 374 if ( ! GetEntryData( nPos )->m_bLocked ) in ShowPopupMenu() 376 if ( GetEntryData( nPos )->m_bUser ) in ShowPopupMenu() 386 if ( GetEntryData( nPos )->m_sLicenseText.Len() ) in ShowPopupMenu() 399 const long nPos = PointToPos( aMousePos ); in MouseButtonDown() local 403 switch( ShowPopupMenu( aMousePos, nPos ) ) in MouseButtonDown() [all …]
|
/trunk/main/vcl/inc/vcl/ |
H A D | field.hxx | 730 sal_uInt16 nPos = COMBOBOX_APPEND ); 733 XubString GetString( sal_uInt16 nPos ) const; 757 void InsertValue( sal_Int64 nValue, sal_uInt16 nPos = COMBOBOX_APPEND ); 760 sal_Int64 GetValue( sal_uInt16 nPos ) const; 761 sal_uInt16 GetValuePos( sal_Int64 nPos ) const; 786 sal_uInt16 nPos = COMBOBOX_APPEND ); 788 sal_Int64 GetValue( sal_uInt16 nPos, FieldUnit eOutUnit = FUNIT_NONE ) const; 817 void InsertValue( sal_Int64 nValue, sal_uInt16 nPos = COMBOBOX_APPEND ); 819 sal_Int64 GetValue( sal_uInt16 nPos ) const; 849 Date GetDate( sal_uInt16 nPos ) const; [all …]
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc.hxx | 218 EditCharAttrib* FindAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ); 220 EditCharAttrib* FindEmptyAttrib( sal_uInt16 nWhich, sal_uInt16 nPos ); 221 EditCharAttrib* FindFeature( sal_uInt16 nPos ) const; 281 sal_Bool IsFeature( sal_uInt16 nPos ) const { return ( GetChar( nPos ) == CH_FEATURE ); } in IsFeature() 627 inline ParaPortion* SaveGetObject( sal_uInt32 nPos ) const in SaveGetObject() 628 { return ( nPos < Count() ) ? GetObject( nPos ) : 0; } in SaveGetObject() 679 DeletedNodeInfo( sal_uIntPtr nInvAdr, sal_uInt32 nPos ) in DeletedNodeInfo() argument 681 nInvalidParagraph = nPos; } in DeletedNodeInfo() 763 …ContentNode* SaveGetObject( sal_uInt32 nPos ) const { return ( nPos < Count() ) ? GetObject( nPos … in SaveGetObject()
|
/trunk/main/sw/source/core/doc/ |
H A D | tblafmt.cxx | 584 ASSERT( nPos < 16, "falscher Bereich" ); in SetBoxFmt() 586 SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ]; in SetBoxFmt() 588 *aBoxAutoFmt[ nPos ] = rNew; in SetBoxFmt() 596 ASSERT( nPos < 16, "falscher Bereich" ); in GetBoxFmt() 598 SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ]; in GetBoxFmt() 617 ASSERT( nPos < 16, "falscher Bereich" ); in UpdateFromSet() 619 SwBoxAutoFmt* pFmt = aBoxAutoFmt[ nPos ]; in UpdateFromSet() 623 aBoxAutoFmt[ nPos ] = pFmt; in UpdateFromSet() 680 const SwBoxAutoFmt& rChg = GetBoxFmt( nPos ); in UpdateToSet() 989 long nPos = rStream.Tell(); in Load() local [all …]
|
H A D | docredln.cxx | 2085 SwRedline* pTmp = (*pRedlineTbl)[ nPos ]; in AcceptRedline() 2112 if( USHRT_MAX == nPos ) in AcceptRedline() 2113 nPos = 0; in AcceptRedline() 2198 SwRedline* pTmp = (*pRedlineTbl)[ nPos ]; in RejectRedline() 2225 if( USHRT_MAX == nPos ) in RejectRedline() 2226 nPos = 0; in RejectRedline() 3766 return GetRedlineData(nPos).nAuthor; in GetAuthor() 3776 return GetRedlineData(nPos).aStamp; in GetTimeStamp() 3781 return GetRedlineData(nPos).eType; in GetRealType() 3786 return GetRedlineData(nPos).sComment; in GetComment() [all …]
|
/trunk/main/sfx2/source/inc/ |
H A D | virtmenu.hxx | 102 SfxMenuControl& operator[]( sal_uInt16 nPos ) const; 104 sal_uInt16 GetItemId( sal_uInt16 nPos ) const; 118 void InitPopup(sal_uInt16 nPos, sal_Bool bOLE = sal_True); 141 inline SfxMenuControl& SfxVirtualMenu::operator[]( sal_uInt16 nPos ) const in operator []() 143 return *(pItems+nPos); in operator []() 149 inline sal_uInt16 SfxVirtualMenu::GetItemId( sal_uInt16 nPos ) const in GetItemId() 151 return pItems ? pItems[nPos].GetId() : 0; in GetItemId()
|
/trunk/main/cui/source/options/ |
H A D | cfgchart.cxx | 124 xub_StrLen nPos = aResName.SearchAscii( "$(ROW)" ); in useDefault() local 125 if( nPos != STRING_NOTFOUND ) in useDefault() 127 aPrefix = String( aResName, 0, nPos ); in useDefault() 128 aPostfix = String( aResName, nPos + sizeof( "$(ROW)" ) - 1, STRING_LEN ); in useDefault() 214 xub_StrLen nPos = aResName.SearchAscii( "$(ROW)" ); in RetrieveOptions() local 215 if( nPos != STRING_NOTFOUND ) in RetrieveOptions() 217 aPrefix = String( aResName, 0, nPos ); in RetrieveOptions() 218 aPostfix = String( aResName, nPos + sizeof( "$(ROW)" ) - 1, STRING_LEN ); in RetrieveOptions()
|
/trunk/main/sc/source/ui/dbgui/ |
H A D | csvtablebox.cxx | 188 void ScCsvTableBox::MakePosVisible( sal_Int32 nPos ) in MakePosVisible() argument 190 if( (0 <= nPos) && (nPos < GetPosCount()) ) in MakePosVisible() 192 if( nPos - CSV_SCROLL_DIST + 1 <= GetFirstVisPos() ) in MakePosVisible() 193 Execute( CSVCMD_SETPOSOFFSET, nPos - CSV_SCROLL_DIST ); in MakePosVisible() 194 else if( nPos + CSV_SCROLL_DIST >= GetLastVisPos() ) in MakePosVisible() 195 Execute( CSVCMD_SETPOSOFFSET, nPos - GetVisPosCount() + CSV_SCROLL_DIST ); in MakePosVisible() 308 sal_Int32 nPos = GetFirstVisPos(); in IMPL_LINK() local 311 Execute( CSVCMD_SETPOSOFFSET, nPos ); in IMPL_LINK()
|
/trunk/main/dbaccess/source/ui/control/ |
H A D | toolboxcontroller.cxx | 179 for (sal_uInt16 nPos = 0; nPos < nCount; ++nPos) in initialize() local 181 sal_uInt16 nItemId = pToolBox->GetItemId(nPos); in initialize() 245 for (sal_uInt16 nPos = 0; nPos < nCount; ++nPos) in getMenu() local 247 if ( pMenu->GetItemType( nPos ) == MENUITEM_SEPARATOR ) in getMenu() 250 sal_uInt16 nItemId = pMenu->GetItemId(nPos); in getMenu()
|
/trunk/main/rsc/source/res/ |
H A D | rsctop.cxx | 275 RSCINST RscTop::GetTupelVar( const RSCINST & rInst, sal_uInt32 nPos, in GetTupelVar() argument 279 return pSuperClass->GetTupelVar( rInst, nPos, rInitInst ); in GetTupelVar() 380 RSCINST RscTop::GetPosEle( const RSCINST & rInst, sal_uInt32 nPos ){ in GetPosEle() argument 383 GetPosEle( rInst, nPos ); in GetPosEle() 416 ERRTYPE RscTop::SetPosRscId( const RSCINST & rInst, sal_uInt32 nPos, in SetPosRscId() argument 421 SetPosRscId( rInst, nPos, rRscId ); in SetPosRscId() 435 SUBINFO_STRUCT RscTop::GetInfoEle( const RSCINST & rInst, sal_uInt32 nPos ){ in GetInfoEle() argument 438 GetInfoEle( rInst, nPos ); in GetInfoEle() 768 void RscTop::DeletePos( const RSCINST & rInst, sal_uInt32 nPos ) in DeletePos() argument 771 pSuperClass->DeletePos( rInst, nPos ); in DeletePos()
|
/trunk/main/dbaccess/source/ui/misc/ |
H A D | WTypeSelect.cxx | 133 sal_uInt16 nPos = aListBox.GetEntryPos( String( pCurFieldDescr->GetName() ) ); in CellModified() local 134 pCurFieldDescr = static_cast< OFieldDescription* >( aListBox.GetEntryData( nPos ) ); in CellModified() 201 aListBox.RemoveEntry(nPos); in CellModified() 202 aListBox.InsertEntry(pCurFieldDescr->GetName(),nPos); in CellModified() 203 aListBox.SetEntryData(nPos,pCurFieldDescr); in CellModified() 205 pWiz->replaceColumn(nPos,pCurFieldDescr,sOldName); in CellModified() 342 sal_uInt16 nPos; in Reset() local 344 nPos = m_lbColumnNames.InsertEntry((*aIter)->first, m_imgPKey ); in Reset() 346 nPos = m_lbColumnNames.InsertEntry((*aIter)->first); in Reset() 347 m_lbColumnNames.SetEntryData(nPos,(*aIter)->second); in Reset()
|
/trunk/main/sc/source/filter/excel/ |
H A D | excrecds.cxx | 923 … for( size_t nPos = 0, nSize = maFilterList.GetSize(); !bConflict && (nPos < nSize); ++nPos ) in ExcAutoFilterRecs() local 925 XclExpAutofilterRef xFilter = maFilterList.GetRecord( nPos ); in ExcAutoFilterRecs() 948 for( size_t nPos = 0, nSize = maFilterList.GetSize(); nPos < nSize; ++nPos ) in GetByCol() local 950 xFilter = maFilterList.GetRecord( nPos ); in GetByCol() 961 for( size_t nPos = 0, nSize = maFilterList.GetSize(); nPos < nSize; ++nPos ) in IsFiltered() local 962 if( maFilterList.GetRecord( nPos )->GetCol() == static_cast<sal_uInt16>(nCol) ) in IsFiltered()
|
/trunk/main/sw/source/core/layout/ |
H A D | ssfrm.cxx | 471 sal_uInt16 nPos; in ~SwCntntFrm() local 473 rFtnIdxs.SeekEntry( *pTxtNd, &nPos ); in ~SwCntntFrm() 475 if( nPos < rFtnIdxs.Count() ) in ~SwCntntFrm() 477 while( nPos && pTxtNd == &(rFtnIdxs[ nPos ]->GetTxtNode()) ) in ~SwCntntFrm() 478 --nPos; in ~SwCntntFrm() 479 if( nPos || pTxtNd != &(rFtnIdxs[ nPos ]->GetTxtNode()) ) in ~SwCntntFrm() 480 ++nPos; in ~SwCntntFrm() 482 while( nPos < rFtnIdxs.Count() ) in ~SwCntntFrm() 484 pTxtFtn = rFtnIdxs[ nPos ]; in ~SwCntntFrm() 488 ++nPos; in ~SwCntntFrm()
|