summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-07 08:13:29 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-07 08:13:29 +0200
commit0451703e2eff960c12443e2ab8d58b2d91754f3c (patch)
tree50739839c052c2e8af9b0e0ff968722ed9dc0fd7 /vcl/osx
parent5665259f2d7d696ce5e0566e367c7cf8420fe04d (diff)
loplugin:staticmethods
Change-Id: I13fe0b5b77d8d43639afa035f2db6e904cd998be
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/printaccessoryview.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/osx/printaccessoryview.mm b/vcl/osx/printaccessoryview.mm
index 3cfe816ce704..9c8f684c4275 100644
--- a/vcl/osx/printaccessoryview.mm
+++ b/vcl/osx/printaccessoryview.mm
@@ -166,14 +166,14 @@ public:
assert( SAL_N_ELEMENTS(SV_PRINT_NATIVE_STRINGS) >= 5 && "resources not found" );
}
- rtl::OUString getMoreString()
+ static rtl::OUString getMoreString()
{
return SAL_N_ELEMENTS(SV_PRINT_NATIVE_STRINGS) >= 4
? VclResId(SV_PRINT_NATIVE_STRINGS[3])
: OUString("More");
}
- rtl::OUString getPrintSelectionString()
+ static rtl::OUString getPrintSelectionString()
{
return SAL_N_ELEMENTS(SV_PRINT_NATIVE_STRINGS) >= 5
? VclResId(SV_PRINT_NATIVE_STRINGS[4])
@@ -1127,7 +1127,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
{
rtl::OUString aGroupTitle( aText );
if( aCtrlType == "Subgroup" )
- aGroupTitle = pControllerProperties->getMoreString();
+ aGroupTitle = ControllerProperties::getMoreString();
// set size of current parent
if( pCurParent )
@@ -1153,7 +1153,7 @@ static void addEdit( NSView* pCurParent, long& rCurX, long& rCurY, long nAttachO
if( bAddSelectionCheckBox )
{
addBool( pCurParent, nCurX, nCurY, 0,
- pControllerProperties->getPrintSelectionString(), bSelectionBoxEnabled,
+ ControllerProperties::getPrintSelectionString(), bSelectionBoxEnabled,
"PrintContent", bSelectionBoxChecked,
aRightColumn, pControllerProperties, pCtrlTarget );
bAddSelectionCheckBox = false;