summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-01-29 23:38:54 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-01-29 23:39:10 +0000
commitd210827c83e78fd0dbf6bd00828e29ac31b41abd (patch)
tree0ef715eb66faedbe5a69df4bf0495e66f85d853e /cui
parentbnc#484599: Prevent pivot table from getting sheared when cells are shifted. (diff)
downloadcore-d210827c83e78fd0dbf6bd00828e29ac31b41abd.tar.gz
core-d210827c83e78fd0dbf6bd00828e29ac31b41abd.zip
loplugin: remove some unused strings, etc.
Change-Id: Ic18ca82a49ec346240a667462e73184694ce8feb
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optcolor.cxx2
-rw-r--r--cui/source/options/optpath.cxx2
-rw-r--r--cui/source/options/treeopt.cxx1
-rw-r--r--cui/source/tabpages/autocdlg.cxx1
-rw-r--r--cui/source/tabpages/macroass.cxx1
-rw-r--r--cui/source/tabpages/numfmt.cxx1
-rw-r--r--cui/source/tabpages/paragrph.cxx1
7 files changed, 2 insertions, 7 deletions
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index 67d2fa8fc08b..168a46ff5fac 100644
--- a/cui/source/options/optcolor.cxx
+++ b/cui/source/options/optcolor.cxx
@@ -57,7 +57,7 @@ enum Group
};
// group data
-const char* vGroupNames[]
+const char* vGroupNames[] =
{
// the groups are in the same order as in enum Group above
"general",
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 577eb297967b..769e7be2cabd 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -829,7 +829,7 @@ void SvxPathTabPage::SetPathList(
}
catch( const Exception& e )
{
- SAL_WARN("cui", "caught: " << e.Message);
+ SAL_WARN("cui.tabpages", "caught: " << e.Message);
}
}
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 78646f103902..61445c94bfd4 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -1531,7 +1531,6 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame )
setGroupName( "ProductName", rGeneralArray.GetString(0) );
nGroup = AddGroup( rGeneralArray.GetString(0), 0, 0, SID_GENERAL_OPTIONS );
sal_uInt16 nEnd = static_cast< sal_uInt16 >( rGeneralArray.Count() );
- String sPageTitle;
for ( i = 1; i < nEnd; ++i )
{
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx
index b64619feacd1..42ece11a950d 100644
--- a/cui/source/tabpages/autocdlg.cxx
+++ b/cui/source/tabpages/autocdlg.cxx
@@ -2438,7 +2438,6 @@ void OfaSmartTagOptionsTabPage::FillListBox( const SmartTagMgr& rSmartTagMgr )
uno::Reference< smarttags::XSmartTagRecognizer > xRec = rSmartTagMgr.GetRecognizer(i);
const rtl::OUString aName = xRec->getName( aLocale );
- const rtl::OUString aDesc = xRec->getDescription( aLocale );
const sal_Int32 nNumberOfSupportedSmartTags = xRec->getSmartTagCount();
for ( sal_Int32 j = 0; j < nNumberOfSupportedSmartTags; ++j )
diff --git a/cui/source/tabpages/macroass.cxx b/cui/source/tabpages/macroass.cxx
index cfa9c8b66fac..60df6197415b 100644
--- a/cui/source/tabpages/macroass.cxx
+++ b/cui/source/tabpages/macroass.cxx
@@ -299,7 +299,6 @@ IMPL_STATIC_LINK( _SfxMacroTabPage, SelectEvent_Impl, SvTabListBox*, EMPTYARG )
IMPL_STATIC_LINK( _SfxMacroTabPage, SelectGroup_Impl, ListBox*, EMPTYARG )
{
_SfxMacroTabPage_Impl* pImpl = pThis->mpImpl;
- String sSel( pImpl->pGroupLB->GetGroup() );
pImpl->pGroupLB->GroupSelected();
const String sScriptURI = pImpl->pMacroLB->GetSelectedScriptURI();
String aLabelText;
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 0969da75a600..9b217496f6ff 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -806,7 +806,6 @@ void SvxNumberFormatTabPage::FillFormatListBox_Impl( std::vector<String*>& rEntr
{
String* pEntry;
String aTmpString;
- String aTmpCatString;
Font aFont=m_pLbCategory->GetFont();
size_t i = 0;
short nTmpCatPos;
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 6f992318f2de..693012ce9b5e 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -422,7 +422,6 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet& rSet )
{
SfxItemPool* pPool = rSet.GetPool();
DBG_ASSERT( pPool, "Wo ist der Pool?" );
- String aEmpty;
// adjust metric
FieldUnit eFUnit = GetModuleFieldUnit( rSet );