summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-01 12:17:33 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-01 15:21:55 +0100
commita5ef12f38f1873e843fa98b20ce83fc7fa0311ef (patch)
treed03805aaafed79bd01f24a37ce905acd03e99493 /svtools
parentuse tunnel pattern here (diff)
downloadcore-a5ef12f38f1873e843fa98b20ce83fc7fa0311ef.tar.gz
core-a5ef12f38f1873e843fa98b20ce83fc7fa0311ef.zip
overly static
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/optionsdrawinglayer.cxx6
-rw-r--r--svtools/source/contnr/fileview.cxx4
-rw-r--r--svtools/source/contnr/svtabbx.cxx4
3 files changed, 7 insertions, 7 deletions
diff --git a/svtools/source/config/optionsdrawinglayer.cxx b/svtools/source/config/optionsdrawinglayer.cxx
index 405891696421..410c430810b2 100644
--- a/svtools/source/config/optionsdrawinglayer.cxx
+++ b/svtools/source/config/optionsdrawinglayer.cxx
@@ -1188,8 +1188,8 @@ sal_uInt16 SvtOptionsDrawinglayer_Impl::GetSelectionMaximumLuminancePercent() co
//*****************************************************************************************************************
Sequence< OUString > SvtOptionsDrawinglayer_Impl::impl_GetPropertyNames()
{
- // Build static list of configuration key names.
- static const OUString pProperties[] =
+ // Build list of configuration key names.
+ const OUString pProperties[] =
{
PROPERTYNAME_OVERLAYBUFFER ,
PROPERTYNAME_PAINTBUFFER ,
@@ -1231,7 +1231,7 @@ Sequence< OUString > SvtOptionsDrawinglayer_Impl::impl_GetPropertyNames()
};
// Initialize return sequence with these list ...
- static const Sequence< OUString > seqPropertyNames( pProperties, PROPERTYCOUNT );
+ const Sequence< OUString > seqPropertyNames( pProperties, PROPERTYCOUNT );
// ... and return it.
return seqPropertyNames;
}
diff --git a/svtools/source/contnr/fileview.cxx b/svtools/source/contnr/fileview.cxx
index 1cdf90c2a82a..09401d9e5387 100644
--- a/svtools/source/contnr/fileview.cxx
+++ b/svtools/source/contnr/fileview.cxx
@@ -1164,8 +1164,8 @@ sal_Bool ViewTabListBox_Impl::DoubleClickHdl()
SvtContentEntry* pData = (SvtContentEntry*)pEntry->GetUserData();
if ( pData )
{
- static const String sVar1( RTL_CONSTASCII_USTRINGPARAM( "%1" ) );
- static const String sVar2( RTL_CONSTASCII_USTRINGPARAM( "%2" ) );
+ const String sVar1( RTL_CONSTASCII_USTRINGPARAM( "%1" ) );
+ const String sVar2( RTL_CONSTASCII_USTRINGPARAM( "%2" ) );
String aText( msAccessibleDescText );
aText.SearchAndReplace( sVar1, pData->mbIsFolder ? msFolder : msFile );
aText.SearchAndReplace( sVar2, pData->maURL );
diff --git a/svtools/source/contnr/svtabbx.cxx b/svtools/source/contnr/svtabbx.cxx
index 4b1c00e4c873..ada81843f43d 100644
--- a/svtools/source/contnr/svtabbx.cxx
+++ b/svtools/source/contnr/svtabbx.cxx
@@ -1126,8 +1126,8 @@ sal_Bool SvHeaderTabListBox::ConvertPointToColumnHeader( sal_uInt16&, const Poin
if( _eType == ::svt::BBTYPE_TABLECELL && _nPos != -1 )
{
- static const String sVar1( RTL_CONSTASCII_USTRINGPARAM( "%1" ) );
- static const String sVar2( RTL_CONSTASCII_USTRINGPARAM( "%2" ) );
+ const String sVar1( RTL_CONSTASCII_USTRINGPARAM( "%1" ) );
+ const String sVar2( RTL_CONSTASCII_USTRINGPARAM( "%2" ) );
sal_uInt16 nColumnCount = GetColumnCount();
if (nColumnCount > 0)