summaryrefslogtreecommitdiff
path: root/sd/source/core/sdpage.cxx
diff options
context:
space:
mode:
authorVishv Brahmbhatt <vishvbrahmbhatt19@gmail.com>2013-08-15 18:44:00 +0530
committerThorsten Behrens <tbehrens@suse.com>2013-08-26 14:47:26 +0200
commit8a1ccacb5970a1f8daad4f0b0a2531a123130cad (patch)
tree4588e3488464b89d5f5694d4d5fe7335333dea87 /sd/source/core/sdpage.cxx
parent9b7a693eed2f6eb0e128d507510aaad36000e877 (diff)
Few name conventions changes.
Changed the name of attributes from "title-shape-relative-height" to "relative-height" & all others. Change-Id: I3010e8faf8a9bf347a7bec366449bbba77f0a69f
Diffstat (limited to 'sd/source/core/sdpage.cxx')
-rw-r--r--sd/source/core/sdpage.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/core/sdpage.cxx b/sd/source/core/sdpage.cxx
index 753b07e7ecb0..64dbefd31363 100644
--- a/sd/source/core/sdpage.cxx
+++ b/sd/source/core/sdpage.cxx
@@ -1317,19 +1317,19 @@ static void CalcAutoLayoutRectangles( SdPage& rPage,Rectangle* rRectangle ,const
{
Reference<XNamedNodeMap> presObjAttributes = presobj->getAttributes();
- Reference<XNode> presObjSizeHeight = presObjAttributes->getNamedItem("title-shape-relative-height");
+ Reference<XNode> presObjSizeHeight = presObjAttributes->getNamedItem("relative-height");
rtl::OUString sValue = presObjSizeHeight->getNodeValue();
propvalue[0] = sValue.toDouble();
- Reference<XNode> presObjSizeWidth = presObjAttributes->getNamedItem("title-shape-relative-width");
+ Reference<XNode> presObjSizeWidth = presObjAttributes->getNamedItem("relative-width");
sValue = presObjSizeWidth->getNodeValue();
propvalue[1] = sValue.toDouble();
- Reference<XNode> presObjPosX = presObjAttributes->getNamedItem("title-shape-relative-posX");
+ Reference<XNode> presObjPosX = presObjAttributes->getNamedItem("relative-posX");
sValue = presObjPosX->getNodeValue();
propvalue[2] = sValue.toDouble();
- Reference<XNode> presObjPosY = presObjAttributes->getNamedItem("title-shape-relative-posY");
+ Reference<XNode> presObjPosY = presObjAttributes->getNamedItem("relative-posY");
sValue = presObjPosY->getNodeValue();
propvalue[3] = sValue.toDouble();