summaryrefslogtreecommitdiffstats
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-08-25 17:16:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-08-25 17:16:14 +0200
commit6810f00d09679644ec5971b235a0ec01dc572a8b (patch)
tree6d09515ab5c58fddb08f1551be75bfe50202947e /sd
parenttdf#100726 - Improve readability of OUString concatanations (diff)
downloadcore-6810f00d09679644ec5971b235a0ec01dc572a8b.tar.gz
core-6810f00d09679644ec5971b235a0ec01dc572a8b.zip
loplugin:staticaccess: Extend loplugin:staticcall to cover all access...
to static members (data, in addition to function) via class member access syntax. Also covers the (somewhat obscure) access to enumerator members. Change-Id: Iec54b8df2fdb423c0caf21a0dd0f9fe8fdf33897
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/pglink.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/pglink.cxx b/sd/source/core/pglink.cxx
index 6f54c58f9eb2..83587d398512 100644
--- a/sd/source/core/pglink.cxx
+++ b/sd/source/core/pglink.cxx
@@ -96,7 +96,7 @@ SdPageLink::~SdPageLink()
bool bNoDialogs = false;
bool bCopy = false;
- if (pDoc->s_pDocLockedInsertingLinks)
+ if (SdDrawDocument::s_pDocLockedInsertingLinks)
{
// resolving links while loading pDoc
bNoDialogs = true;
@@ -106,7 +106,7 @@ SdPageLink::~SdPageLink()
pDoc->InsertBookmarkAsPage(aBookmarkList, nullptr, bLink, bReplace,
nInsertPos, bNoDialogs, nullptr, bCopy, true, true);
- if (!pDoc->s_pDocLockedInsertingLinks)
+ if (!SdDrawDocument::s_pDocLockedInsertingLinks)
pDoc->CloseBookmarkDoc();
}
}