summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
Diffstat (limited to 'framework')
-rw-r--r--framework/source/accelerators/moduleacceleratorconfiguration.cxx1
-rw-r--r--framework/source/dispatch/menudispatcher.cxx2
-rw-r--r--framework/source/fwe/xml/toolboxdocumenthandler.cxx1
-rw-r--r--framework/source/fwi/uielement/constitemcontainer.cxx1
-rw-r--r--framework/source/services/license.cxx4
-rw-r--r--framework/source/services/substitutepathvars.cxx3
-rw-r--r--framework/source/uielement/addonstoolbarmanager.cxx2
-rw-r--r--framework/source/uielement/fontsizemenucontroller.cxx1
-rw-r--r--framework/source/uielement/langselectionmenucontroller.cxx1
-rw-r--r--framework/source/uielement/statusbarmanager.cxx3
-rw-r--r--framework/source/uielement/toolbarmanager.cxx2
11 files changed, 0 insertions, 21 deletions
diff --git a/framework/source/accelerators/moduleacceleratorconfiguration.cxx b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
index 7100685aa89a..dcdb2a4a3e4e 100644
--- a/framework/source/accelerators/moduleacceleratorconfiguration.cxx
+++ b/framework/source/accelerators/moduleacceleratorconfiguration.cxx
@@ -132,7 +132,6 @@ void ModuleAcceleratorConfiguration::impl_ts_fillCache()
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "framework", "Ocke.Janssen@sun.com", "ModuleAcceleratorConfiguration::impl_ts_fillCache" );
// SAFE -> ----------------------------------
ReadGuard aReadLock(m_aLock);
- ::rtl::OUString sModule = m_sModule;
m_sModuleCFG = m_sModule;
aReadLock.unlock();
// <- SAFE ----------------------------------
diff --git a/framework/source/dispatch/menudispatcher.cxx b/framework/source/dispatch/menudispatcher.cxx
index 7a46065d6a18..f1f42624c85f 100644
--- a/framework/source/dispatch/menudispatcher.cxx
+++ b/framework/source/dispatch/menudispatcher.cxx
@@ -330,8 +330,6 @@ sal_Bool MenuDispatcher::impl_setMenuBar( MenuBar* pMenuBar, sal_Bool bMenuFromR
sal_uInt16 nPos = pMenuBar->GetItemPos( SLOTID_MDIWINDOWLIST );
if ( nPos != MENU_ITEM_NOTFOUND )
{
- OUString aNoContext;
-
uno::Reference< XModel > xModel;
uno::Reference< XController > xController( xFrame->getController(), UNO_QUERY );
diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
index 6a0e32b5e994..3ac73e238192 100644
--- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx
+++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
@@ -307,7 +307,6 @@ throw( SAXException, RuntimeException )
throw SAXException( aErrorMessage, Reference< XInterface >(), Any() );
}
- ::rtl::OUString aAttribute;
sal_Bool bAttributeURL = sal_False;
m_bToolBarItemStartFound = sal_True;
diff --git a/framework/source/fwi/uielement/constitemcontainer.cxx b/framework/source/fwi/uielement/constitemcontainer.cxx
index 070799e371ff..414f0aba7ff8 100644
--- a/framework/source/fwi/uielement/constitemcontainer.cxx
+++ b/framework/source/fwi/uielement/constitemcontainer.cxx
@@ -163,7 +163,6 @@ ConstItemContainer::ConstItemContainer( const Reference< XIndexAccess >& rSource
Reference< XPropertySet > xPropSet( rSourceContainer, UNO_QUERY );
if ( xPropSet.is() )
{
- rtl::OUString aUIName;
xPropSet->getPropertyValue( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "UIName" ))) >>= m_aUIName;
}
}
diff --git a/framework/source/services/license.cxx b/framework/source/services/license.cxx
index fdf60e270349..a8cbc53a082b 100644
--- a/framework/source/services/license.cxx
+++ b/framework/source/services/license.cxx
@@ -209,9 +209,6 @@ static sal_Bool _parseDateTime(const ::rtl::OUString& aString, DateTime& aDateTi
sal_Int32 nDateLength = 10;
sal_Int32 nTimeLength = 8;
- ::rtl::OUString aDateTimeSep(RTL_CONSTASCII_USTRINGPARAM("T"));
- ::rtl::OUString aDateSep(RTL_CONSTASCII_USTRINGPARAM("-"));
- ::rtl::OUString aTimeSep(RTL_CONSTASCII_USTRINGPARAM(":"));
::rtl::OUString aUTCString(RTL_CONSTASCII_USTRINGPARAM("Z"));
::rtl::OUString aDateString = aDateTimeString.copy(0, nDateLength);
@@ -296,7 +293,6 @@ css::uno::Any SAL_CALL License::execute(const css::uno::Sequence< css::beans::Na
// open org.openoffice.Setup/Office/ooLicenseAcceptDate
::rtl::OUString sConfigSrvc = SERVICENAME_CFGPROVIDER;
::rtl::OUString sAccessSrvc(RTL_CONSTASCII_USTRINGPARAM("com.sun.star.configuration.ConfigurationUpdateAccess"));
- ::rtl::OUString sReadSrvc = SERVICENAME_CFGREADACCESS;
// get configuration provider
Reference< XMultiServiceFactory > theConfigProvider = Reference< XMultiServiceFactory >(
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index b96bb715b87a..42f27f7b1f96 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -1173,10 +1173,7 @@ void SubstitutePathVariables::SetPredefinedPathVariables( PredefinedPathVariable
aPreDefPathVariables.m_FixedVar[PREDEFVAR_BRANDBASEURL]);
Any aAny;
- ::rtl::OUString aOfficePath;
- ::rtl::OUString aUserPath;
::rtl::OUString aTmp;
- ::rtl::OUString aTmp2;
String aResult;
// Get inspath and userpath from bootstrap mechanism in every case as file URL
diff --git a/framework/source/uielement/addonstoolbarmanager.cxx b/framework/source/uielement/addonstoolbarmanager.cxx
index 4f698299e820..d006d140908f 100644
--- a/framework/source/uielement/addonstoolbarmanager.cxx
+++ b/framework/source/uielement/addonstoolbarmanager.cxx
@@ -258,8 +258,6 @@ void AddonsToolBarManager::FillToolbar( const Sequence< Sequence< PropertyValue
Reference< XWindow > xToolbarWindow = VCLUnoHelper::GetInterface( m_pToolBar );
for ( sal_uInt32 n = 0; n < (sal_uInt32)rAddonToolbar.getLength(); n++ )
{
- rtl::OUString aValueName;
-
rtl::OUString aURL;
rtl::OUString aTitle;
rtl::OUString aImageId;
diff --git a/framework/source/uielement/fontsizemenucontroller.cxx b/framework/source/uielement/fontsizemenucontroller.cxx
index c71ace37ec4c..f9bbc8500dc7 100644
--- a/framework/source/uielement/fontsizemenucontroller.cxx
+++ b/framework/source/uielement/fontsizemenucontroller.cxx
@@ -192,7 +192,6 @@ void FontSizeMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu >& r
// first insert font size names (for simplified/traditional chinese)
float fPoint;
- rtl::OUString aHeightString;
FontSizeNames aFontSizeNames( Application::GetSettings().GetUILanguage() );
m_pHeightArray = new long[nSizeCount+aFontSizeNames.Count()];
rtl::OUString aCommand;
diff --git a/framework/source/uielement/langselectionmenucontroller.cxx b/framework/source/uielement/langselectionmenucontroller.cxx
index f0917fb8e9da..9d1cd2ac76d7 100644
--- a/framework/source/uielement/langselectionmenucontroller.cxx
+++ b/framework/source/uielement/langselectionmenucontroller.cxx
@@ -134,7 +134,6 @@ void SAL_CALL LanguageSelectionMenuController::statusChanged( const FeatureState
m_bShowMenu = sal_True;
m_nScriptType = LS_SCRIPT_LATIN | LS_SCRIPT_ASIAN | LS_SCRIPT_COMPLEX; //set the default value
- OUString aStrValue;
Sequence< OUString > aSeq;
if ( Event.State >>= aSeq )
diff --git a/framework/source/uielement/statusbarmanager.cxx b/framework/source/uielement/statusbarmanager.cxx
index 9afe6d95e7ca..f726f32d2a40 100644
--- a/framework/source/uielement/statusbarmanager.cxx
+++ b/framework/source/uielement/statusbarmanager.cxx
@@ -71,8 +71,6 @@
using namespace ::com::sun::star;
namespace css = ::com::sun::star;
-static const char HELPID_PREFIX[] = "helpid:";
-
// Property names of a menu/menu item ItemDescriptor
static const char ITEM_DESCRIPTOR_COMMANDURL[] = "CommandURL";
static const char ITEM_DESCRIPTOR_HELPURL[] = "HelpURL";
@@ -463,7 +461,6 @@ void StatusBarManager::FillStatusBar( const uno::Reference< container::XIndexAcc
return;
sal_uInt16 nId( 1 );
- rtl::OUString aHelpIdPrefix( RTL_CONSTASCII_USTRINGPARAM( HELPID_PREFIX ));
RemoveControllers();
diff --git a/framework/source/uielement/toolbarmanager.cxx b/framework/source/uielement/toolbarmanager.cxx
index e3e595051d68..874eca876029 100644
--- a/framework/source/uielement/toolbarmanager.cxx
+++ b/framework/source/uielement/toolbarmanager.cxx
@@ -130,7 +130,6 @@ static const sal_Int32 ITEM_DESCRIPTOR_VISIBLE_LEN = RTL_CONSTASCII_LENGTH(I
static const sal_Int32 ITEM_DESCRIPTOR_WIDTH_LEN = RTL_CONSTASCII_LENGTH(ITEM_DESCRIPTOR_WIDTH);
static const sal_Int32 ITEM_DESCRIPTOR_STYLE_LEN = RTL_CONSTASCII_LENGTH(ITEM_DESCRIPTOR_STYLE);
-static const char HELPID_PREFIX[] = "helpid:";
static const char HELPID_PREFIX_TESTTOOL[] = ".HelpId:";
static const sal_uInt16 STARTID_CUSTOMIZE_POPUPMENU = 1000;
@@ -1209,7 +1208,6 @@ void ToolBarManager::FillToolbar( const Reference< XIndexAccess >& rItemContaine
return;
sal_uInt16 nId( 1 );
- ::rtl::OUString aHelpIdPrefix( RTL_CONSTASCII_USTRINGPARAM( HELPID_PREFIX ));
Reference< XModuleManager > xModuleManager( Reference< XModuleManager >(
m_xServiceManager->createInstance( SERVICENAME_MODULEMANAGER ), UNO_QUERY ));