[Libreoffice-commits] .: cui/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Tue Jan 29 15:39:39 PST 2013
cui/source/options/optcolor.cxx | 2 +-
cui/source/options/optpath.cxx | 2 +-
cui/source/options/treeopt.cxx | 1 -
cui/source/tabpages/autocdlg.cxx | 1 -
cui/source/tabpages/macroass.cxx | 1 -
cui/source/tabpages/numfmt.cxx | 1 -
cui/source/tabpages/paragrph.cxx | 1 -
7 files changed, 2 insertions(+), 7 deletions(-)
New commits:
commit d210827c83e78fd0dbf6bd00828e29ac31b41abd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Jan 29 23:38:54 2013 +0000
loplugin: remove some unused strings, etc.
Change-Id: Ic18ca82a49ec346240a667462e73184694ce8feb
diff --git a/cui/source/options/optcolor.cxx b/cui/source/options/optcolor.cxx
index 67d2fa8..168a46f 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 577eb29..769e7be 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 78646f1..61445c9 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 b64619f..42ece11 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 cfa9c8b..60df619 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 0969da7..9b21749 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 6f99231..693012c 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 );
More information about the Libreoffice-commits
mailing list