diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/fldui/FldRefTreeListBox.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/index/cnttab.cxx | 4 | ||||
-rw-r--r-- | sw/source/ui/misc/glosbib.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/misc/glossary.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/docvw/edtwin2.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/uiview/pview.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/uiview/viewport.cxx | 2 | ||||
-rw-r--r-- | sw/source/uibase/utlui/content.cxx | 4 | ||||
-rw-r--r-- | sw/source/uibase/utlui/glbltree.cxx | 2 |
10 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/ui/fldui/FldRefTreeListBox.cxx b/sw/source/ui/fldui/FldRefTreeListBox.cxx index 03ed69ac663b..00d308eda173 100644 --- a/sw/source/ui/fldui/FldRefTreeListBox.cxx +++ b/sw/source/ui/fldui/FldRefTreeListBox.cxx @@ -62,7 +62,7 @@ void SwFldRefTreeListBox::RequestHelp( const HelpEvent& rHEvt ) aPos = OutputToScreenPixel(aPos); Rectangle aItemRect( aPos, aSize ); Help::ShowQuickHelp( this, aItemRect, sEntry, - QUICKHELP_LEFT|QUICKHELP_VCENTER ); + QuickHelpFlags::Left|QuickHelpFlags::VCenter ); bCallBase = false; } } diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx index 0204ed3fc33f..9c5a03ffa1bd 100644 --- a/sw/source/ui/index/cnttab.cxx +++ b/sw/source/ui/index/cnttab.cxx @@ -1797,7 +1797,7 @@ void SwIdxTreeListBox::RequestHelp( const HelpEvent& rHEvt ) aPos = OutputToScreenPixel(aPos); Rectangle aItemRect( aPos, aSize ); Help::ShowQuickHelp( this, aItemRect, sEntry, - QUICKHELP_LEFT|QUICKHELP_VCENTER ); + QuickHelpFlags::Left|QuickHelpFlags::VCenter ); } } } @@ -3464,7 +3464,7 @@ bool SwTokenWindow::CreateQuickHelp(Control* pCtrl, } else Help::ShowQuickHelp( this, aItemRect, sEntry, - QUICKHELP_LEFT|QUICKHELP_VCENTER ); + QuickHelpFlags::Left|QuickHelpFlags::VCenter ); bRet = true; } return bRet; diff --git a/sw/source/ui/misc/glosbib.cxx b/sw/source/ui/misc/glosbib.cxx index b1ec21dce153..7444167bf911 100644 --- a/sw/source/ui/misc/glosbib.cxx +++ b/sw/source/ui/misc/glosbib.cxx @@ -434,7 +434,7 @@ void SwGlossaryGroupTLB::RequestHelp( const HelpEvent& rHEvt ) + SwGlossaries::GetExtension(); Help::ShowQuickHelp( this, aItemRect, sMsg, - QUICKHELP_LEFT|QUICKHELP_VCENTER ); + QuickHelpFlags::Left|QuickHelpFlags::VCenter ); } } } diff --git a/sw/source/ui/misc/glossary.cxx b/sw/source/ui/misc/glossary.cxx index 388e7e5b6218..d00a14a2aa9e 100644 --- a/sw/source/ui/misc/glossary.cxx +++ b/sw/source/ui/misc/glossary.cxx @@ -910,7 +910,7 @@ void SwGlTreeListBox::RequestHelp( const HelpEvent& rHEvt ) else sMsg = *static_cast<OUString*>(pEntry->GetUserData()); Help::ShowQuickHelp( this, aItemRect, sMsg, - QUICKHELP_LEFT|QUICKHELP_VCENTER ); + QuickHelpFlags::Left|QuickHelpFlags::VCenter ); } } } diff --git a/sw/source/uibase/docvw/edtwin.cxx b/sw/source/uibase/docvw/edtwin.cxx index a0475d67056c..38e935e05d70 100644 --- a/sw/source/uibase/docvw/edtwin.cxx +++ b/sw/source/uibase/docvw/edtwin.cxx @@ -5840,7 +5840,7 @@ void QuickHelpData::Start( SwWrtShell& rSh, sal_uInt16 nWrdLen ) aPt.Y() -= 3; nTipId = Help::ShowTip( &rWin, Rectangle( aPt, Size( 1, 1 )), m_aHelpStrings[ nCurArrPos ], - QUICKHELP_LEFT | QUICKHELP_BOTTOM ); + QuickHelpFlags::Left | QuickHelpFlags::Bottom ); } else { diff --git a/sw/source/uibase/docvw/edtwin2.cxx b/sw/source/uibase/docvw/edtwin2.cxx index 67f85700fff7..9151379903b6 100644 --- a/sw/source/uibase/docvw/edtwin2.cxx +++ b/sw/source/uibase/docvw/edtwin2.cxx @@ -147,7 +147,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) if( rSh.GetContentAtPos( aPos, aCntntAtPos, false, &aFldRect ) ) { - sal_uInt16 nStyle = 0; // style of quick help + QuickHelpFlags nStyle = QuickHelpFlags::NONE; // style of quick help switch( aCntntAtPos.eCntntAtPos ) { case SwContentAtPos::SW_TABLEBOXFML: @@ -255,7 +255,7 @@ void SwEditWin::RequestHelp(const HelpEvent &rEvt) ? STR_ENDNOTE : STR_FTNNOTE ) + sTmp; bBalloon = true; if( aCntntAtPos.IsInRTLText() ) - nStyle |= QUICKHELP_BIDI_RTL; + nStyle |= QuickHelpFlags::BiDiRtl; } break; diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx index 04d43c4acb68..1e93465e752c 100644 --- a/sw/source/uibase/uiview/pview.cxx +++ b/sw/source/uibase/uiview/pview.cxx @@ -1425,7 +1425,7 @@ IMPL_LINK( SwPagePreview, ScrollHdl, SwScrollbar *, pScrollbar ) aRect.Bottom() = aRect.Top(); Help::ShowQuickHelp(pScrollbar, aRect, sStateStr, - QUICKHELP_RIGHT|QUICKHELP_VCENTER); + QuickHelpFlags::Right|QuickHelpFlags::VCenter); } else @@ -1444,7 +1444,7 @@ IMPL_LINK( SwPagePreview, EndScrollHdl, SwScrollbar *, pScrollbar ) if( !pScrollbar->IsHoriScroll() ) // scroll vertically { if ( Help::IsQuickHelpEnabled() ) - Help::ShowQuickHelp(pScrollbar, Rectangle(), OUString(), 0); + Help::ShowQuickHelp(pScrollbar, Rectangle(), OUString()); if ( GetViewShell()->PagePreviewLayout()->DoesPreviewLayoutRowsFitIntoWindow() ) { // Scroll how many pages ?? diff --git a/sw/source/uibase/uiview/viewport.cxx b/sw/source/uibase/uiview/viewport.cxx index 1fa6a1721d7f..1dbd4eab9e1f 100644 --- a/sw/source/uibase/uiview/viewport.cxx +++ b/sw/source/uibase/uiview/viewport.cxx @@ -741,7 +741,7 @@ IMPL_LINK( SwView, EndScrollHdl, SwScrollbar *, pScrollbar ) if(nPgNum) { nPgNum = 0; - Help::ShowQuickHelp(pScrollbar, Rectangle(), OUString(), 0); + Help::ShowQuickHelp(pScrollbar, Rectangle(), OUString()); } Point aPos( m_aVisArea.TopLeft() ); bool bBorder = IsDocumentBorder(); diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx index 5d2d3a412a89..85bd0b19ceda 100644 --- a/sw/source/uibase/utlui/content.cxx +++ b/sw/source/uibase/utlui/content.cxx @@ -2888,13 +2888,13 @@ void SwContentTree::RequestHelp( const HelpEvent& rHEvt ) } else Help::ShowQuickHelp( this, aItemRect, sEntry, - QUICKHELP_LEFT|QUICKHELP_VCENTER ); + QuickHelpFlags::Left|QuickHelpFlags::VCenter ); bCallBase = false; } } else { - Help::ShowQuickHelp( this, Rectangle(), OUString(), 0 ); + Help::ShowQuickHelp( this, Rectangle(), OUString() ); bCallBase = false; } } diff --git a/sw/source/uibase/utlui/glbltree.cxx b/sw/source/uibase/utlui/glbltree.cxx index f60f7fe4d345..eba6232f3bba 100644 --- a/sw/source/uibase/utlui/glbltree.cxx +++ b/sw/source/uibase/utlui/glbltree.cxx @@ -497,7 +497,7 @@ void SwGlobalTree::RequestHelp( const HelpEvent& rHEvt ) } else Help::ShowQuickHelp( this, aItemRect, sEntry, - QUICKHELP_LEFT|QUICKHELP_VCENTER ); + QuickHelpFlags::Left|QuickHelpFlags::VCenter ); } } } |