summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/view1.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/uiview/view1.cxx')
-rw-r--r--sw/source/uibase/uiview/view1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/view1.cxx b/sw/source/uibase/uiview/view1.cxx
index 9695e3690815..4081d58d0df4 100644
--- a/sw/source/uibase/uiview/view1.cxx
+++ b/sw/source/uibase/uiview/view1.cxx
@@ -176,7 +176,7 @@ void SwView::StateFormatPaintbrush(SfxItemSet &rSet)
rSet.Put(SfxBoolItem(SID_FORMATPAINTBRUSH, bHasContent));
if(!bHasContent)
{
- if( !m_pFormatClipboard->CanCopyThisType( GetWrtShell().GetSelectionType() ) )
+ if( !SwFormatClipboard::CanCopyThisType( GetWrtShell().GetSelectionType() ) )
rSet.DisableItem( SID_FORMATPAINTBRUSH );
}
}