summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/ControllerFactory.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-11-12 09:33:27 +0200
committerNoel Grandin <noel@peralex.com>2013-11-13 09:08:08 +0200
commit9c5a91efdb41cd340936846169da130d855a335a (patch)
treeb7a10f7682a9e85c3ff8bdf56549166439b3a429 /sfx2/source/sidebar/ControllerFactory.cxx
parent74816814a2c03ab5305e47c6d1f6e04f6918d946 (diff)
expand out the A2S macro
Which is not doing anything useful anymore. Change-Id: I83422e811d52a77b65655924c07b55dd7229449c
Diffstat (limited to 'sfx2/source/sidebar/ControllerFactory.cxx')
-rw-r--r--sfx2/source/sidebar/ControllerFactory.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/sfx2/source/sidebar/ControllerFactory.cxx b/sfx2/source/sidebar/ControllerFactory.cxx
index 57fe4a38ab7c..90e202ca9232 100644
--- a/sfx2/source/sidebar/ControllerFactory.cxx
+++ b/sfx2/source/sidebar/ControllerFactory.cxx
@@ -84,15 +84,15 @@ Reference<frame::XToolbarController> ControllerFactory::CreateToolBoxController(
beans::PropertyValue aPropValue;
std::vector<Any> aPropertyVector;
- aPropValue.Name = A2S("Frame");
+ aPropValue.Name = "Frame";
aPropValue.Value <<= rxFrame;
aPropertyVector.push_back(makeAny(aPropValue));
- aPropValue.Name = A2S("ServiceManager");
+ aPropValue.Name = "ServiceManager";
aPropValue.Value <<= ::comphelper::getProcessServiceFactory();
aPropertyVector.push_back(makeAny(aPropValue));
- aPropValue.Name = A2S("CommandURL");
+ aPropValue.Name = "CommandURL";
aPropValue.Value <<= rsCommandName;
aPropertyVector.push_back(makeAny(aPropValue));
@@ -155,25 +155,25 @@ Reference<frame::XToolbarController> ControllerFactory::CreateToolBarController(
beans::PropertyValue aPropValue;
std::vector<Any> aPropertyVector;
- aPropValue.Name = A2S("ModuleIdentifier");
+ aPropValue.Name = "ModuleIdentifier";
aPropValue.Value <<= sModuleName;
aPropertyVector.push_back( makeAny( aPropValue ));
- aPropValue.Name = A2S("Frame");
+ aPropValue.Name = "Frame";
aPropValue.Value <<= rxFrame;
aPropertyVector.push_back( makeAny( aPropValue ));
- aPropValue.Name = A2S("ServiceManager");
+ aPropValue.Name = "ServiceManager";
aPropValue.Value <<= comphelper::getProcessServiceFactory();
aPropertyVector.push_back( makeAny( aPropValue ));
- aPropValue.Name = A2S("ParentWindow");
+ aPropValue.Name = "ParentWindow";
aPropValue.Value <<= VCLUnoHelper::GetInterface(pToolBox);
aPropertyVector.push_back( makeAny( aPropValue ));
if (nWidth > 0)
{
- aPropValue.Name = A2S("Width");
+ aPropValue.Name = "Width";
aPropValue.Value <<= nWidth;
aPropertyVector.push_back( makeAny( aPropValue ));
}