summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-06-13 17:50:19 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 17:54:28 +0200
commit06b51293f61df304960f70ce5b827983c8bff8c1 (patch)
treec714be0efc92af1bb28a9aa83c0b157bd04d5354 /framework
parent8fe9b36f93c9b0744c978aad7306e6772df3692a (diff)
loplugin:staticcall
Change-Id: I6301c6d01b62540d0a765b78323a46ee3a4965c8
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx2
-rw-r--r--framework/source/uielement/recentfilesmenucontroller.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index 63cb6ad5ae5e..026986b44705 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -175,7 +175,7 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
if ( !aFontSizeNames.IsEmpty() )
{
- if ( pAry == pFontList->GetStdSizeAry() )
+ if ( pAry == FontList::GetStdSizeAry() )
{
// for scalable fonts all font size names
sal_uLong nCount = aFontSizeNames.Count();
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx
index 461030f6627e..7fa92a6b5f41 100644
--- a/framework/source/uielement/recentfilesmenucontroller.cxx
+++ b/framework/source/uielement/recentfilesmenucontroller.cxx
@@ -206,7 +206,7 @@ void RecentFilesMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >
else
{
// In all other URLs show the protocol name before the file name
- aMenuTitle = aURL.GetSchemeName(aURL.GetProtocol()) + ": " + aURL.getName();
+ aMenuTitle = INetURLObject::GetSchemeName(aURL.GetProtocol()) + ": " + aURL.getName();
}
aMenuShortCut.append( aMenuTitle );