summaryrefslogtreecommitdiff
path: root/sc/source/ui/dbgui/filtdlg.cxx
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-17 19:01:37 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-17 17:35:21 +0000
commit92ddd584f1b8777932d86e26120977b9b66af8a4 (patch)
treef3f8eb4d08a3b0fa5d9b29c749aedad5b65cc1bb /sc/source/ui/dbgui/filtdlg.cxx
parent2f3dcc44cecf34e00bf7bfc48640915ac87e29b5 (diff)
remove define for ERRORBOX
Change-Id: I6b5695fb36143b36d72b4c7a4b072d41d94f6501 Reviewed-on: https://gerrit.libreoffice.org/24167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'sc/source/ui/dbgui/filtdlg.cxx')
-rw-r--r--sc/source/ui/dbgui/filtdlg.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sc/source/ui/dbgui/filtdlg.cxx b/sc/source/ui/dbgui/filtdlg.cxx
index b34041a039e4..01b29e6b74b4 100644
--- a/sc/source/ui/dbgui/filtdlg.cxx
+++ b/sc/source/ui/dbgui/filtdlg.cxx
@@ -43,8 +43,6 @@
#include <limits>
-#define ERRORBOX(rid) ScopedVclPtrInstance<MessageDialog>::Create(this, ScGlobal::GetRscString(rid))->Execute()
-
#define QUERY_ENTRY_COUNT 4
#define INVALID_HEADER_POS std::numeric_limits<size_t>::max()
@@ -719,7 +717,7 @@ IMPL_LINK_TYPED( ScFilterDlg, EndDlgHdl, Button*, pBtn, void )
if (!pExpander->get_expanded())
pExpander->set_expanded(true);
- ERRORBOX( STR_INVALID_TABREF );
+ ScopedVclPtrInstance<MessageDialog>::Create(this, ScGlobal::GetRscString(STR_INVALID_TABREF))->Execute();
pEdCopyArea->GrabFocus();
bAreaInputOk = false;
}