summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/cmdid.h6
-rw-r--r--sw/source/core/unocore/unoframe.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h
index 33c287bec513..7802db719670 100644
--- a/sw/inc/cmdid.h
+++ b/sw/inc/cmdid.h
@@ -842,10 +842,10 @@ included in c-context files, so c++ style stuff will cause problems.
#define FN_UNO_COMPONENT (FN_EXTRA2 + 97)
#define FN_WORDCOUNT_DIALOG (FN_EXTRA2 + 98)
-#define FN_XFORMS_DESIGN_MODE (FN_EXTRA2 + 100)
+#define FN_XFORMS_DESIGN_MODE (FN_EXTRA2 + 99)
-#define FN_UNO_PARA_STYLE_CONDITIONS (FN_EXTRA2 + 101)
-#define FN_UNO_GRAPHIC (FN_EXTRA2 + 102)
+#define FN_UNO_PARA_STYLE_CONDITIONS (FN_EXTRA2 + 100)
+#define FN_UNO_GRAPHIC (FN_EXTRA2 + 101)
#define FN_UNO_REPLACEMENT_GRAPHIC_URL (FN_EXTRA2 + 102)
#define FN_UNO_CELL_ROW_SPAN (FN_EXTRA2 + 103)
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 2091ac628f0f..141dabfbe537 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -1211,10 +1211,10 @@ void SwXFrame::setPropertyValue(const :: OUString& rPropertyName, const :: uno::
if ( pOleNode )
{
- svt::EmbeddedObjectRef xObj = pOleNode->GetOLEObj().GetObject();
+ svt::EmbeddedObjectRef &rObj = pOleNode->GetOLEObj().GetObject();
::rtl::OUString aMediaType;
- xObj.SetGraphic( aGraphic, aMediaType );
+ rObj.SetGraphic( aGraphic, aMediaType );
}
}
}