summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/unotools.cxx6
-rw-r--r--sw/source/uibase/utlui/unotools.src11
2 files changed, 6 insertions, 11 deletions
diff --git a/sw/source/uibase/utlui/unotools.cxx b/sw/source/uibase/utlui/unotools.cxx
index a23774cc862f..4a89a65a9229 100644
--- a/sw/source/uibase/utlui/unotools.cxx
+++ b/sw/source/uibase/utlui/unotools.cxx
@@ -550,11 +550,9 @@ void SwFrameCtrlWindow::Resize()
pExampleFrame->ClearDocument();
}
-MenuResource::MenuResource(const ResId& rResId) :
- Resource(rResId),
- aMenuArray(ResId(1,*rResId.GetResMgr()))
+MenuResource::MenuResource(const ResId& rResId)
+ : aMenuArray(rResId)
{
- FreeResource();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/uibase/utlui/unotools.src b/sw/source/uibase/utlui/unotools.src
index 0bd6b2108226..0ae74dd0b6da 100644
--- a/sw/source/uibase/utlui/unotools.src
+++ b/sw/source/uibase/utlui/unotools.src
@@ -26,16 +26,13 @@ String STR_SERVICE_UNAVAILABLE
Text [ en-US ] = "The following service is not available: ";
};
-Resource RES_FRMEX_MENU
+StringArray RES_FRMEX_MENU
{
- StringArray 1
- {
ItemList [ en-US ] =
{
- < "~Zoom" ; ST_MENU_ZOOM; > ;
- < "~Upwards" ; ST_MENU_UP; > ;
- < "Do~wnwards" ; ST_MENU_DOWN; > ;
- };
+ < "~Zoom" ; ST_MENU_ZOOM; > ;
+ < "~Upwards" ; ST_MENU_UP; > ;
+ < "Do~wnwards" ; ST_MENU_DOWN; > ;
};
};