diff options
Diffstat (limited to 'sw/source')
-rw-r--r-- | sw/source/ui/index/idxmrk.src | 6 | ||||
-rw-r--r-- | sw/source/ui/index/swuiidxmrk.cxx | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sw/source/ui/index/idxmrk.src b/sw/source/ui/index/idxmrk.src index 072fa46390c7..0519dbecc979 100644 --- a/sw/source/ui/index/idxmrk.src +++ b/sw/source/ui/index/idxmrk.src @@ -32,11 +32,9 @@ String STR_IDXMRK_INSERT Text [ en-US ] = "Insert Index Entry" ; }; -QueryBox DLG_CHANGE_AUTH_ENTRY +String STR_QUERY_CHANGE_AUTH_ENTRY { - BUTTONS = WB_YES_NO ; - DEFBUTTON = WB_DEF_NO ; - Message [ en-US ] = "The document already contains the bibliography entry but with different data. Do you want to adjust the existing entries?"; + Text [ en-US ] = "The document already contains the bibliography entry but with different data. Do you want to adjust the existing entries?"; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index 7d302395f980..eed951a970da 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -31,7 +31,6 @@ #include <com/sun/star/util/SearchFlags.hpp> #include <svl/stritem.hxx> #include <vcl/layout.hxx> -#include <vcl/msgbox.hxx> #include <sfx2/dispatch.hxx> #include <svl/eitem.hxx> #include <unotools/textsearch.hxx> @@ -1205,7 +1204,7 @@ IMPL_LINK_NOARG(SwAuthorMarkPane, InsertHdl) bDifferent |= m_sFields[i] != pEntry->GetAuthorField((ToxAuthorityField)i); if(bDifferent) { - QueryBox aQuery(&m_rDialog, SW_RES(DLG_CHANGE_AUTH_ENTRY)); + MessageDialog aQuery(&m_rDialog, SW_RES(STR_QUERY_CHANGE_AUTH_ENTRY), VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO); if(RET_YES != aQuery.Execute()) return 0; } |