summaryrefslogtreecommitdiff
path: root/sw/source/uibase/misc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-07-03 23:16:15 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-07-03 23:16:15 +0200
commit6f92b58987f754de31c9ca756e813deb7462d98e (patch)
tree37f1f2e8862b620b0ab669fe025f95eb9957d020 /sw/source/uibase/misc
parent16351a8ba50c04b9e4c7edbcf9491d2882a7eeda (diff)
error: reference cannot be bound to dereferenced null pointer
Change-Id: Ica39bcce389fc5d03a3902d9f703a0efa284ec92
Diffstat (limited to 'sw/source/uibase/misc')
-rw-r--r--sw/source/uibase/misc/glshell.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/misc/glshell.cxx b/sw/source/uibase/misc/glshell.cxx
index 48d33c00912c..45b72204e213 100644
--- a/sw/source/uibase/misc/glshell.cxx
+++ b/sw/source/uibase/misc/glshell.cxx
@@ -207,7 +207,7 @@ SwDocShellRef SwGlossaries::EditGroupDoc( const OUString& rGroup, const OUString
if( pGroup && pGroup->GetCount() )
{
// query which view is registered. In WebWriter there is no normal view
- sal_uInt16 nViewId = 0 != &SwView::Factory() ? 2 : 6;
+ sal_uInt16 nViewId = 0 != SwView::Factory() ? 2 : 6;
const OUString sLongName = pGroup->GetLongName(pGroup->GetIndex( rShortName ));
if( 6 == nViewId )