summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/navigatr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-01 09:51:02 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-08-02 05:34:49 +0000
commit6c87b028406070332ab1c37dde323b1678cdf8e6 (patch)
tree51cd2bffdc152c02f7d72f3e98b450f84eb1c6c0 /sd/source/ui/dlg/navigatr.cxx
parent389b08190092f9a9103b3ac098994ec83b2d0bfa (diff)
loplugin:countusersofdefaultparams in sd
Change-Id: I848d9b555a26e9d343efdfaaaec44a2c7d8be5b5 Reviewed-on: https://gerrit.libreoffice.org/27765 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sd/source/ui/dlg/navigatr.cxx')
-rw-r--r--sd/source/ui/dlg/navigatr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index 548015494ec6..764645493c2f 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -308,7 +308,7 @@ IMPL_LINK_TYPED( SdNavigatorWin, DropdownClickToolBoxHdl, ToolBox*, pBox, void )
nID < NAVIGATOR_DRAGTYPE_COUNT;
nID++ )
{
- sal_uInt16 nRId = GetDragTypeSdResId( (NavigatorDragType)nID );
+ sal_uInt16 nRId = GetDragTypeSdResId( (NavigatorDragType)nID, false );
if( nRId > 0 )
{
DBG_ASSERT(aHIDs[nID-NAVIGATOR_DRAGTYPE_URL],"HelpId not added!");
@@ -674,7 +674,7 @@ void SdNavigatorWin::RefreshDocumentLB( const OUString* pDocName )
SfxMedium *pMedium = pDocShell->GetMedium();
aStr = pMedium ? pMedium->GetName() : OUString();
if( !aStr.isEmpty() )
- aInfo.SetName();
+ aInfo.SetName( true );
else
aInfo.SetName( false );
// at the moment, we use the name of the shell again (i.e.
@@ -685,7 +685,7 @@ void SdNavigatorWin::RefreshDocumentLB( const OUString* pDocName )
maLbDocs->InsertEntry( aStr );
if( pDocShell == pCurrentDocShell )
- aInfo.SetActive();
+ aInfo.SetActive( true );
else
aInfo.SetActive( false );